Browse Source

wesnoth 1.8.3-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1307 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 14 years ago
parent
commit
902695fe6d
1 changed files with 13 additions and 35 deletions
  1. 13 35
      w/wesnoth/wesnoth-vl.spec

+ 13 - 35
w/wesnoth/wesnoth-vl.spec

@@ -3,7 +3,7 @@
 %define with_campaignd 0
 %define with_wesnothd 0
 
-%define ver 1.8.2
+%define ver 1.8.3
 %define src_ver %{ver}
 %define rel 1
 
@@ -12,7 +12,8 @@
 %define svn_rev 41885
 %endif
 
-%define with_unofficial_po 0
+%define with_unofficial_po 1
+%define po_date		   20100710
 
 Summary: Fantasy Turn-Based Strategy Game
 Summary(ja):  ターンベースのファンタジー戦略シミュレーションゲーム
@@ -28,11 +29,7 @@ Source0: %{name}-%{src_ver}.tar.bz2
 Source1: wesnothd.init
 Source2: %{name}.sysconfig
 %if %{with_unofficial_po}
-# based http://loda.jp/wjtranslate/?id=17
-Source10: wesnoth-1.6.5-japanese-po.tar.gz
-# http://github.com/iwaim/wesnoth-po/raw/master/ja-po/wesnoth-sotbe/ja.po
-Source11: wesnoth-1.6.5-sotbe-ja.po
-Patch10: wesnoth-1.6.5-japanese_translators.patch
+Source12: wesnoth-branches1.8_ja-%{po_date}.tar.gz
 %endif
 
 %{?nosrc:NoSource: 0}
@@ -161,47 +158,24 @@ 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}
-%patch10 -p1
-%define japo_dir wesnoth-1.6.5-japanese-po
-%{__tar} zxvf %{SOURCE10}
+%define japo_dir wesnoth-branches1.8_ja-%{po_date}/po
 pushd %{japo_dir}
 target=(
-	wesnoth-anl
+	wesnoth
 	wesnoth-aoi
-	wesnoth-did
-	wesnoth-editor
-	wesnoth-ei
-	wesnoth-httt
-	wesnoth-l
-	wesnoth-lib
-	wesnoth-low
-	wesnoth-manpages
-	wesnoth-manual
-	wesnoth-multiplayer
-	wesnoth-nr
-	wesnoth-sof
-	wesnoth-sotbe
-	wesnoth-tb
-	wesnoth-test
-	wesnoth-thot
+	wesnoth-dm
 	wesnoth-trow
-	wesnoth-tsg
-	wesnoth-tutorial
-	wesnoth-units
 	wesnoth-utbs
-	wesnoth
 )
 for n in "${target[@]}"
 do
-%{__cp} -f $n.po ../po/$n/ja.po
+%{__cp} -f $n/ja.po ../../po/$n/ja.po
 done
 popd
-# wesnoth-sotbe
-%{__cp} -f %{SOURCE11} po/wesnoth-sotbe/ja.po
 %endif
 
 %build
@@ -407,6 +381,10 @@ fi
 
 
 %changelog
+* Sat Jul 10 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.3-1
+- new upstream release
+- add Japanese po files version 20100710 (Source12)
+
 * Thu Jun  3 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.2-1
 - new upstream release
 - add required Boost Library version