rpms/phonon/devel .cvsignore, 1.4, 1.5 phonon.spec, 1.10, 1.11 sources, 1.4, 1.5

Than Ngo than at fedoraproject.org
Tue Sep 30 14:05:42 UTC 2008


Author: than

Update of /cvs/extras/rpms/phonon/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28239

Modified Files:
	.cvsignore phonon.spec sources 
Log Message:
add missing icon



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/phonon/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	23 Jul 2008 12:26:06 -0000	1.4
+++ .cvsignore	30 Sep 2008 14:05:11 -0000	1.5
@@ -1 +1,2 @@
 phonon-4.2.0.tar.bz2
+gstreamer-logo.svg


Index: phonon.spec
===================================================================
RCS file: /cvs/extras/rpms/phonon/devel/phonon.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- phonon.spec	17 Sep 2008 17:44:58 -0000	1.10
+++ phonon.spec	30 Sep 2008 14:05:11 -0000	1.11
@@ -2,12 +2,13 @@
 Summary: Multimedia framework api
 Name:    phonon 
 Version: 4.2.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 Group:   System Environment/Libraries
 License: LGPLv2+
 URL:     http://phonon.kde.org/
 Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/%{version}/phonon-%{version}.tar.bz2
+Source1: http://gstreamer.freedesktop.org/data/images/artwork/gstreamer-logo.svg
 # Make PulseAudio the default again when listed by the backend.
 # Note that this currently only works for the Xine backend. Device selection in
 # the GStreamer backend is weird: there is a setting for "sink" which cannot be
@@ -25,6 +26,7 @@
 BuildRequires: kde-filesystem
 BuildRequires: libxml2-devel
 BuildRequires: qt4-devel >= 4.4.0
+BuildRequires: ImageMagick
 
 ## hard-code phonon-backend-xine, for now, so yum doesn't choose -gstreamer by default
 Requires: phonon-backend-xine
@@ -40,6 +42,8 @@
 Provides: phonon-backend = %{version}-%{release}
 Obsoletes: %{name}-backend-gst < 4.2.0-4
 Provides:  %{name}-backend-gst = %{version}-%{release}
+Requires(post): xdg-utils
+Requires(postun): xdg-utils
 %description backend-gstreamer
 %{summary}.
 
@@ -72,6 +76,12 @@
 
 make install DESTDIR=%{buildroot} -C %{_target_platform}
 
+install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}-gstreamer.svg
+for i in 16 22 32 48 64 128; do
+  mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
+  convert -geometry ${i}x${i}  %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}-gstreamer.png
+done
+
 
 
 %clean
@@ -82,6 +92,11 @@
 
 %postun -p /sbin/ldconfig
 
+%post -n %{name}-backend-gstreamer
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+
+%postun -n %{name}-backend-gstreamer
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 
 %files
 %defattr(-,root,root,-)
@@ -96,6 +111,8 @@
 %defattr(-,root,root,-)
 %{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
 %{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop
+%_datadir/icons/hicolor/*/*/*.png
+%_datadir/icons/hicolor/*/*/*.svg
 
 %files devel
 %defattr(-,root,root,-)
@@ -107,6 +124,9 @@
 
 
 %changelog
+* Tue Sep 30 2008 Than Ngo <than at redhat.com> 4.2.0-6
+- add missing icon
+
 * Wed Sep 17 2008 Rex Dieter <rdieter at fedoraproject.org> 4.2.0-5
 - Requires: phonon-backend-xine
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/phonon/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	23 Jul 2008 12:26:06 -0000	1.4
+++ sources	30 Sep 2008 14:05:12 -0000	1.5
@@ -1 +1,2 @@
 de80b0f055886a6946acc7886713e23e  phonon-4.2.0.tar.bz2
+8e3924f417fea67f72b2105faed2119c  gstreamer-logo.svg




More information about the fedora-extras-commits mailing list