037115e
Name:       ibus-pinyin
Peng Wu 61ce156
Version:    1.5.0
7612fbc
Release:    14%{?dist}
f5e8e46
Summary:    The Chinese Pinyin and Bopomofo engines for IBus input platform
037115e
License:    GPLv2+
037115e
Group:      System Environment/Libraries
2184189
URL:        http://code.google.com/p/ibus
037115e
Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
Peng Wu f25ea98
Patch0:     ibus-pinyin-fixes-lua-compile.patch
Peng Wu 9ad5974
Patch1:     ibus-pinyin-support-set-content-type-method.patch
037115e
Peng Wu 0a5e9eb
BuildRequires:  gcc-c++
Peng Wu 8547ec9
BuildRequires:  gnome-common
037115e
BuildRequires:  gettext-devel
2184189
BuildRequires:  intltool
2184189
BuildRequires:  libtool
2184189
BuildRequires:  pkgconfig
2184189
BuildRequires:  sqlite-devel
2184189
BuildRequires:  libuuid-devel
Peng Wu 9ad5974
BuildRequires:  ibus-devel >= 1.5.4
793d137
BuildRequires:  lua-devel >= 5.1
Peng Wu c8c2fd3
BuildRequires:  opencc-devel
Peng Wu a080c65
BuildRequires:  pyzy-devel
2184189
2184189
# Requires(post): sqlite
037115e
Peng Wu 40cbb05
Requires:   ibus >= 1.5.4
Peng Wu 23ea4fc
037115e
037115e
%description
Peng Wu 6fd8667
The Chinese Pinyin and Bopomofo input methods for IBus platform.
2184189
037115e
%prep
037115e
%setup -q
Peng Wu f25ea98
%patch0 -p1 -b .lua
Peng Wu 9ad5974
%patch1 -p1 -b .CVE
Peng Wu a080c65
037115e
037115e
%build
Peng Wu 8547ec9
./autogen.sh
Peng Wu 8b917e1
%configure --disable-static --enable-db-open-phrase \
Peng Wu e1ab7bf
           --enable-opencc \
Peng Wu e1ab7bf
           --disable-boost
