|
@@ -1,5 +1,5 @@
|
|
-%define ver 0.12.402.102
|
|
+%define ver 0.12.434.102
|
|
-%define rel 2
|
|
+%define rel 1
|
|
|
|
|
|
%define scim_dir %(pkg-config --variable=moduledir scim)
|
|
%define scim_dir %(pkg-config --variable=moduledir scim)
|
|
|
|
|
|
@@ -16,17 +16,6 @@ Source0: http://mozc.googlecode.com/files/%{name}-%{version}.tar.bz2
|
|
## svn debian/copyright
|
|
## svn debian/copyright
|
|
Source1: mozc-copyright
|
|
Source1: mozc-copyright
|
|
|
|
|
|
-## Mozc icons by AWASHIRO Ikuya
|
|
|
|
-## http://blog.goo.ne.jp/ikunya/e/2ac954b762a5eec3cc767f2502971f14
|
|
|
|
-# http://twitpic.com/1ybqpd
|
|
|
|
-Source3: ikuya-mozc.png
|
|
|
|
-# http://twitpic.com/1yc148
|
|
|
|
-Source4: ikuya-mozc-tool.png
|
|
|
|
-# http://twitpic.com/1ybr8g
|
|
|
|
-Source5: ikuya-mozc-dictionary.png
|
|
|
|
-# http://twitpic.com/1ybreb
|
|
|
|
-Source6: ikuya-mozc-property.png
|
|
|
|
-
|
|
|
|
# Vine Lunux
|
|
# Vine Lunux
|
|
Source10: README.vine
|
|
Source10: README.vine
|
|
|
|
|
|
@@ -140,6 +129,19 @@ Mozc GUI ユーティリティー。設定ツールやユーザ辞書ツール
|
|
%{__cp} -p %{output_dir}/ibus_mozc %{buildroot}%{_libdir}/ibus-engine-mozc
|
|
%{__cp} -p %{output_dir}/ibus_mozc %{buildroot}%{_libdir}/ibus-engine-mozc
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/ibus/component/
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/ibus/component/
|
|
%{__sed} 's|/usr/libexec|%{_libdir}|' < %{output_dir}/obj/gen/unix/ibus/mozc.xml > %{buildroot}%{_datadir}/ibus/component/mozc.xml
|
|
%{__sed} 's|/usr/libexec|%{_libdir}|' < %{output_dir}/obj/gen/unix/ibus/mozc.xml > %{buildroot}%{_datadir}/ibus/component/mozc.xml
|
|
|
|
+## install icons
|
|
|
|
+%{__mkdir_p} %{buildroot}%{_datadir}/ibus-mozc/setup
|
|
|
|
+%{__cp} -p data/images/unix/ime_product_icon_opensource-32.png %{buildroot}%{_datadir}/ibus-mozc/product_icon.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-tool.png %{buildroot}%{_datadir}/ibus-mozc/tool.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-properties.png %{buildroot}%{_datadir}/ibus-mozc/properties.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-dictionary.png %{buildroot}%{_datadir}/ibus-mozc/dictionary.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-direct.png %{buildroot}%{_datadir}/ibus-mozc/direct.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-hiragana.png %{buildroot}%{_datadir}/ibus-mozc/hiragana.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-katakana_half.png %{buildroot}%{_datadir}/ibus-mozc/katakana_half.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-katakana_full.png %{buildroot}%{_datadir}/ibus-mozc/katakana_full.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-alpha_half.png %{buildroot}%{_datadir}/ibus-mozc/alpha_half.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-alpha_full.png %{buildroot}%{_datadir}/ibus-mozc/alpha_full.png
|
|
|
|
+
|
|
|
|
|
|
# scim-mozc
|
|
# scim-mozc
|
|
%{__mkdir_p} %{buildroot}%{scim_dir}/{IMEngine,SetupUI}
|
|
%{__mkdir_p} %{buildroot}%{scim_dir}/{IMEngine,SetupUI}
|
|
@@ -147,6 +149,19 @@ Mozc GUI ユーティリティー。設定ツールやユーザ辞書ツール
|
|
%{buildroot}%{scim_dir}/IMEngine/mozc.so
|
|
%{buildroot}%{scim_dir}/IMEngine/mozc.so
|
|
%{__cp} -p %{output_dir}/lib.target/libscim_mozc_setup.so \
|
|
%{__cp} -p %{output_dir}/lib.target/libscim_mozc_setup.so \
|
|
%{buildroot}%{scim_dir}/SetupUI/mozc-setup.so
|
|
%{buildroot}%{scim_dir}/SetupUI/mozc-setup.so
|
|
|
|
+## install icons
|
|
|
|
+%{__mkdir_p} %{buildroot}%{_datadir}/scim/icons
|
|
|
|
+%{__cp} -p data/images/unix/ime_product_icon_opensource-32.png %{buildroot}%{_datadir}/scim/icons/scim-mozc.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-tool.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-tool.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-properties.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-properties.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-dictionary.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-dictionary.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-direct.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-direct.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-hiragana.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-hiragana.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-katakana_half.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-katakana_half.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-katakana_full.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-katakana_full.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-alpha_half.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-alpha_half.png
|
|
|
|
+%{__cp} -p data/images/unix/ui-alpha_full.png %{buildroot}%{_datadir}/scim/icons/scim-mozc-alpha_full.png
|
|
|
|
+
|
|
|
|
|
|
# mozc-server
|
|
# mozc-server
|
|
%{__cp} -p %{output_dir}/mozc_server %{buildroot}%{_libexecdir}
|
|
%{__cp} -p %{output_dir}/mozc_server %{buildroot}%{_libexecdir}
|
|
@@ -154,15 +169,6 @@ Mozc GUI ユーティリティー。設定ツールやユーザ辞書ツール
|
|
# mozc_tool
|
|
# mozc_tool
|
|
%{__cp} -p %{output_dir}/mozc_tool %{buildroot}%{_libexecdir}
|
|
%{__cp} -p %{output_dir}/mozc_tool %{buildroot}%{_libexecdir}
|
|
|
|
|
|
-# install icon (temporary)
|
|
|
|
-%{__mkdir_p} %{buildroot}%{_datadir}/ibus-mozc/setup
|
|
|
|
-%{__cp} -p %{SOURCE3} %{buildroot}%{_datadir}/ibus-mozc/product_icon.png
|
|
|
|
-%{__cp} -p %{SOURCE4} %{buildroot}%{_datadir}/ibus-mozc/unknown.ico
|
|
|
|
-%{__mkdir_p} %{buildroot}%{_datadir}/scim/icons
|
|
|
|
-%{__cp} -p %{SOURCE3} %{buildroot}%{_datadir}/scim/icons/scim-mozc.png
|
|
|
|
-%{__cp} -p %{SOURCE4} %{buildroot}%{_datadir}/scim/icons/scim-mozc-tool.png
|
|
|
|
-%{__cp} -p %{SOURCE5} %{buildroot}%{_datadir}/scim/icons/scim-mozc-dictionary.png
|
|
|
|
-%{__cp} -p %{SOURCE6} %{buildroot}%{_datadir}/scim/icons/scim-mozc-property.png
|
|
|
|
|
|
|
|
# install document
|
|
# install document
|
|
%{__cp} %{SOURCE10} .
|
|
%{__cp} %{SOURCE10} .
|
|
@@ -191,20 +197,21 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_datadir}/ibus/component/mozc.xml
|
|
%{_datadir}/ibus/component/mozc.xml
|
|
%dir %{_datadir}/ibus-mozc
|
|
%dir %{_datadir}/ibus-mozc
|
|
%dir %{_datadir}/ibus-mozc/setup
|
|
%dir %{_datadir}/ibus-mozc/setup
|
|
-%{_datadir}/ibus-mozc/product_icon.png
|
|
+%{_datadir}/ibus-mozc/*.png
|
|
-%{_datadir}/ibus-mozc/unknown.ico
|
|
|
|
-%{_datadir}/scim/icons/scim-mozc-dictionary.png
|
|
|
|
-%{_datadir}/scim/icons/scim-mozc-property.png
|
|
|
|
|
|
|
|
%files -n scim-mozc
|
|
%files -n scim-mozc
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%doc COPYING
|
|
%{scim_dir}/SetupUI/mozc-setup.so
|
|
%{scim_dir}/SetupUI/mozc-setup.so
|
|
%{scim_dir}/IMEngine/mozc.so
|
|
%{scim_dir}/IMEngine/mozc.so
|
|
-%{_datadir}/scim/icons/scim-mozc.png
|
|
+%{_datadir}/scim/icons/*.png
|
|
-%{_datadir}/scim/icons/scim-mozc-tool.png
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Aug 15 2010 IWAI, Masaharu <iwai@alib.jp> 0.12.434.102-1
|
|
|
|
+- new upstream release
|
|
|
|
+- replace icons: using official icons
|
|
|
|
+ - drop AWASHIRO Ikuya's icons (Source3,4,5,6)
|
|
|
|
+
|
|
* Mon Jul 12 2010 IWAI, Masaharu <iwai@alib.jp> 0.12.402.102-2
|
|
* Mon Jul 12 2010 IWAI, Masaharu <iwai@alib.jp> 0.12.402.102-2
|
|
- drop obsolete x86_64 libdir patch (Patch2)
|
|
- drop obsolete x86_64 libdir patch (Patch2)
|
|
- replace source tarball: using upstream tarball
|
|
- replace source tarball: using upstream tarball
|