]> git.pld-linux.org Git - packages/stone_soup.git/commitdiff
- start update to 0.6.0
authorlisu <lisu@pld-linux.org>
Fri, 9 Apr 2010 09:45:12 +0000 (09:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- most options given as make paramaters
- nfy

Changed files:
    stone_soup.spec -> 1.16

stone_soup.spec

index da8d7be0631c9da83cd645948ce2b7dc69ccf6f2..7502001a09a1ee0aca68ca1757e7e6c07985e37e 100644 (file)
@@ -1,16 +1,16 @@
 #
 # Conditional build:
-%bcond_without tiles           # build tiles version
+%bcond_with    tiles           # build tiles version
 #
 Summary:       stone soup :: crawl clone
 Summary(pl.UTF-8):     stone soup :: klon crawla
 Name:          stone_soup
-Version:       0.5.2
+Version:       0.6.0
 Release:       1
 License:       Nethack Like
 Group:         X11/Applications/Games
-Source0:       http://dl.sourceforge.net/crawl-ref/%{name}-%{version}-src.tbz2
-# Source0-md5: 48aca99f320b70c880363ddaca7da89a
+Source0:       http://dl.sourceforge.net/crawl-ref/%{name}-%{version}.tar.bz2
+# Source0-md5: f4ff3e148344fda6410933d35deb4ead
 Patch0:                %{name}-systemlua.patch
 Patch1:                %{name}-makefile.patch
 Patch2:                %{name}-systemsqlite3.patch
@@ -51,18 +51,22 @@ przez Linleya. Jest on otwarcie rozwijany również przez
 społeczeństwo Crawla.
 
 %prep
-%setup -q -n %{name}-%{version}-src
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%setup -q
+#%%patch0 -p1
+#%%patch1 -p1
+#%%patch2 -p1
+#%%patch3 -p1
 %if %{with tiles}
-%patch4 -p1
+#%%patch4 -p1
 %endif
 
 %build
+#cd source
 %{__make} -C source \
-       %{?with_tiles:MAKEFILE=makefile_tiles.unix} \
+       prefix="%{_prefix}" \
+       SAVEDIR="/var/games/stone_soup/" \
+       DATADIR="/usr/share/stone_soup/" \
+       %{?with_tiles:TILES="y"} \
        CXX="%{__cxx}" \
        OPTFLAGS="%{rpmcxxflags}" \
        LDFLAGS="%{rpmldflags}"
@@ -70,8 +74,12 @@ społeczeństwo Crawla.
 %install
 rm -rf $RPM_BUILD_ROOT
 
+#cd source
 %{__make} -C source install \
-       %{?with_tiles:MAKEFILE=makefile_tiles.unix} \
+       prefix="%{_prefix}" \
+       bin_prefix="bin" \
+       SAVEDIR="/var/games/stone_soup/" \
+       DATADIR="/usr/share/stone_soup/" \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -80,6 +88,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CREDITS.txt README.* docs
-%attr(2755,root,games) %{_bindir}/stone_soup
+#%%attr(2755,root,games) %{_bindir}/stone_soup
+%attr(2755,root,games) %{_bindir}/crawl
 %{_datadir}/stone_soup
 %attr(775,root,games) %dir /var/games/stone_soup
This page took 0.104698 seconds and 4 git commands to generate.