SPECS: tworld.spec - add icon and .desktop file by Bart³omiej Zimoñ

shadzik shadzik at pld-linux.org
Thu Apr 19 18:48:02 CEST 2007


Author: shadzik                      Date: Thu Apr 19 16:48:02 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add icon and .desktop file by Bart³omiej Zimoñ

---- Files affected:
SPECS:
   tworld.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/tworld.spec
diff -u SPECS/tworld.spec:1.2 SPECS/tworld.spec:1.3
--- SPECS/tworld.spec:1.2	Sun Apr 15 09:28:27 2007
+++ SPECS/tworld.spec	Thu Apr 19 18:47:57 2007
@@ -12,6 +12,8 @@
 Group:		X11/Applications/Games
 Source0:	http://www.muppetlabs.com/~breadbox/pub/software/tworld/%{name}-%{version}-CCLP2.tar.gz
 # Source0-md5:	100311f324b00a13649148448a20dc29
+Source1:	%{name}.desktop
+Source2:	%{name}.png
 URL:		http://www.muppetlabs.com/~breadbox/software/tworld/
 BuildRequires:	SDL-devel >= 1.2.0
 BuildRequires:	SDL_image-devel >= 1.2.0
@@ -36,12 +38,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_datadir}/%{name}/{res,data,sets}} $RPM_BUILD_ROOT%{_desktopdir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_datadir}/%{name}/{res,data,sets},%{_desktopdir},%{_pixmapsdir}}
 
 install tworld $RPM_BUILD_ROOT%{_bindir}/tworld
 install res/*  $RPM_BUILD_ROOT%{_datadir}/%{name}/res
 install data/*  $RPM_BUILD_ROOT%{_datadir}/%{name}/data
 install sets/*  $RPM_BUILD_ROOT%{_datadir}/%{name}/sets
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,8 +64,8 @@
 %doc Changelog README
 %attr(755,root,root) %{_bindir}/%{name}
 %{_datadir}/%{name}
-#%{_pixmapsdir}/tworld.png
-#%{_desktopdir}/*.desktop
+%{_pixmapsdir}/%{name}.png
+%{_desktopdir}/%{name}.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -69,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/04/19 16:47:57  shadzik
+- add icon and .desktop file by Bart³omiej Zimoñ
+
 Revision 1.2  2007/04/15 07:28:27  qboosh
 - fixed spec encoding
 - BR: automake
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tworld.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list