SPECS: toycars.spec - .desktop file added, rel++

lisu lisu at pld-linux.org
Mon Oct 16 22:40:30 CEST 2006


Author: lisu                         Date: Mon Oct 16 20:40:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- .desktop file added, rel++

---- Files affected:
SPECS:
   toycars.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/toycars.spec
diff -u SPECS/toycars.spec:1.3 SPECS/toycars.spec:1.4
--- SPECS/toycars.spec:1.3	Mon Oct 16 21:45:15 2006
+++ SPECS/toycars.spec	Mon Oct 16 22:40:25 2006
@@ -3,11 +3,12 @@
 Summary(pl):	Gra wyścigowa 2D oparta na prawach fizyki
 Name:		toycars
 Version:	0.3.2
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/toycars/%{name}-%{version}.tar.gz
 # Source0-md5:	70821d80bfc103feeeb98afb409b73aa
+Source1:	%{name}.desktop
 URL:		http://sourceforge.net/projects/toycars/
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
@@ -35,10 +36,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install data/images/title.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -47,6 +52,8 @@
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/10/16 20:40:25  lisu
+- .desktop file added, rel++
+
 Revision 1.3  2006/10/16 19:45:15  lisu
 - 0.3.2
 
================================================================

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



More information about the pld-cvs-commit mailing list