2012-06-12 02:54:25 +00:00
|
|
|
Name: ibus-libpinyin
|
2012-07-04 05:35:37 +00:00
|
|
|
Version: 1.4.1
|
2012-07-19 14:26:04 +00:00
|
|
|
Release: 5%{?dist}
|
2012-06-12 02:54:25 +00:00
|
|
|
Summary: Intelligent Pinyin engine based on libpinyin for IBus
|
|
|
|
License: GPLv2+
|
|
|
|
Group: System Environment/Libraries
|
2012-06-13 03:01:08 +00:00
|
|
|
URL: https://github.com/libpinyin/ibus-libpinyin
|
2012-06-12 02:54:25 +00:00
|
|
|
Source0: https://github.com/downloads/libpinyin/ibus-libpinyin/%{name}-%{version}.tar.gz
|
2012-07-04 05:35:37 +00:00
|
|
|
Patch0: ibus-libpinyin-1.4.x-head.patch
|
2012-06-12 02:54:25 +00:00
|
|
|
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: opencc-devel
|
|
|
|
BuildRequires: lua-devel
|
|
|
|
BuildRequires: ibus-devel >= 1.3
|
|
|
|
BuildRequires: libpinyin-devel >= 0.6.0
|
|
|
|
|
|
|
|
# Requires(post): sqlite
|
|
|
|
|
|
|
|
Requires: ibus >= 1.2.0
|
|
|
|
Requires: libpinyin-data >= 0.6.0
|
|
|
|
|
2012-07-05 06:57:13 +00:00
|
|
|
Provides: ibus-pinyin = 1.5.0
|
2012-07-16 06:23:09 +00:00
|
|
|
Obsoletes: ibus-pinyin < 1.4.0-17
|
2012-07-05 06:57:13 +00:00
|
|
|
|
2012-06-12 02:54:25 +00:00
|
|
|
%description
|
|
|
|
It includes a Chinese Pinyin input method and a Chinese ZhuYin (Bopomofo)
|
|
|
|
input method based on libpinyin for IBus.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-07-04 05:35:37 +00:00
|
|
|
%patch0 -p1 -b .head
|
2012-06-12 02:54:25 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static \
|
|
|
|
--enable-opencc \
|
|
|
|
--disable-boost
|
|
|
|
|
|
|
|
# make -C po update-gmo
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING README
|
|
|
|
%{_libexecdir}/ibus-engine-libpinyin
|
|
|
|
%{_libexecdir}/ibus-setup-libpinyin
|
|
|
|
%{_datadir}/ibus-libpinyin/phrases.txt
|
|
|
|
%{_datadir}/ibus-libpinyin/icons
|
|
|
|
%{_datadir}/ibus-libpinyin/setup
|
|
|
|
%{_datadir}/ibus-libpinyin/base.lua
|
|
|
|
%{_datadir}/ibus-libpinyin/db/english.db
|
|
|
|
%dir %{_datadir}/ibus-libpinyin
|
|
|
|
%dir %{_datadir}/ibus-libpinyin/db
|
|
|
|
%{_datadir}/ibus/component/*
|
|
|
|
|
|
|
|
%changelog
|
2012-07-19 14:26:04 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 07:07:29 +00:00
|
|
|
* Mon Jul 16 2012 Peng Wu <pwu@redhat.com> - 1.4.1-4
|
|
|
|
- Fixes obsoletes
|
|
|
|
|
2012-07-11 02:12:44 +00:00
|
|
|
* Wed Jul 11 2012 Peng Wu <pwu@redhat.com> - 1.4.1-3
|
|
|
|
- Update ibus-libpinyin-1.4.x-head.patch
|
|
|
|
|
2012-07-10 02:53:34 +00:00
|
|
|
* Tue Jul 10 2012 Peng Wu <pwu@redhat.com> - 1.4.1-2
|
|
|
|
- Update ibus-libpinyin-1.4.x-head.patch
|
|
|
|
|
2012-07-04 05:35:37 +00:00
|
|
|
* Wed Jul 04 2012 Peng Wu <pwu@redhat.com> - 1.4.1-1
|
|
|
|
- Update to 1.4.1
|
|
|
|
|
2012-06-12 02:54:25 +00:00
|
|
|
* Fri Jun 01 2012 Peng Wu <pwu@redhat.com> - 1.4.0-1
|
|
|
|
- The first version.
|