SPECS: monster.spec - kill useless BR: sed - desktop file added

lisu lisu at pld-linux.org
Sat Aug 18 23:07:14 CEST 2007


Author: lisu                         Date: Sat Aug 18 21:07:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- kill useless BR: sed
- desktop file added

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

---- Diffs:

================================================================
Index: SPECS/monster.spec
diff -u SPECS/monster.spec:1.1 SPECS/monster.spec:1.2
--- SPECS/monster.spec:1.1	Sat Aug 18 22:41:03 2007
+++ SPECS/monster.spec	Sat Aug 18 23:07:09 2007
@@ -8,6 +8,8 @@
 Group:		X11/Applications/Games
 Source0:	http://www.nooskewl.com/monster/Monster-%{version}-src.tar.gz
 # Source0-md5:	1976726b4c453c0e3b33f591d7c1293d
+Source1:	%{name}.desktop
+Source2:	%{name}.xpm
 Patch0:		%{name}-util.patch
 Patch1:		%{name}-lua.patch
 Patch2:		%{name}-Makefile.patch
@@ -19,7 +21,6 @@
 BuildRequires:	libvorbis-devel
 BuildRequires:	logg-devel
 BuildRequires:	lua51-devel
-BuildRequires:	sed >= 4.0
 BuildRequires:	tgui-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,8 +44,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 install src/%{name} $RPM_BUILD_ROOT%{_bindir}
 cp -r data $RPM_BUILD_ROOT%{_datadir}/%{name}
 
@@ -55,6 +58,8 @@
 %defattr(644,root,root,755)
 %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
@@ -62,6 +67,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/08/18 21:07:09  lisu
+- kill useless BR: sed
+- desktop file added
+
 Revision 1.1  2007/08/18 20:41:03  lisu
 - initial PLD release
 
================================================================

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



More information about the pld-cvs-commit mailing list