packages: stone_soup/stone_soup.spec - clean up - include docs

lisu lisu at pld-linux.org
Wed Aug 12 15:07:44 CEST 2009


Author: lisu                         Date: Wed Aug 12 13:07:44 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- clean up
- include docs

---- Files affected:
packages/stone_soup:
   stone_soup.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/stone_soup/stone_soup.spec
diff -u packages/stone_soup/stone_soup.spec:1.2 packages/stone_soup/stone_soup.spec:1.3
--- packages/stone_soup/stone_soup.spec:1.2	Wed Aug 12 14:56:39 2009
+++ packages/stone_soup/stone_soup.spec	Wed Aug 12 15:07:39 2009
@@ -1,10 +1,4 @@
 # $Revision$, $Date$
-# BAD, UGLY, works for me not sure if for anyone else
-#
-# Conditional build:
-%bcond_with	tests		# build with tests
-%bcond_without	tests		# build without tests
-#
 Summary:	stone soup :: crawl clone
 Name:		stone_soup
 Version:	0.5.1
@@ -15,10 +9,7 @@
 # Source0-md5:	e1feb17d161311825e5eb676c14be44a
 Patch0:		%{name}-systemlua.patch
 Patch1:		%{name}-makefile.patch
-#Source1:	-
-# Source1-md5:	-
-#Patch0:		%{name}-DESTDIR.patch
-URL:		-
+URL:		http://crawl-ref.sourceforge.net/
 BuildRequires:	bison
 BuildRequires:	byacc
 BuildRequires:	flex
@@ -27,34 +18,14 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Dungeon Crawl Clone
-
+Dungeon Crawl Clone.
 
 %prep
 %setup -q -n %{name}-%{version}-src
 %patch0 -p1 
 %patch1 -p1 
 
-# remove CVS control files
-#find -name CVS -print0 | xargs -0 rm -rf
-
-# you'll need this if you cp -a complete dir in source
-# cleanup backups after patching
-find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
-
 %build
-# if ac/am/* rebuilding is necessary, do it in this order and add
-# appropriate BuildRequires
-#%%{__intltoolize}
-#%%{__gettextize}
-#%%{__libtoolize}
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__autoheader}
-#%%{__automake}
-# if not running libtool or automake, but config.sub is too old:
-#cp -f /usr/share/automake/config.sub .
-#%%configure
 %{__make} -C source 
 
 #%{__make} \
@@ -63,21 +34,19 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+install -d $RPM_BUILD_ROOT%{_datadir}/stone_soup{,/db,/des}
+install -d $RPM_BUILD_ROOT%{_localstatedir}/games/stone_soup
 
 %{__make} -C source install \
 	DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_localstatedir}/games/stone_soup
-install -d $RPM_BUILD_ROOT%{_datadir}/stone_soup{,/db,/des}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-#%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%doc CREDITS.txt README.* docs
 %attr(2755,root,games) %{_bindir}/stone_soup
 %attr(3777,root,games) %dir %{_datadir}/stone_soup
 %attr(2775,root,games) %dir %{_datadir}/stone_soup/db
@@ -103,6 +72,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/08/12 13:07:39  lisu
+- clean up
+- include docs
+
 Revision 1.2  2009/08/12 12:56:39  lisu
 - up to 0.5.1
 - BRs: ncurses-devel, lua51-devel
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/stone_soup/stone_soup.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list