public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/pogo] rawhide: spec cleanup and modernization
Date: Wed, 10 Jun 2026 06:45:48 GMT	[thread overview]
Message-ID: <178107394850.1.13539992023622135284.rpms-pogo-f5f075a6a776@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/pogo
            Branch : rawhide
            Commit : f5f075a6a77641195cf1d29f1ded005ce3271353
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-10T03:21:33-03:00
            Stats  : +38/-41 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/pogo/c/f5f075a6a77641195cf1d29f1ded005ce3271353?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index 050f94b..66154f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1 @@
-/pogo-0.5.tar.gz
-/pogo-0.6.tar.gz
-/pogo-0.7.tar.gz
-/pogo-0.8.tar.gz
-/pogo-0.8.1.tar.gz
-/pogo-0.8.2.tar.gz
-/pogo-0.8.3.tar.gz
-/pogo-0.8.4.tar.gz
-/pogo-0.9.2.tar.gz
-/pogo-1.0.tar.gz
-/pogo-1.0.1.tar.gz
+/pogo-*.tar.gz

diff --git a/pogo.spec b/pogo.spec
index e072363..8c33f49 100644
--- a/pogo.spec
+++ b/pogo.spec
@@ -1,32 +1,34 @@
-Name:		pogo
-Version:	1.0.1
-Release:	%autorelease
-Summary:	Probably the simplest and fastest audio player for Linux
-Summary(de):	Möglicherweise der einfachste und schnellste Audioplayer für Linux
+Name:           pogo
+Version:        1.0.1
+Release:        %autorelease
+Summary:        Probably the simplest and fastest audio player for Linux
+Summary(de):    Möglicherweise der einfachste und schnellste Audioplayer für Linux
 
-# Automatically converted from old format: GPLv2+ - review is highly recommended.
-License:	GPL-2.0-or-later
-URL:		https://github.com/jendrikseipp/pogo
-Source0:	https://github.com/jendrikseipp/%{name}/archive/%{name}-%{version}.tar.gz
-BuildArch:	noarch
-BuildRequires: make
-BuildRequires:	intltool
-BuildRequires:	desktop-file-utils
-BuildRequires:	python3-devel
-BuildRequires:	libappstream-glib
-Requires:	python3-dbus
-Requires:	python3-mutagen
-Requires:	python3-pillow
-Requires:	python3-inotify
-Requires:	python3-gobject
-Requires:	python3-gstreamer1
-Obsoletes: pogo < %{version}
-Obsoletes: pogo-zeitgeist < %{version}
+License:        GPL-2.0-or-later
+URL:            https://github.com/jendrikseipp/pogo
+Source:         https://github.com/jendrikseipp/%{name}/archive/%{name}-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  intltool
+BuildRequires:  libappstream-glib
+BuildRequires:  make
+BuildRequires:  python3-devel
+
+Requires:       python3-dbus
+Requires:       python3-gobject
+Requires:       python3-gstreamer1
+Requires:       python3-inotify
+Requires:       python3-mutagen
+Requires:       python3-pillow
+
+Provides:       pogo-zeitgeist = %{version}-%{release}
+Obsoletes:      pogo-zeitgeist < %{version}
 
 %description
 Pogo's elementary-inspired design uses the screen-space very efficiently. It is
 especially well-suited for people who organize their music by albums on the
-harddrive. The main interface components are a directory tree and a playlist
+hard drive. The main interface components are a directory tree and a playlist
 that groups albums in an innovative way.
 Pogo is a fork of Decibel Audio Player.
 
@@ -40,6 +42,8 @@ Pogo ist ein Fork des Decibel Audio Players.
 
 %prep
 %autosetup
+# Remove shebang from __main__.py
+sed -i '1{/^#!/d}' pogo/__main__.py
 
 %build
 #nothing to build
@@ -48,20 +52,23 @@ Pogo ist ein Fork des Decibel Audio Players.
 %make_install
 
 %find_lang %{name}
-desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
 
-#AppData
-install -D -p -m644 %{name}.appdata.xml %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
+# AppData / MetaInfo
+install -D -p -m644 %{name}.appdata.xml %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
 
 %files -f %{name}.lang
+%license LICENSE.txt
+%doc README.md NEWS.md
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/%{name}/
 %{_datadir}/pixmaps/%{name}.png
-%{_datadir}/appdata/%{name}.appdata.xml
+%{_metainfodir}/%{name}.metainfo.xml
 %{_mandir}/man1/%{name}.1.*
 
-
 %changelog
 %autochangelog

                 reply	other threads:[~2026-06-10  6:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178107394850.1.13539992023622135284.rpms-pogo-f5f075a6a776@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox