Browse Source

mozc 0.11.0-7.svn28

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1135 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 14 years ago
parent
commit
00b151b42f
1 changed files with 13 additions and 5 deletions
  1. 13 5
      m/mozc/mozc-vl.spec

+ 13 - 5
m/mozc/mozc-vl.spec

@@ -1,5 +1,5 @@
 %define		ver	0.11.0
-%define		rel	6
+%define		rel	7
 %define		svnrev	28
 %define		utdic	20100601
 %define		enable_utdic_meisi	0
@@ -17,13 +17,15 @@ 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}-r%{svnrev}.tar.bz2
+Source0:	%{name}-%{version}-r%{svnrev}.tar.bz2
 
 # Additional dictionaries by UTUMI Hirosi
 Source1:        mozcdic-ut-%{utdic}.tar.bz2
 
 # http://twitpic.com/1ouyrr by AWASHIRO Ikuya
 Source3:	ibus-mozc.png
+# http://twitpic.com/1t0zkb by AWASHIRO Ikuya
+Source4:	ibus-mozc-unknown.png
 
 # Vine Lunux
 Source10:	README.vine
@@ -95,7 +97,7 @@ tool and about dialog.
 Mozc GUI ユーティリティー。設定ツールやユーザ辞書ツールなどが含まれます。
 
 %prep
-%setup -q -n src -a 1
+%setup -q -n %{name}-%{version}-r%{svnrev} -a 1
 #%patch0 -p0 -b .fix-x86_64
 %patch1 -p1 -b .fix-i386
 
@@ -143,8 +145,9 @@ popd
 %{__cp} -p out/Release/mozc_tool %buildroot/%{_libdir}/mozc
 
 # install icon (temporary)
-%{__mkdir_p} %buildroot/%{_datadir}/ibus-mozc
-%{__cp} -p %{SOURCE3} %buildroot/%{_datadir}/ibus-mozc/product_icon.png
+%{__mkdir_p} %{buildroot}%{_datadir}/ibus-mozc
+%{__cp} -p %{SOURCE3} %{buildroot}%{_datadir}/ibus-mozc/product_icon.png
+%{__cp} -p %{SOURCE4} %{buildroot}%{_datadir}/ibus-mozc/unknown.ico
 
 # install document
 %{__chmod} 644 debian/*
@@ -182,8 +185,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/ibus/component/mozc.xml
 %dir %{_datadir}/ibus-mozc
 %{_datadir}/ibus-mozc/product_icon.png
+%{_datadir}/ibus-mozc/unknown.ico
 
 %changelog
+* Wed Jun  2 2010 IWAI, Masaharu <iwai@alib.jp> 0.11.0-7.svn28
+- add mozc_tool's icon (Source4)
+- rename Source0: fixed created directory name "src"
+
 * Tue Jun  1 2010 IWAI, Masaharu <iwai@alib.jp> 0.11.0-6.svn28
 - update mozcdic-ut 20100601 (Source10)
 - include documents for all dictionaries