SPECS: tennix.spec - use desktop file included with project

lisu lisu at pld-linux.org
Mon Sep 24 22:50:48 CEST 2007


Author: lisu                         Date: Mon Sep 24 20:50:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use desktop file included with project

---- Files affected:
SPECS:
   tennix.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/tennix.spec
diff -u SPECS/tennix.spec:1.12 SPECS/tennix.spec:1.13
--- SPECS/tennix.spec:1.12	Mon Sep 24 22:26:25 2007
+++ SPECS/tennix.spec	Mon Sep 24 22:50:43 2007
@@ -8,8 +8,8 @@
 Group:		X11/Applications/Games
 Source0:	http://thpinfo.com/2007/tennix/%{name}-%{version}.tar.gz
 # Source0-md5:	3f0f177aea7f869686230fc30662fbb0
-Source1:	%{name}.desktop
 Patch0:		%{name}-makefile.patch
+Patch1:		%{name}-desktop.patch
 URL:		http://icculus.org/tennix/
 BuildRequires:	SDL-devel
 BuildRequires:	SDL_image-devel
@@ -32,6 +32,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 # Some trouble with pass CFLAGS in build section
 %{__sed} -i 's at CFLAGS +=@CFLAGS += %{rpmcflags}@' makefile
 
@@ -45,7 +46,7 @@
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
 
 install %{name} $RPM_BUILD_ROOT%{_bindir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install tennix.desktop $RPM_BUILD_ROOT%{_desktopdir}
 install data/icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
 
@@ -66,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2007/09/24 20:50:43  lisu
+- use desktop file included with project
+
 Revision 1.12  2007/09/24 20:26:25  lisu
 - adapterized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tennix.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list