SPECS: luola.spec - .desktop added - rel++

lisu lisu at pld-linux.org
Sat Oct 14 01:18:51 CEST 2006


Author: lisu                         Date: Fri Oct 13 23:18:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- .desktop added
- rel++

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

---- Diffs:

================================================================
Index: SPECS/luola.spec
diff -u SPECS/luola.spec:1.1 SPECS/luola.spec:1.2
--- SPECS/luola.spec:1.1	Sat Oct 14 00:48:33 2006
+++ SPECS/luola.spec	Sat Oct 14 01:18:45 2006
@@ -3,13 +3,14 @@
 Summary(pl):	Sieciowa gra zręcznościowa
 Name:		luola
 Version:	1.3.2
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		X11/Applications/Games
 Source0:	http://www.luolamies.org/software/luola/%{name}-%{version}.tar.gz
 # Source0-md5:	029f48e8fb8d104e9634cf20c4493460
 Source1:	http://www.luolamies.org/software/luola/stdlevels-6.0.tar.gz
 # Source1-md5:	7660b90d67c06726c1849c3ff0e24aea
+Patch0:		%{name}-desktop.patch
 URL:		http://www.luolamies.org/software/luola/
 BuildRequires:	SDL-devel
 BuildRequires:	SDL_image-devel
@@ -30,6 +31,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
@@ -41,10 +43,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install luola.desktop $RPM_BUILD_ROOT%{_desktopdir}
+install luola.png $RPM_BUILD_ROOT%{_pixmapsdir}
 tar xvvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/%{name}/levels
 
 %clean
@@ -55,6 +60,8 @@
 %doc AUTHORS ChangeLog NEWS RELEASENOTES.txt 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
@@ -62,6 +69,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/10/13 23:18:45  lisu
+- .desktop added
+- rel++
+
 Revision 1.1  2006/10/13 22:48:33  lisu
 - new
 
================================================================

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



More information about the pld-cvs-commit mailing list