]> git.pld-linux.org Git - packages/stone_soup.git/commitdiff
- clean up
authorlisu <lisu@pld-linux.org>
Wed, 12 Aug 2009 13:07:39 +0000 (13:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- include docs

Changed files:
    stone_soup.spec -> 1.3

stone_soup.spec

index 05eab8dd4984f73cd427465c18d2b12091936c26..5f851e0046dca2c2178e0d4055a91bda922b2caa 100644 (file)
@@ -1,9 +1,3 @@
-# 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
@@ -14,10 +8,7 @@ Source0:      http://dl.sourceforge.net/crawl-ref/%{name}-%{version}-src.tbz2
 # 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
@@ -26,34 +17,14 @@ BuildRequires:      ncurses-devel
 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} \
@@ -62,21 +33,19 @@ find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 
 %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
This page took 0.498073 seconds and 4 git commands to generate.