Author: lisu                         Date: Tue Sep 29 14:37:40 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to Build14
- .7z package
- doesn't work (TODO)

---- Files affected:
packages/widelands:
   widelands.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/widelands/widelands.spec
diff -u packages/widelands/widelands.spec:1.20 
packages/widelands/widelands.spec:1.21
--- packages/widelands/widelands.spec:1.20      Fri Jan 23 18:32:18 2009
+++ packages/widelands/widelands.spec   Tue Sep 29 16:37:34 2009
@@ -2,18 +2,21 @@
 #
 # TODO:
 # - translations
+# - create bcond for ggz
+# - could not find file or directory: pics/splash.jpg
 #
-%define                _build  13
+%define                _build  14
 Summary:       Game like Settlers II
 Summary(pl.UTF-8):     Remake gry Settlers II
 Name:          widelands
 Version:       0.build%{_build}
 Release:       0.1
-License:       GPL
+License:       GPL v2+
 Group:         X11/Applications/Games
-Source0:       
http://dl.sourceforge.net/widelands/Widelands-Build%{_build}-src.tar.bz2
-# Source0-md5: 5e39f80b668d303abf693c48afa0c4bc
+Source0:       
http://dl.sourceforge.net/widelands/Widelands-Build%{_build}-src.7z
+# Source0-md5: 06d63783b82b68af7af26198bc0a5afa
 Source1:       %{name}.desktop
+Patch0:                %{name}-syntax.patch
 URL:           http://widelands.sourceforge.net/
 BuildRequires: SDL-devel >= 1.2.11
 BuildRequires: SDL_gfx-devel
@@ -24,7 +27,9 @@
 BuildRequires: boost-devel
 BuildRequires: libpng-devel
 BuildRequires: libstdc++-devel
+BuildRequires: p7zip
 BuildRequires: scons
+BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -49,13 +54,18 @@
 światem, będziesz musiał wyszkolić żołnierzy i walczyć.
 
 %prep
-%setup -q -n %{name}-b%{_build}
+%setup -q -c -T -n %{name}
+7z x -o.. %{SOURCE0}
+%patch0 -p1
+%{__sed} -i 's/framework-mt/framework/' SConstruct
 
 %build
-%scons \
-       install_prefix=%{_prefix} \
-       bindir=%{_bindir} \
-       datadir=%{_datadir}/%{name}
+%scons -j 1 \
+       build="release" \
+       install_prefix="%{_prefix}" \
+       bindir="%{_bindir}" \
+       datadir="%{_datadir}/%{name}" \
+       enable_ggz="false"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -87,6 +97,23 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2009/09/29 14:37:34  lisu
+- up to Build14
+- .7z package
+- doesn't work (TODO)
+
+Revision 1.20.2.3  2009/09/21 12:05:21  lisu
+- build "release" version
+
+Revision 1.20.2.2  2009/09/18 14:51:40  lisu
+- fix syntax in src/graphic/graphic.cc (-syntax.patch)
+
+Revision 1.20.2.1  2009/09/18 12:48:26  lisu
+- start update to Build14RC
+- disable ggz for now
+- libboost_unit_test_framework-mt -> libboost_unit_test_framework
+- nfy
+
 Revision 1.20  2009/01/23 17:32:18  adamg
 - fixed previous commit msg
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/widelands/widelands.spec?r1=1.20&r2=1.21&f=u

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

Reply via email to