|
@@ -3,7 +3,7 @@
|
|
|
%define with_campaignd 0
|
|
|
%define with_wesnothd 0
|
|
|
|
|
|
-%define ver 1.8.4
|
|
|
+%define ver 1.8.5
|
|
|
%define src_ver %{ver}
|
|
|
%define rel 1
|
|
|
|
|
@@ -12,8 +12,8 @@
|
|
|
%define svn_rev 41885
|
|
|
%endif
|
|
|
|
|
|
-%define with_unofficial_po 0
|
|
|
-%define po_date 20100710
|
|
|
+%define with_unofficial_po 1
|
|
|
+%define po_date 20100926
|
|
|
|
|
|
Summary: Fantasy Turn-Based Strategy Game
|
|
|
Summary(ja): ターンベースのファンタジー戦略シミュレーションゲーム
|
|
@@ -29,7 +29,8 @@ Source0: %{name}-%{src_ver}.tar.bz2
|
|
|
Source1: wesnothd.init
|
|
|
Source2: %{name}.sysconfig
|
|
|
%if %{with_unofficial_po}
|
|
|
-#Source12: wesnoth-branches1.8_ja-%{po_date}.tar.gz
|
|
|
+# http://sourceforge.jp/projects/wesnoth-ja/releases/?package_id=11460
|
|
|
+Source12: wesnoth-%{version}_ja-catalogs-%{po_date}.zip
|
|
|
%endif
|
|
|
|
|
|
%{?nosrc:NoSource: 0}
|
|
@@ -62,6 +63,9 @@ BuildRequires: libboost-iostreams libboost-regex
|
|
|
BuildRequires: lua-devel
|
|
|
#BuildRequires: fribidi-devel
|
|
|
#BuildRequires: python-devel
|
|
|
+%if %{with_unofficial_po}
|
|
|
+BuildRequires: unzip
|
|
|
+%endif
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
Conflicts: wesnoth165
|
|
@@ -158,22 +162,19 @@ Battle for Wesnoth はターンベースの戦略シミュレーションゲー
|
|
|
%if %{with_svn}
|
|
|
%setup -q -n %{name}-%{version}-svn%{svn_rev}
|
|
|
%else
|
|
|
-%setup -q -n %{name}-%{src_ver}
|
|
|
+%setup -q -a 12 -n %{name}-%{src_ver}
|
|
|
%endif
|
|
|
|
|
|
%if %{with_unofficial_po}
|
|
|
-%define japo_dir wesnoth-branches1.8_ja-%{po_date}/po
|
|
|
+%define japo_dir wesnoth-%{version}_ja-catalogs-%{po_date}
|
|
|
+
|
|
|
pushd %{japo_dir}
|
|
|
target=(
|
|
|
- wesnoth
|
|
|
- wesnoth-aoi
|
|
|
- wesnoth-dm
|
|
|
- wesnoth-trow
|
|
|
- wesnoth-utbs
|
|
|
+ httt
|
|
|
)
|
|
|
for n in "${target[@]}"
|
|
|
do
|
|
|
-%{__cp} -f $n/ja.po ../../po/$n/ja.po
|
|
|
+%{__cp} -f wesnoth-%{version}_$n-%{po_date}_ja.po ../po/wesnoth-$n/ja.po
|
|
|
done
|
|
|
popd
|
|
|
%endif
|
|
@@ -381,6 +382,11 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Oct 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.5-1
|
|
|
+- new upstream release
|
|
|
+- add Japanese po files version 20100926 (Source12)
|
|
|
+- add BuildRequires: unzip for Japanese po files
|
|
|
+
|
|
|
* Thu Aug 12 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.4-1
|
|
|
- new upstream release
|
|
|
- drop Japanese po files version 20100710 (Source12)
|