|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%define im_name_zh_TW 新酷音輸入法
|
|
|
|
|
%define name_zh_TW %{im_name_zh_TW}函式庫
|
|
|
|
|
%global im_name_zh_TW 新酷音輸入法
|
|
|
|
|
%global name_zh_TW %{im_name_zh_TW}函式庫
|
|
|
|
|
Name: libchewing
|
|
|
|
|
Version: 0.3.3
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Intelligent phonetic input method library for Traditional Chinese
|
|
|
|
|
Summary(zh_TW): %{name_zh_TW}
|
|
|
|
|
|
|
|
|
@ -30,8 +30,8 @@ Source0: https://github.com/downloads/chewing/libchewing/%{name}-%{versi
|
|
|
|
|
Patch15: libchewing-0.3.3.multilibConflict.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
%define libchewing_python_dir %{python_sitearch}/%{name}
|
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
%global libchewing_python_dir %{python_sitearch}/%{name}
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
|
@ -138,6 +138,9 @@ touch %{buildroot}%{libchewing_python_dir}/__init__.py
|
|
|
|
|
%{libchewing_python_dir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 22 2012 Ding-Yi Chen <dchen at redhat dot com> - 0.3.3-5
|
|
|
|
|
- RPM Macro: define is replaced by global.
|
|
|
|
|
|
|
|
|
|
* Tue Nov 20 2012 Ding-Yi Chen <dchen at redhat dot com> - 0.3.3-4
|
|
|
|
|
- BuildRequires for libchewing-python changed
|
|
|
|
|
from python-devel to python2-devel
|
|
|
|
|