Peng Wu e1ab7bf
037115e
# make -C po update-gmo
037115e
make %{?_smp_mflags}
037115e
037115e
%install
2184189
make DESTDIR=${RPM_BUILD_ROOT} install
037115e
fe98404
%find_lang %{name}
037115e
a32cfd7
fe98404
%files -f %{name}.lang
037115e
%doc AUTHORS COPYING README
0e442c6
%{_libexecdir}/ibus-engine-pinyin
0e442c6
%{_libexecdir}/ibus-setup-pinyin
e64b4bb
%{_datadir}/ibus-pinyin/phrases.txt
2184189
%{_datadir}/ibus-pinyin/icons
2184189
%{_datadir}/ibus-pinyin/setup
Peng Wu a080c65
%{_datadir}/applications/ibus-setup-bopomofo.desktop
Peng Wu a080c65
%{_datadir}/applications/ibus-setup-pinyin.desktop
2184189
%dir %{_datadir}/ibus-pinyin
2184189
%dir %{_datadir}/ibus-pinyin/db
2184189
%{_datadir}/ibus/component/*
793d137
%{_datadir}/ibus-pinyin/base.lua
Peng Wu d77535e
%{_datadir}/ibus-pinyin/db/english.db
2184189
a32cfd7
037115e
%changelog
7612fbc
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-14
7612fbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7612fbc
df0c2f3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-13
df0c2f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
df0c2f3
442e656
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-12
442e656
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
442e656
b5d7e6a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-11
b5d7e6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b5d7e6a
c555487
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-10
c555487
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c555487
Peng Wu 40cbb05
* Tue Jun 23 2015 Peng Wu <pwu@redhat.com> - 1.5.0-9
Peng Wu 40cbb05
- Rebuilt for pyzy
Peng Wu 40cbb05
2832be2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-8
2832be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2832be2
619d82a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-7
619d82a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
619d82a
f57038a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-6
f57038a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f57038a
Peng Wu 9ad5974
* Fri Nov  8 2013 Peng Wu <pwu@redhat.com> - 1.5.0-5
Peng Wu 9ad5974
- Fixes ibus: visible password entry flaw. (rhbz#1027029) (CVE-2013-4509)
Peng Wu 9ad5974
Peng Wu f25ea98
* Tue Aug  6 2013 Peng Wu <pwu@redhat.com> - 1.5.0-4
Peng Wu f25ea98
- Fixes lua 5.2 compile
Peng Wu f25ea98
f9bb043
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
f9bb043
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f9bb043
2136deb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
2136deb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2136deb
Peng Wu 61ce156
* Mon Jan 14 2013 Peng Wu <pwu@redhat.com> - 1.5.0-1
Peng Wu 61ce156
- Update to 1.5.0
Peng Wu 61ce156
Peng Wu 23ea4fc
* Mon Dec 17 2012 Peng Wu <pwu@redhat.com> - 1.4.99.20120808-3
Peng Wu 23ea4fc
- Fixes requires
Peng Wu 23ea4fc
Peng Wu e1d9313
* Fri Dec 14 2012 Peng Wu <pwu@redhat.com> - 1.4.99.20120808-2
Peng Wu e1d9313
- Rebuilt for pyzy
Peng Wu e1d9313
Peng Wu a080c65
* Tue Dec 11 2012 Peng Wu <pwu@redhat.com> - 1.4.99.20120808-1
Peng Wu a080c65
- Update to 1.4.99.20120808
Peng Wu a080c65
f286389
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.99.20120620-3
f286389
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f286389
Peng Wu 0fedbd0
* Tue Jul 10 2012  Peng Wu <pwu@redhat.com> - 1.4.99.20120620-2
Peng Wu 0fedbd0
- Fixes spec
Peng Wu 0fedbd0
Peng Wu 61fe8b1
* Mon Jun 25 2012  Peng Wu <pwu@redhat.com> - 1.4.99.20120620-1
Peng Wu 61fe8b1
- Update to 1.4.99.20120620
Peng Wu 61fe8b1
Peng Wu 5febd60
* Tue Jun 12 2012  Peng Wu <pwu@redhat.com> - 1.4.0-17
Peng Wu 5febd60
- Remove the libpinyin integration patch
Peng Wu 5febd60
Peng Wu 4e337a1
* Thu Apr 12 2012  Peng Wu <pwu@redhat.com> - 1.4.0-16
Peng Wu 4e337a1
- Fixes commit method in libpinyin bopomofo editor
Peng Wu 4e337a1
Peng Wu 70bb791
* Tue Mar 27 2012  Peng Wu <pwu@redhat.com> - 1.4.0-15
Peng Wu 70bb791
- Rebuilt for libpinyin-0.5.92
Peng Wu 70bb791
Peng Wu b129177
* Tue Mar 06 2012  Peng Wu <pwu@redhat.com> - 1.4.0-14
Peng Wu b129177
- Rebuilt for ibus-1.4.99
Peng Wu b129177
ddab85d
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-13
ddab85d
- Rebuilt for c++ ABI breakage
ddab85d
Peng Wu f809af3
* Thu Feb 16 2012  Peng Wu <pwu@redhat.com> - 1.4.0-12
Peng Wu f809af3
- Auto detect the ibus-pinyin data files
Peng Wu f809af3
Peng Wu fb94c97
* Mon Feb 13 2012  Peng Wu <pwu@redhat.com> - 1.4.0-11
Peng Wu fb94c97
- Fixes use enter key to input English
Peng Wu fb94c97
Peng Wu 2bad92e
* Fri Feb 03 2012  Peng Wu <pwu@redhat.com> - 1.4.0-10
Peng Wu 2bad92e
- Rebuilt for opencc 0.3.0
Peng Wu 2bad92e
Peng Wu 78155ab
* Tue Jan 31 2012  Peng Wu <pwu@redhat.com> - 1.4.0-9
Peng Wu 78155ab
- Bring back ibus-pinyin-db-open-phrase
Peng Wu 78155ab
Peng Wu 78155ab
* Mon Jan 30 2012  Peng Wu <pwu@redhat.com> - 1.4.0-8
Peng Wu 78155ab
- Removes and obsoletes ibus-pinyin-db-open-phrase
Peng Wu 78155ab
Peng Wu a57126d
* Mon Jan 30 2012  Peng Wu <pwu@redhat.com> - 1.4.0-7
Peng Wu a57126d
- Fixes Bopomofo Engine
Peng Wu a57126d
Peng Wu 1f45c75
* Sun Jan 29 2012  Peng Wu <pwu@redhat.com> - 1.4.0-6
Peng Wu 1f45c75
- Enable Intelligent Bopomofo
Peng Wu 1f45c75
Peng Wu 4868b80
* Wed Jan 18 2012  Peng Wu <pwu@redhat.com> - 1.4.0-5
Peng Wu 4868b80
- Re-build for libpinyin 0.5.0
Peng Wu 4868b80
Peng Wu 4f9e5db
* Mon Jan 16 2012  Peng Wu <pwu@redhat.com> - 1.4.0-4
Peng Wu 4f9e5db
- Fixes ibus-pinyin-libpinyin-integration.patch
Peng Wu 4f9e5db
Peng Wu b6ebcd6
* Fri Jan 13 2012  Peng Wu <pwu@redhat.com> - 1.4.0-3
Peng Wu b6ebcd6
- Update ibus-pinyin-libpinyin-integration.patch
Peng Wu b6ebcd6
e6e1e78
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
e6e1e78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e6e1e78
Peng Wu e9d6d3f
* Tue Dec 27 2011  Peng Wu <pwu@redhat.com> - 1.4.0-1
Peng Wu e9d6d3f
- Update to 1.4.0, and refresh ibus-pinyin-libpinyin-integration.patch
Peng Wu e9d6d3f
Peng Wu e1ab7bf
* Wed Nov 30 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-13
Peng Wu e1ab7bf
- Change i386 to i686
Peng Wu e1ab7bf
Peng Wu e1ab7bf
* Wed Nov 30 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-12
Peng Wu e1ab7bf
- Only enable opencc on i386 and x86_64
Peng Wu e1ab7bf
Peng Wu ed3cbff
* Fri Nov 25 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-11
Peng Wu ed3cbff
- Fixes process space in libpinyin phonetic editor
Peng Wu ed3cbff
Peng Wu e733aea
* Tue Nov 22 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-10
Peng Wu e733aea
- Fixes 'nv' handle in full pinyin editor
Peng Wu e733aea
Peng Wu f80720b
* Fri Nov 18 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-9
Peng Wu f80720b
- Re-build for libpinyin 0.3.0
Peng Wu f80720b
Peng Wu 3ea632b
* Mon Nov 14 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-8
Peng Wu 3ea632b
- Fixes 'dia', (rhbz#753687)
Peng Wu 3ea632b
Peng Wu fd70c01
* Tue Nov 08 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-7
Peng Wu fd70c01
- Updates ibus-pinyin-libpinyin-integration.patch
Peng Wu fd70c01
Peng Wu ca1389f
* Tue Nov 08 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-6
Peng Wu ca1389f
- Improves pinyin default input style. (rhbz#751923)
Peng Wu ca1389f
Peng Wu 58d01b0
* Thu Nov 03 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-5
Peng Wu 58d01b0
- Fixes crashes, update ibus-pinyin-libpinyin-integration.patch
Peng Wu 58d01b0
Peng Wu 1a2b74b
* Mon Oct 31 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-4
Peng Wu 1a2b74b
- Fixes pinyin.xml.in.in
Peng Wu 1a2b74b
Peng Wu 1cc5988
* Thu Oct 27 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-3
Peng Wu 1cc5988
- Add ibus-pinyin-libpinyin-integration.patch
Peng Wu 1cc5988
Peng Wu 09dbfb5
* Mon Aug 01 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-2
Peng Wu 09dbfb5
- Add ibus-pinyin-xx-icon-symbol.patch
Peng Wu 09dbfb5
Peng Wu c559aff
* Mon Aug 01 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110706-1
Peng Wu c559aff
- Update to 1.3.99.20110706
Peng Wu c559aff
Peng Wu 3f25609
* Mon May 23 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110520-1
Peng Wu 3f25609
- Update to 1.3.99.20110520
Peng Wu 3f25609
Peng Wu 2b6fb87
* Wed Mar 02 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110217-2
Peng Wu 2b6fb87
- Disable boost when configure to fix compiling
Peng Wu 2b6fb87
Peng Wu 2b6fb87
* Wed Mar 02 2011  Peng Wu <pwu@redhat.com> - 1.3.99.20110217-1
Peng Wu 2b6fb87
- Update version to 1.3.99.20110217
Peng Wu 2b6fb87
bad1677
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.99.20101029-2
bad1677
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bad1677
Peng Wu 30b095e
* Mon Nov 08 2010  Peng Wu <pwu@redhat.com> - 1.3.99.20101029-1
Peng Wu 30b095e
- Update to 1.3.99.20101029.
Peng Wu 30b095e
Peng Wu a09d870
* Fri Nov 05 2010  Peng Wu <pwu@redhat.com> - 1.3.11-2
Peng Wu a09d870
- Re-built for f15.
Peng Wu a09d870
Peng Wu 1e4ac29
* Tue Sep 28 2010  Peng Wu <pwu@redhat.com> - 1.3.11-1
Peng Wu 1e4ac29
- Update to 1.3.11
Peng Wu 1e4ac29
Peng Wu c8c2fd3
* Fri Aug 27 2010  Peng Wu <pwu@redhat.com> - 1.3.10-1
Peng Wu c8c2fd3
- Update to 1.3.10, and enable opencc support.
Peng Wu c8c2fd3
ad017af
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 1.3.9-2
ad017af
- recompiling .py files against Python 2.7 (rhbz#623319)
ad017af
793d137
* Fri Jul 16 2010  Peng Wu <pwu@redhat.com> - 1.3.9-1
793d137
- Update to 1.3.9
793d137
7571a19
* Sat May 29 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.8-1
7571a19
- Update to 1.3.8
7571a19
4f04d18
* Fri May 28 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.7-1
4f04d18
- Update to 1.3.7
4f04d18
a32cfd7
* Mon May 03 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.5-1
a32cfd7
- Update to 1.3.5
a32cfd7
- Add MS double pinyin back.
a32cfd7
- Fix a problem in double pinyin parser.
a32cfd7
a32cfd7
* Sun May 02 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.4-1
a32cfd7
- Update to 1.3.4
a32cfd7
e64b4bb
* Thu Apr 15 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.3-1
e64b4bb
- Update to 1.3.3
e64b4bb
e64b4bb
* Sun Apr 11 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.2-1
e64b4bb
- Update to 1.3.2
e64b4bb
e64b4bb
* Mon Apr 05 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.1-1
e64b4bb
- Update to 1.3.1
e64b4bb
e64b4bb
* Fri Mar 26 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.3.0-1
e64b4bb
- Update to 1.3.0
e64b4bb
- Fix some double pinyin problems.
e64b4bb
e64b4bb
* Thu Mar 18 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100318-1
e64b4bb
- Update to 1.2.99.20100318
e64b4bb
- Fix some double pinyin problems.
e64b4bb
e64b4bb
* Mon Mar 15 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100315-1
e64b4bb
- Update to 1.2.99.20100315
e64b4bb
6da122c
* Mon Mar 08 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100308-1
6da122c
- Update to 1.2.99.20100308
6da122c
ea1e730
* Fri Feb 19 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100212-1
ea1e730
- Update to 1.2.99.20100212
ea1e730
df3624e
* Thu Feb 11 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100211-1
df3624e
- Update to 1.2.99.20100211
df3624e
- Add BuildRequires libsigc++20-devel
df3624e
eab4d00
* Tue Feb 02 2010 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20100202-1
eab4d00
- Update to 1.2.99.20100202
eab4d00
2184189
* Fri Dec 11 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.99.20091211-1
eab4d00
- Update to 1.2.99.20091211
2184189
d775a11
* Thu Dec 10 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090915-2
d775a11
- Correct pinyin database download location.
d775a11
0122b98
* Tue Sep 15 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090915-1
0122b98
- Update to 1.2.0.20090915.
0122b98
- Fix bug 508006 - The color of English Candidates doesn't work
0122b98
d54ad9a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.20090617-2
d54ad9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d54ad9a
Peng Wu f25ea98
* Wed Jun 17 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090617-1
424108c
- Update to 1.2.0.20090617.
424108c
424108c
* Fri Jun 12 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090612-1
9918221
- Update to 1.1.0.20090612.
9918221
424108c
* Mon May 25 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090303-2
9918221
- Update to HEAD version in upstream git repository
9918221
- Fix bug 500762 - The iBus input speed becomes much slower after "Fuzzy PinYin" enabled
9918221
- Fix bug 501218 - make the pinyin setup window come to the front
9918221
- Fix bug 500763 - User DB is unavailable in ibus for liveCD
9918221
424108c
* Tue Mar 3 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090303-1
07677bc
- Update to 1.1.0.20090303.
07677bc
424108c
* Wed Feb 25 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090225-1
e164d13
- Update to 1.1.0.20090225.
e164d13
e858136
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0.20090211-2
e858136
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e858136
424108c
* Wed Feb 11 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-1
6d27653
- Update version to 1.1.0.20090211.
6d27653
424108c
* Thu Feb 05 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090205-1
0e442c6
- Update version to 1.1.0.20090205.
0e442c6
35039b6
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081004-2
35039b6
- Rebuild for Python 2.6
35039b6
424108c
* Sat Oct 04 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081004-1
d5e3e20
- Update version to 0.1.1.20081004.
d5e3e20
424108c
* Thu Sep 18 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080918-1
2182346
- Update version to 0.1.1.20080918.
2182346
424108c
* Mon Sep 01 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
d3aa054
- Update version to 0.1.1.20080901.
d3aa054
424108c
* Sat Aug 23 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080823-1
037115e
- The first version.