SPECS: njam.spec - desktop and icon added

lisu lisu at pld-linux.org
Sat Oct 21 00:50:39 CEST 2006


Author: lisu                         Date: Fri Oct 20 22:50:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- desktop and icon added

---- Files affected:
SPECS:
   njam.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/njam.spec
diff -u SPECS/njam.spec:1.1 SPECS/njam.spec:1.2
--- SPECS/njam.spec:1.1	Fri Oct 20 23:45:26 2006
+++ SPECS/njam.spec	Sat Oct 21 00:50:33 2006
@@ -7,11 +7,13 @@
 Summary(pl):	Sieciowy klon pacmana o szybkim tempie
 Name:		njam
 Version:	1.25
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/njam/%{name}-%{version}-src.tar.gz
 # Source0-md5:	231fda022d309e1ef4a0d993ca693462
+Source1:	%{name}.desktop
+Source2:	%{name}.xpm
 URL:		http://njam.sourceforge.net/
 BuildRequires:	SDL-devel
 BuildRequires:	SDL_image-devel
@@ -44,10 +46,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 %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -56,6 +62,8 @@
 %doc ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.xpm
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -63,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/10/20 22:50:33  lisu
+- desktop and icon added
+
 Revision 1.1  2006/10/20 21:45:26  lisu
 - new
 
================================================================

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



More information about the pld-cvs-commit mailing list