packages: xye/xye.spec - use autotools - apply patch instead of removing us...

lisu lisu at pld-linux.org
Tue Sep 1 09:44:24 CEST 2009


Author: lisu                         Date: Tue Sep  1 07:44:24 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use autotools
- apply patch instead of removing useless files from DESTDIR

---- Files affected:
packages/xye:
   xye.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/xye/xye.spec
diff -u packages/xye/xye.spec:1.4 packages/xye/xye.spec:1.5
--- packages/xye/xye.spec:1.4	Tue Sep  1 09:27:42 2009
+++ packages/xye/xye.spec	Tue Sep  1 09:44:19 2009
@@ -10,9 +10,12 @@
 Source0:	http://dl.sourceforge.net/xye/%{name}-%{version}.tar.gz
 # Source0-md5:	ed03194c9e37c8bd805b9348a2caa7c3
 Source1:	%{name}.desktop
+Patch0:		%{name}-useless_files.patch
 URL:		http://xye.sourceforge.net/
 BuildRequires:	SDL_image-devel
 BuildRequires:	SDL_ttf-devel
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,8 +41,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
@@ -50,7 +57,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install xye.ico $RPM_BUILD_ROOT%{_pixmapsdir}
 
@@ -71,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2009/09/01 07:44:19  lisu
+- use autotools
+- apply patch instead of removing useless files from DESTDIR
+
 Revision 1.4  2009/09/01 07:27:42  lisu
 - create dirs in proper section
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xye/xye.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list