[Scummvm-cvs-logs] SF.net SVN: scummvm:[52786] scummvm/trunk/dists/redhat
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Fri Sep 17 23:40:53 CEST 2010
Revision: 52786
http://scummvm.svn.sourceforge.net/scummvm/?rev=52786&view=rev
Author: wjpalenstijn
Date: 2010-09-17 21:40:53 +0000 (Fri, 17 Sep 2010)
Log Message:
-----------
DISTS/REDHAT: Package png and svg icons
Modified Paths:
--------------
scummvm/trunk/dists/redhat/scummvm.spec
scummvm/trunk/dists/redhat/scummvm.spec.in
Added Paths:
-----------
scummvm/trunk/dists/redhat/scummvm48.png
Modified: scummvm/trunk/dists/redhat/scummvm.spec
===================================================================
--- scummvm/trunk/dists/redhat/scummvm.spec 2010-09-17 21:39:40 UTC (rev 52785)
+++ scummvm/trunk/dists/redhat/scummvm.spec 2010-09-17 21:40:53 UTC (rev 52786)
@@ -44,7 +44,7 @@
# install scripts
#------------------------------------------------------------------------------
%prep
-%setup -q -a 1 -a 2 -n scummvm-%{version}
+%setup -q -a 1 -n scummvm-%{version}
mkdir tmp
%build
@@ -56,6 +56,8 @@
install -m755 -D scummvm %{buildroot}%{_bindir}/scummvm
install -m644 -D dists/scummvm.6 %{buildroot}%{_mandir}/man6/scummvm.6
install -m644 -D icons/scummvm.xpm %{buildroot}%{_datadir}/pixmaps/scummvm.xpm
+install -m644 -D icons/scummvm.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/scummvm.svg
+install -m644 -D dists/redhat/scummvm48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/scummvm.png
install -m644 -D gui/themes/scummclassic.zip %{buildroot}%{_datadir}/scummvm/scummclassic.zip
install -m644 -D gui/themes/scummmodern.zip %{buildroot}%{_datadir}/scummvm/scummmodern.zip
install -m644 -D dists/pred.dic %{buildroot}%{_datadir}/scummvm/pred.dic
@@ -70,6 +72,18 @@
%clean
rm -Rf ${RPM_BUILD_ROOT}
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
#------------------------------------------------------------------------------
# Files listing.
#------------------------------------------------------------------------------
@@ -79,6 +93,8 @@
%attr(0755,root,root)%{_bindir}/scummvm
%{_datadir}/applications/*
%{_datadir}/pixmaps/scummvm.xpm
+%{_datadir}/icons/hicolor/48x48/apps/scummvm.png
+%{_datadir}/icons/hicolor/scalable/apps/scummvm.svg
%{_datadir}/scummvm/scumm*.zip
%{_datadir}/scummvm/pred.dic
%{_datadir}/scummvm/kyra.dat
@@ -93,6 +109,9 @@
# Change Log
#------------------------------------------------------------------------------
%changelog
+* Fri Sep 17 2010 (1.2.0)
+ - include png/svg icons
+ - remove libmpeg2
* Thu Sep 21 2006 (0.9.1)
- include modern theme
* Mon Dec 20 2004 (0.7.0)
Modified: scummvm/trunk/dists/redhat/scummvm.spec.in
===================================================================
--- scummvm/trunk/dists/redhat/scummvm.spec.in 2010-09-17 21:39:40 UTC (rev 52785)
+++ scummvm/trunk/dists/redhat/scummvm.spec.in 2010-09-17 21:40:53 UTC (rev 52786)
@@ -44,7 +44,7 @@
# install scripts
#------------------------------------------------------------------------------
%prep
-%setup -q -a 1 -a 2 -n scummvm-%{version}
+%setup -q -a 1 -n scummvm-%{version}
mkdir tmp
%build
@@ -56,6 +56,8 @@
install -m755 -D scummvm %{buildroot}%{_bindir}/scummvm
install -m644 -D dists/scummvm.6 %{buildroot}%{_mandir}/man6/scummvm.6
install -m644 -D icons/scummvm.xpm %{buildroot}%{_datadir}/pixmaps/scummvm.xpm
+install -m644 -D icons/scummvm.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/scummvm.svg
+install -m644 -D dists/redhat/scummvm48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/scummvm.png
install -m644 -D gui/themes/scummclassic.zip %{buildroot}%{_datadir}/scummvm/scummclassic.zip
install -m644 -D gui/themes/scummmodern.zip %{buildroot}%{_datadir}/scummvm/scummmodern.zip
install -m644 -D dists/pred.dic %{buildroot}%{_datadir}/scummvm/pred.dic
@@ -70,6 +72,18 @@
%clean
rm -Rf ${RPM_BUILD_ROOT}
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
#------------------------------------------------------------------------------
# Files listing.
#------------------------------------------------------------------------------
@@ -79,6 +93,8 @@
%attr(0755,root,root)%{_bindir}/scummvm
%{_datadir}/applications/*
%{_datadir}/pixmaps/scummvm.xpm
+%{_datadir}/icons/hicolor/48x48/apps/scummvm.png
+%{_datadir}/icons/hicolor/scalable/apps/scummvm.svg
%{_datadir}/scummvm/scumm*.zip
%{_datadir}/scummvm/pred.dic
%{_datadir}/scummvm/kyra.dat
@@ -93,6 +109,9 @@
# Change Log
#------------------------------------------------------------------------------
%changelog
+* Fri Sep 17 2010 (1.2.0)
+ - include png/svg icons
+ - remove libmpeg2
* Thu Sep 21 2006 (0.9.1)
- include modern theme
* Mon Dec 20 2004 (0.7.0)
Copied: scummvm/trunk/dists/redhat/scummvm48.png (from rev 52785, scummvm/trunk/dists/maemo/scummvm48.png)
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list