add missing icon

epel9
Than Ngo 17 years ago
parent 1591575dae
commit f80dfc5981

@ -1 +1,2 @@
phonon-4.2.0.tar.bz2 phonon-4.2.0.tar.bz2
gstreamer-logo.svg

@ -2,12 +2,13 @@
Summary: Multimedia framework api Summary: Multimedia framework api
Name: phonon Name: phonon
Version: 4.2.0 Version: 4.2.0
Release: 5%{?dist} Release: 6%{?dist}
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: http://phonon.kde.org/ URL: http://phonon.kde.org/
Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/%{version}/phonon-%{version}.tar.bz2 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. # Make PulseAudio the default again when listed by the backend.
# Note that this currently only works for the Xine backend. Device selection in # 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 # the GStreamer backend is weird: there is a setting for "sink" which cannot be
@ -25,6 +26,7 @@ BuildRequires: gstreamer-plugins-base-devel
BuildRequires: kde-filesystem BuildRequires: kde-filesystem
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: qt4-devel >= 4.4.0 BuildRequires: qt4-devel >= 4.4.0
BuildRequires: ImageMagick
## hard-code phonon-backend-xine, for now, so yum doesn't choose -gstreamer by default ## hard-code phonon-backend-xine, for now, so yum doesn't choose -gstreamer by default
Requires: phonon-backend-xine Requires: phonon-backend-xine
@ -40,6 +42,8 @@ Requires: %{name} = %{version}-%{release}
Provides: phonon-backend = %{version}-%{release} Provides: phonon-backend = %{version}-%{release}
Obsoletes: %{name}-backend-gst < 4.2.0-4 Obsoletes: %{name}-backend-gst < 4.2.0-4
Provides: %{name}-backend-gst = %{version}-%{release} Provides: %{name}-backend-gst = %{version}-%{release}
Requires(post): xdg-utils
Requires(postun): xdg-utils
%description backend-gstreamer %description backend-gstreamer
%{summary}. %{summary}.
@ -72,6 +76,12 @@ rm -rf %{buildroot}
make install DESTDIR=%{buildroot} -C %{_target_platform} 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 %clean
@ -82,6 +92,11 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig %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 %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -96,6 +111,8 @@ rm -rf %{buildroot}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so %{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
%{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop %{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop
%_datadir/icons/hicolor/*/*/*.png
%_datadir/icons/hicolor/*/*/*.svg
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -107,6 +124,9 @@ rm -rf %{buildroot}
%changelog %changelog
* Tue Sep 30 2008 Than Ngo <than@redhat.com> 4.2.0-6
- add missing icon
* Wed Sep 17 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2.0-5 * Wed Sep 17 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2.0-5
- Requires: phonon-backend-xine - Requires: phonon-backend-xine

@ -1 +1,2 @@
de80b0f055886a6946acc7886713e23e phonon-4.2.0.tar.bz2 de80b0f055886a6946acc7886713e23e phonon-4.2.0.tar.bz2
8e3924f417fea67f72b2105faed2119c gstreamer-logo.svg

Loading…
Cancel
Save