Author: uzsolt                       Date: Fri Jun 12 08:07:39 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 3.2 (paintown-string.patch)
- python-devel BR
- build with scons instead of cmake

---- Files affected:
packages/paintown:
   paintown.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/paintown/paintown.spec
diff -u packages/paintown/paintown.spec:1.6 packages/paintown/paintown.spec:1.7
--- packages/paintown/paintown.spec:1.6 Fri May  1 11:27:27 2009
+++ packages/paintown/paintown.spec     Fri Jun 12 10:07:34 2009
@@ -5,7 +5,7 @@
 Summary(pl.UTF-8):     Paintown - gra zręcznościowa podobna do Streets of Rage 
lub Teenage Mutants inja Turtles
 Name:          paintown
 Version:       3.2
-Release:       1
+Release:       0.1
 License:       GPL v2
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/paintown/%{name}-%{version}.tar.gz
@@ -13,12 +13,14 @@
 Patch0:                %{name}-keyboard-fix.patch
 Patch1:                %{name}-stdio.patch
 Patch2:                %{name}-verbose-makefile.patch
+Patch3:                %{name}-string.patch
 URL:           http://paintown.sourceforge.net
 BuildRequires: allegro-devel >=4.1
 BuildRequires: cmake
 BuildRequires: dumb-devel
 BuildRequires: freetype-devel
 BuildRequires: libpng-devel
+BuildRequires: python-devel
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,19 +41,17 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %{__sed} -i 's...@set(cxxflag...@set(CXXFLAGS="%{rpmcxxflags}")@g' 
CMakeLists.txt
 RPMCXXFLAGS=$(echo %{rpmcxxflags} | sed "s@ \$@@ ; s...@\([^ ]*\)@'\1'@g ; s@ 
@,@g")
 %{__sed} -i "s...@^cppflags = ....@cppflags = [ ${RPMCXXFLAGS} ]@" SConstruct
 
 %build
-mkdir build
-cd build
-cmake ..
-%{__make}
+scons
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cp build/bin/paintown .
+cp build/paintown .
 install -d $RPM_BUILD_ROOT%{_bindir}
 ./install.sh -d $RPM_BUILD_ROOT%{_datadir}/%{name} -b $RPM_BUILD_ROOT%{_bindir}
 sed -i "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_bindir}/%{name}
@@ -61,7 +61,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README TODO
+%doc README TODO scripting.txt doc/character.txt
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_datadir}/%{name}/%{name}-bin
 %dir %{_datadir}/%{name}
@@ -73,6 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2009/06/12 08:07:34  uzsolt
+- 3.2 (paintown-string.patch)
+- python-devel BR
+- build with scons instead of cmake
+
 Revision 1.6  2009/05/01 09:27:27  uzsolt
 - new patches
 - working on optflags (doesn't work, I don't know why)
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/paintown/paintown.spec?r1=1.6&r2=1.7&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to