rpms/phonon/F-9 .cvsignore, 1.3, 1.4 phonon.spec, 1.7, 1.8 sources, 1.4, 1.5 gstreamer-logo.svg, 1.1, NONE
Rex Dieter
rdieter at fedoraproject.org
Thu Jan 29 15:51:33 UTC 2009
Author: rdieter
Update of /cvs/pkgs/rpms/phonon/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19084
Modified Files:
.cvsignore phonon.spec sources
Removed Files:
gstreamer-logo.svg
Log Message:
* Thu Jan 29 2009 Rex Dietger <rdieter at fedoraproject.org> - 4.3.0-4
- Requires: phonon-backend >= %version
- move icons to hicolor theme and into -backend subpkgs
- BR: libxcb-devel
- move phonon-gstreamer.svg to sources
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/phonon/F-9/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 23 Jul 2008 13:13:31 -0000 1.3
+++ .cvsignore 29 Jan 2009 15:51:03 -0000 1.4
@@ -1 +1,2 @@
-phonon-4.2.0.tar.bz2
+gstreamer-logo.svg
+phonon-4.3.0.tar.bz2
Index: phonon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/phonon/F-9/phonon.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- phonon.spec 26 Jan 2009 11:10:18 -0000 1.7
+++ phonon.spec 29 Jan 2009 15:51:03 -0000 1.8
@@ -1,8 +1,7 @@
Summary: Multimedia framework api
Name: phonon
Version: 4.3.0
-Release: 2%{?dist}
-
+Release: 4%{?dist}
Group: System Environment/Libraries
License: LGPLv2+
URL: http://phonon.kde.org/
@@ -18,24 +17,22 @@
Patch1: phonon-4.2.96-xine-pulseaudio.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: automoc4
+BuildRequires: automoc4 >= 0.9.86
BuildRequires: cmake >= 2.6.0
BuildRequires: glib2-devel
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: ImageMagick
BuildRequires: kde-filesystem
+BuildRequires: libxcb-devel
BuildRequires: libxml2-devel
BuildRequires: pkgconfig
BuildRequires: qt4-devel >= 4.4.0
BuildRequires: xine-lib-devel
-Requires: phonon-backend
+Requires: phonon-backend >= %{version}
## hard-code phonon-backend-xine, if yum chooses -gstreamer by default
-#Requires(hint): phonon-backend-xine
-
-Requires(post): /sbin/ldconfig xdg-utils
-Requires(postun): /sbin/ldconfig xdg-utils
+#Requires(hint): phonon-backend-xine >= %{version}
%description
%{summary}.
@@ -44,6 +41,8 @@
Summary: Gstreamer phonon backend
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
+Requires(post): xdg-utils
+Requires(postun): xdg-utils
Provides: phonon-backend = %{version}-%{release}
Obsoletes: %{name}-backend-gst < 4.2.0-4
Provides: %{name}-backend-gst = %{version}-%{release}
@@ -54,6 +53,8 @@
Summary: xine phonon backend
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
+Requires(post): xdg-utils
+Requires(postun): xdg-utils
Provides: phonon-backend = %{version}-%{release}
%description backend-xine
%{summary}.
@@ -88,10 +89,15 @@
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
-install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}-gstreamer.svg
+# move the oxygen-only phonon-xine icons to hicolor
+test -d %{buildroot}%{_datadir}/icons/hicolor && exit 0
+mv %{buildroot}%{_datadir}/icons/oxygen \
+ %{buildroot}%{_datadir}/icons/hicolor
+
+install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/phonon-gstreamer.svg
for i in 16 22 32 48 64 128; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
- convert -background None -geometry ${i}x${i} %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}-gstreamer.png
+ convert -background None -geometry ${i}x${i} %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/phonon-gstreamer.png
done
@@ -99,23 +105,28 @@
rm -rf %{buildroot}
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post backend-xine
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+
+%postun backend-xine
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+
+%post backend-gstreamer
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
-xdg-icon-resource forceupdate --theme oxygen 2> /dev/null || :
-%postun
-/sbin/ldconfig
+%postun backend-gstreamer
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
-xdg-icon-resource forceupdate --theme oxygen 2> /dev/null || :
+
%files
%defattr(-,root,root,-)
%doc COPYING.LIB
%{_libdir}/libphonon*.so.4*
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
-%{_datadir}/icons/hicolor/*/*/*
-%{_datadir}/icons/oxygen/*/*/*
# kde4-specific dirs
%dir %{_kde4_libdir}/kde4/plugins/phonon_backend/
%dir %{_kde4_datadir}/kde4/services/phononbackends/
@@ -124,11 +135,13 @@
%defattr(-,root,root,-)
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
%{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop
+%{_datadir}/icons/hicolor/*/apps/phonon-xine.*
%files backend-xine
%defattr(-,root,root,-)
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_xine.so
%{_kde4_datadir}/kde4/services/phononbackends/xine.desktop
+%{_datadir}/icons/hicolor/*/apps/phonon-gstreamer.*
%files devel
%defattr(-,root,root,-)
@@ -140,6 +153,15 @@
%changelog
+* Thu Jan 29 2009 Rex Dietger <rdieter at fedoraproject.org> - 4.3.0-4
+- Requires: phonon-backend >= %%version
+- move icons to hicolor theme and into -backend subpkgs
+- BR: libxcb-devel
+- move phonon-gstreamer.svg to sources
+
+* Mon Jan 26 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.0-3
+- BR: automoc4 >= 0.9.86
+
* Fri Jan 23 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.3.0-2
- fix typo in postun scriptlet (introduced in 4.2.96-3)
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/phonon/F-9/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 26 Jan 2009 11:10:18 -0000 1.4
+++ sources 29 Jan 2009 15:51:03 -0000 1.5
@@ -1 +1,2 @@
+8e3924f417fea67f72b2105faed2119c gstreamer-logo.svg
f851219ec1fb4eadc7904f053b6b498d phonon-4.3.0.tar.bz2
--- gstreamer-logo.svg DELETED ---
More information about the fedora-extras-commits
mailing list