|
@@ -4,9 +4,10 @@
|
|
|
%define with_wesnothd 0
|
|
|
|
|
|
%define ver 1.8.0
|
|
|
-%define rel 1
|
|
|
+%define src_ver 1.8
|
|
|
+%define rel 2
|
|
|
|
|
|
-%define with_svn 1
|
|
|
+%define with_svn 0
|
|
|
%if %{with_svn}
|
|
|
%define svn_rev 41885
|
|
|
%endif
|
|
@@ -22,7 +23,7 @@ Release: %{rel}.svn%{svn_rev}%{?_dist_release}
|
|
|
Source0: %{name}-%{version}-svn%{svn_rev}.tar.bz2
|
|
|
%else
|
|
|
Release: %{rel}%{?_dist_release}
|
|
|
-Source0: %{name}-%{version}.tar.bz2
|
|
|
+Source0: %{name}-%{src_ver}.tar.bz2
|
|
|
%endif
|
|
|
Source1: wesnothd.init
|
|
|
Source2: %{name}.sysconfig
|
|
@@ -159,7 +160,7 @@ Battle for Wesnoth はターンベースの戦略シミュレーションゲー
|
|
|
%if %{with_svn}
|
|
|
%setup -q -n %{name}-%{version}-svn%{svn_rev}
|
|
|
%else
|
|
|
-%setup -q
|
|
|
+%setup -q -n %{name}-%{src_ver}
|
|
|
%endif
|
|
|
|
|
|
%if %{with_unofficial_po}
|
|
@@ -207,6 +208,8 @@ export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
|
|
%if %{with_svn}
|
|
|
./autogen.sh
|
|
|
%endif
|
|
|
+## for 1.8: missing configure script
|
|
|
+./autogen.sh
|
|
|
%configure \
|
|
|
--disable-dependency-tracking \
|
|
|
%if %{with_editor}
|
|
@@ -403,6 +406,10 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Apr 2 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.0-2
|
|
|
+- new upstream release
|
|
|
+- running autogen.sh: missing configure script in 1.8 tarball
|
|
|
+
|
|
|
* Tue Mar 30 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.0-1.svn41885
|
|
|
- update to 1.8.0+svn41885
|
|
|
- add Conflicts: wesnoth165
|