diff rpm/mplayer.spec @ 33484:4f940d7917f0

Provide a desktop icon of reasonable size (48x48) and quality. All three icon files (ico, png and xpm) derive from the same 48x48 graphic which itself derives from the svg at http://en.wikipedia.org/wiki/File:MPlayer.svg. GUI's icon has been renamed mplayer.xpm (from MPlayer_mini.xpm) and the format of the icon to be installed has been changed from xpm to png.
author ib
date Tue, 07 Jun 2011 15:16:22 +0000
parents 2f5d6ec5c131
children 6c6fb701fa8e
line wrap: on
line diff
--- a/rpm/mplayer.spec	Tue Jun 07 13:40:41 2011 +0000
+++ b/rpm/mplayer.spec	Tue Jun 07 15:16:22 2011 +0000
@@ -253,9 +253,9 @@
 ln -s Blue $RPM_BUILD_ROOT%{_datadir}/mplayer/skins/default
 
 # Icons
-install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
-install -pm 644 etc/mplayer.xpm \
-    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+install -pm 644 etc/mplayer.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
 
 # Desktop file
 desktop-file-install \
@@ -306,7 +306,7 @@
 %defattr(-, root, root, -)
 %{_bindir}/gmplayer
 %{_datadir}/applications/*mplayer.desktop
-%{_datadir}/icons/hicolor/32x32/apps/mplayer.xpm
+%{_datadir}/icons/hicolor/48x48/apps/mplayer.png
 %{_datadir}/mplayer/skins/
 
 %files -n mencoder