|
@@ -1,5 +1,5 @@
|
|
|
%define ver 0.12.402.102
|
|
|
-%define rel 1
|
|
|
+%define rel 2
|
|
|
|
|
|
%define scim_dir %(pkg-config --variable=moduledir scim)
|
|
|
|
|
@@ -12,9 +12,9 @@ Group: System Environment/Libraries
|
|
|
License: BSD-like (and EDICT is CC-by-sa 3.0 Unported)
|
|
|
URL: http://code.google.com/p/mozc/
|
|
|
|
|
|
-# Source tar ball is not released yet.
|
|
|
-# See http://code.google.com/p/mozc/wiki/LinuxBuildInstructions
|
|
|
-Source0: %{name}-%{version}.tar.bz2
|
|
|
+Source0: http://mozc.googlecode.com/files/%{name}-%{version}.tar.bz2
|
|
|
+## svn debian/copyright
|
|
|
+Source1: mozc-copyright
|
|
|
|
|
|
## Mozc icons by AWASHIRO Ikuya
|
|
|
## http://blog.goo.ne.jp/ikunya/e/2ac954b762a5eec3cc767f2502971f14
|
|
@@ -30,10 +30,7 @@ Source6: ikuya-mozc-property.png
|
|
|
# Vine Lunux
|
|
|
Source10: README.vine
|
|
|
|
|
|
-#Patch0: ibus-mozc-fix-for-x86_64.diff
|
|
|
Patch1: ibus-mozc-0.11.0-fix-compile-w-i386.patch
|
|
|
-# based openSUSE by kazukado
|
|
|
-Patch2: mozc-0.11.383.102-x86_64_libdir.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: python, ibus-devel, dbus-devel
|
|
@@ -118,11 +115,8 @@ Mozc GUI ユーティリティー。設定ツールやユーザ辞書ツール
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-#%patch0 -p0 -b .fix-x86_64
|
|
|
+%{__cp} -p %{SOURCE1} COPYING
|
|
|
%patch1 -p1 -b .fix-i386
|
|
|
-%ifarch x86_64
|
|
|
-%patch2 -p1
|
|
|
-%endif
|
|
|
|
|
|
# update execute files path
|
|
|
%{__sed} -i -e"s|/usr/lib/mozc|%{_libexecdir}|g" base/util.cc
|
|
@@ -171,8 +165,6 @@ Mozc GUI ユーティリティー。設定ツールやユーザ辞書ツール
|
|
|
%{__cp} -p %{SOURCE6} %{buildroot}%{_datadir}/scim/icons/scim-mozc-property.png
|
|
|
|
|
|
# install document
|
|
|
-%{__chmod} 644 debian/*
|
|
|
-%{__cp} debian/copyright COPYING
|
|
|
%{__cp} %{SOURCE10} .
|
|
|
|
|
|
%clean
|
|
@@ -213,6 +205,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_datadir}/scim/icons/scim-mozc-tool.png
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jul 12 2010 IWAI, Masaharu <iwai@alib.jp> 0.12.402.102-2
|
|
|
+- drop obsolete x86_64 libdir patch (Patch2)
|
|
|
+- replace source tarball: using upstream tarball
|
|
|
+- add mozc-copyright (Source1) from SVN debian/copyright
|
|
|
+
|
|
|
* Fri Jul 2 2010 IWAI, Masaharu <iwai@alib.jp> 0.12.402.102-1
|
|
|
- new upstream release
|
|
|
- drop mozcdic-ut dictionary
|