public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pogo] rawhide: spec cleanup and modernization
@ 2026-06-10  6:45 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-10  6:45 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-10  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10  6:45 [rpms/pogo] rawhide: spec cleanup and modernization Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox