Ver Fonte

anthy:
- 9100h-10
- add patch110 to change EUCJP AS EUCJP/JISX0213
- add patch120 to change default encoding to EUCJP for compatibility
- 9100h-9
- move ut patch to Source100
- add Patch100 to add G-HAL's patches
- diffed from G-HAL's modified anthy archive.
- new ut patch does not include G-HAL's patches



git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1159 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke há 14 anos atrás
pai
commit
21e9b8e2f2
1 ficheiros alterados com 28 adições e 9 exclusões
  1. 28 9
      a/anthy/anthy-vl.spec

+ 28 - 9
a/anthy/anthy-vl.spec

@@ -18,7 +18,7 @@ Summary: A Japanese character input system library (with dictionary).
 Summary(ja): Anthy - 日本語入力システムおよび辞書
 Name: anthy
 Version: 9100h
-Release: 8%{?_dist_release}
+Release: 10%{?_dist_release}
 URL: http://www.sourceforge.jp/projects/anthy/
 Source: %{name}-%{version}.tar.gz
 Source1: anthy-el-install.sh
@@ -27,17 +27,20 @@ Source3: anthy-init.el
 Source4: vine-default-anthy.el
 # large dictionary and improvement patch made by UTSUMI at 
 # http://www.geocities.jp/ep3797/anthy_dict_01.html
-# also it includes some patches made by G-HAL at 
-# http://www.fenix.ne.jp/~G-HAL/soft/nosettle/#anthy 
-Patch100: anthy-ut-patches-%{ut_patch_date}.tar.bz2
+Source100: anthy-ut-patches-%{ut_patch_date}.tar.bz2
+# anthy patches made by G-HAL
+# http://www.fenix.ne.jp/~G-HAL/soft/nosettle/#anthy
+Patch100: anthy-9100h.patch13B-23-iconv-ucdict.2010507.alt-depgraph-100120-patch100126.alt-cannadic-091230.patch
+Patch110: anthy-9100h.patch13B-23-iconv-jisx0213.patch
+Patch120: anthy-ut-patches-20100517-ANTHY_ENCODING_EUCJP.patch
 License: GPL, LGPL, BSD
 Group: Applications/System
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-#BuildRequires: automake16, autoconf
+BuildRequires: automake, autoconf
 
 Vendor: Project Vine
 Distribution: Vine Linux
-Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
+Packager: daisuke, kazutaka
 
 %description
 Anthy is free and secure Japanese input system.
@@ -77,14 +80,20 @@ libanthy を利用したアプリケーションを開発するために必要
 
 
 %prep
-%setup -q
+%setup -q -a 100
+%patch100 -p1
+%patch110 -p1
+%patch120 -p1
 
-# apply conversion improvement and large dict patch set
-%{__tar} xjf %{PATCH100}
 pushd anthy-ut-patches-%{ut_patch_date}
 ./apply-patches.sh
 popd
 
+# fix file permission...
+chmod a+x ./depgraph/mkdepword \
+          ./calctrans/divide.sh \
+          ./mkworddic/mkucdic.pl
+
 %build
 #libtoolize --copy --force
 autoreconf -f -i
@@ -175,6 +184,16 @@ fi
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Sun Jun 06 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 9100h-10
+- add patch110 to change EUCJP AS EUCJP/JISX0213
+- add patch120 to change default encoding to EUCJP for compatibility
+
+* Fri Jun 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 9100h-9
+- move ut patch to Source100
+- add Patch100 to add G-HAL's patches
+  - diffed from G-HAL's modified anthy archive.
+  - new ut patch does not include G-HAL's patches
+
 * Wed May 19 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 9100h-8
 - update Patch100 (anthy-ut-patches-20100517.tar.bz2)
 - run autoreconf at %%build section