|
|
|
@ -5,18 +5,25 @@
|
|
|
|
|
%global name_zh_TW %{im_name_zh_TW}函式庫
|
|
|
|
|
|
|
|
|
|
Name: libchewing
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
Version: 0.3.5
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
=======
|
|
|
|
|
Version: 0.4.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
>>>>>>> Upstream Update to 0.4.0
|
|
|
|
|
Summary: Intelligent phonetic input method library for Traditional Chinese
|
|
|
|
|
Summary(zh_TW): %{name_zh_TW}
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://chewing.csie.net/
|
|
|
|
|
Source0: http://chewing.googlecode.com/files/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: https://raw.github.com/chewing/%{name}/v%{version}/contrib/python/chewing.py
|
|
|
|
|
Source0: https://github.com/chewing/%{name}/archive/v%{version}.tar.gz
|
|
|
|
|
Source1: https://raw.githubusercontent.com/chewing/%{name}/v%{version}/contrib/python/chewing.py
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake libtool pkgconfig texinfo
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
Requires: sqlite
|
|
|
|
|
Requires(post): info
|
|
|
|
|
Requires(preun): info
|
|
|
|
|
|
|
|
|
@ -75,7 +82,7 @@ make V=1 RPM_CFLAGS="%{optflags}" %{_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=%{buildroot} install INSTALL="install -p"
|
|
|
|
|
rm %{buildroot}%{_libdir}/libchewing.la
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/libchewing.la
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{libchewing_python_dir}
|
|
|
|
|
cp -p contrib/python/chewing.py %{buildroot}%{libchewing_python_dir}
|
|
|
|
@ -85,6 +92,7 @@ touch %{buildroot}%{libchewing_python_dir}/__init__.py
|
|
|
|
|
|
|
|
|
|
rm -f %{buildroot}/%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
|
@ -99,11 +107,11 @@ fi
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README AUTHORS COPYING
|
|
|
|
|
%dir %{_libdir}/libchewing
|
|
|
|
|
%{_libdir}/libchewing/*
|
|
|
|
|
%doc README.md AUTHORS COPYING NEWS TODO
|
|
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
|
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%{_infodir}/libchewing.info.gz
|
|
|
|
|
%{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%dir %{_includedir}/chewing
|
|
|
|
@ -115,6 +123,11 @@ fi
|
|
|
|
|
%{libchewing_python_dir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 10 2014 Ding-Yi Chen <dchen at redhat dot com> - 0.4.0-1
|
|
|
|
|
- Upstream update to 0.4.0
|
|
|
|
|
Details: https://github.com/chewing/libchewing/releases/tag/v0.4.0
|
|
|
|
|
- Update the URL for Sources.
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|