[packages/gingerblue] - updated to 0.2.0 - removed obsolete pc patch

qboosh qboosh at pld-linux.org
Wed Jul 29 18:35:53 CEST 2020


commit ab0eecabf46d42a1dc0c7698c54c1ae589723c26
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 29 18:37:40 2020 +0200

    - updated to 0.2.0
    - removed obsolete pc patch

 gingerblue-pc.patch | 17 -----------------
 gingerblue.spec     | 22 +++++++++++++++++-----
 2 files changed, 17 insertions(+), 22 deletions(-)
---
diff --git a/gingerblue.spec b/gingerblue.spec
index e91ff97..9800811 100644
--- a/gingerblue.spec
+++ b/gingerblue.spec
@@ -1,13 +1,12 @@
 Summary:	Free Music Software for GNOME
 Summary(pl.UTF-8):	Wolnodostępne oprogramowanie muzyczne dla GNOME
 Name:		gingerblue
-Version:	0.1.1
+Version:	0.2.0
 Release:	1
 License:	GPL v3
 Group:		X11/Applications
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gingerblue/0.1/%{name}-%{version}.tar.xz
-# Source0-md5:	0dbd1205c82a4c60cbcf84b5f4ad539a
-Patch0:		%{name}-pc.patch
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gingerblue/0.2/%{name}-%{version}.tar.xz
+# Source0-md5:	97be0e10463c3f48370797a95eaebdaa
 URL:		https://wiki.gnome.org/Apps/Gingerblue
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake >= 1:1.11
@@ -26,12 +25,15 @@ BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.596
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	gtk-update-icon-cache
 Requires:	geocode-glib >= 3.20
 Requires:	glib2 >= 1:2.38.0
 Requires:	gstreamer-plugins-bad >= 1.0
 Requires:	gstreamer-plugins-base >= 1.0
 Requires:	gstreamer-plugins-good >= 1.0
 Requires:	gtk+3 >= 3.22.30
+Requires:	hicolor-icon-theme
 Requires:	libchamplain >= 0.12.10
 Requires:	pango >= 1:0.28
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,7 +50,6 @@ oryginalną muzykę w Internecie z poziomu środowiska GNOME.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__intltoolize}
@@ -74,8 +75,19 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database
+%update_icon_cache hicolor
+
 %files
 # -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/gingerblue
+%{_datadir}/metainfo/gingerblue.appdata.xml
+%{_desktopdir}/gingerblue.desktop
+%{_iconsdir}/hicolor/*x*/apps/gingerblue.png
diff --git a/gingerblue-pc.patch b/gingerblue-pc.patch
deleted file mode 100644
index cc5f907..0000000
--- a/gingerblue-pc.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gingerblue-0.1.1/configure.ac.orig	2018-12-31 23:08:21.000000000 +0100
-+++ gingerblue-0.1.1/configure.ac	2020-06-26 20:46:36.325982190 +0200
-@@ -26,13 +26,12 @@
- 		  gstreamer-player-1.0 >= 1.0 \
- 		  gstreamer-plugins-bad-1.0 \
-                   gstreamer-plugins-base-1.0 \
--                  gstreamer-plugins-good-1.0 \
- 		  gstreamer-tag-1.0 >= 1.0 \
-                   gstreamer-video-1.0 \
-                   gtk+-3.0 >= 3.22.30 \
-                   libxml-2.0 >= 2.0 \
-                   pangoft2 >= 0.28)
--GINGERBLUE_PKG_DEPS="champlain-gtk-0.12 geocode-glib-1.0 glib-2.0 gobject-2.0 gstreamer-1.0 gstreamer-player-1.0 gstreamer-plugins-bad-1.0 gstreamer-plugins-base-1.0 gstreamer-plugins-good-1.0 gstreamer-video-1.0 gtk+-3.0 libxml-2.0 pangoft2"
-+GINGERBLUE_PKG_DEPS="champlain-gtk-0.12 geocode-glib-1.0 glib-2.0 gobject-2.0 gstreamer-1.0 gstreamer-player-1.0 gstreamer-plugins-bad-1.0 gstreamer-plugins-base-1.0 gstreamer-video-1.0 gtk+-3.0 libxml-2.0 pangoft2"
- 
- AC_SUBST(GINGERBLUE_LIBS)
- AC_SUBST(GINGERBLUE_CFLAGS)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gingerblue.git/commitdiff/ab0eecabf46d42a1dc0c7698c54c1ae589723c26



More information about the pld-cvs-commit mailing list