Browse Source

wesnoth 1.8.6-1

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

+ 10 - 8
w/wesnoth/wesnoth-vl.spec

@@ -3,16 +3,16 @@
 %define with_campaignd 0
 %define with_wesnothd 0
 
-%define ver 1.8.5
+%define ver 1.8.6
 %define src_ver %{ver}
-%define rel 2
+%define rel 1
 
 %define with_svn 0
 %if %{with_svn}
 %define svn_rev 41885
 %endif
 
-%define with_unofficial_po 1
+%define with_unofficial_po 0
 %define po_date		   20100926
 
 Summary: Fantasy Turn-Based Strategy Game
@@ -28,10 +28,8 @@ Source0: %{name}-%{src_ver}.tar.bz2
 %endif
 Source1: wesnothd.init
 Source2: %{name}.sysconfig
-%if %{with_unofficial_po}
 # http://sourceforge.jp/projects/wesnoth-ja/releases/?package_id=11460
-Source12: wesnoth-%{version}_ja-catalogs-%{po_date}.zip
-%endif
+Source12: wesnoth-1.8.5_ja-catalogs-%{po_date}.zip
 
 %{?nosrc:NoSource: 0}
 
@@ -162,11 +160,12 @@ Battle for Wesnoth はターンベースの戦略シミュレーションゲー
 %if %{with_svn}
 %setup -q -n %{name}-%{version}-svn%{svn_rev}
 %else
-%setup -q -a 12 -n %{name}-%{src_ver}
+%setup -q -n %{name}-%{src_ver}
 %endif
 
 %if %{with_unofficial_po}
-%define japo_dir wesnoth-%{version}_ja-catalogs-%{po_date}
+%define japo_dir wesnoth-1.8.5ja-catalogs-%{po_date}
+%__unzip %{SOURCE12}
 
 pushd %{japo_dir}
 target=(
@@ -382,6 +381,9 @@ fi
 
 
 %changelog
+* Sun May 15 2011 IWAI, Masaharu <iwai@alib.jp> 1.8.6-1
+- new upstream release
+
 * Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 1.8.5-2
 - rebuilt with libboost-1.45.0