Peng Wu 3033ff0
%global snapshot 0
Peng Wu ab7acbb
Peng Wu d3a5b64
Name:       ibus-libzhuyin
Peng Wu 60e1405
Version:    1.8.92
Peng Wu 99019da
Release:    1%{?dist}
Peng Wu d3a5b64
Summary:    New Zhuyin engine based on libzhuyin for IBus
Peng Wu d3a5b64
License:    GPLv2+
Peng Wu d3a5b64
URL:        https://github.com/libzhuyin/ibus-libzhuyin
Peng Wu d3a5b64
Source0:    http://downloads.sourceforge.net/libzhuyin/ibus-libzhuyin/%{name}-%{version}.tar.gz
Peng Wu ab7acbb
%if %snapshot
Peng Wu c8c37cc
Patch0:     ibus-libzhuyin-1.9.x-HEAD.patch
Peng Wu ab7acbb
%endif
Peng Wu d3a5b64
Peng Wu c27911d
BuildRequires:  gcc-c++
Peng Wu d3a5b64
BuildRequires:  gettext-devel
Peng Wu d3a5b64
BuildRequires:  intltool
Peng Wu d3a5b64
BuildRequires:  libtool
Peng Wu d3a5b64
BuildRequires:  pkgconfig
Peng Wu d3a5b64
BuildRequires:  sqlite-devel
Peng Wu ab7acbb
BuildRequires:  opencc-devel >= 1.0.2
Peng Wu d3a5b64
BuildRequires:  ibus-devel >= 1.3
Peng Wu 5e8a850
BuildRequires:  libpinyin-devel >= 2.0.91
Peng Wu 56c5dad
BuildRequires:  python3-devel
Peng Wu 5e8a850
BuildRequires:  libpinyin-tools
Peng Wu d3a5b64
Peng Wu d3a5b64
# Requires(post): sqlite
Peng Wu d3a5b64
Peng Wu d3a5b64
Requires:   ibus >= 1.3.0
Peng Wu 5e8a850
Provides:   libzhuyin-data = 1.1.2
Peng Wu 5e8a850
Obsoletes:  libzhuyin-data < 1.1.2
Peng Wu d3a5b64
Peng Wu d3a5b64
%description
Peng Wu d3a5b64
It includes a Chinese Zhuyin (Bopomofo) input method
Peng Wu d3a5b64
based on libzhuyin for IBus.
Peng Wu d3a5b64
Peng Wu d3a5b64
%prep
Peng Wu d3a5b64
%setup -q
Peng Wu ab7acbb
%if %snapshot
Peng Wu ab7acbb
%patch0 -p1 -b .head
Peng Wu ab7acbb
%endif
Peng Wu ab7acbb
Peng Wu d3a5b64
Peng Wu d3a5b64
%build
Peng Wu d3a5b64
%configure --disable-static \
Peng Wu 56c5dad
           --disable-boost \
Peng Wu 56c5dad
           --with-python=python3
Peng Wu d3a5b64
Peng Wu d3a5b64
# make -C po update-gmo
Peng Wu d3a5b64
make %{?_smp_mflags} V=1
Peng Wu d3a5b64
Peng Wu d3a5b64
%install
Peng Wu d3a5b64
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
Peng Wu d3a5b64
Peng Wu b6590e8
%find_lang %{name}
Peng Wu b6590e8
Peng Wu b6590e8
%files -f %{name}.lang
Peng Wu 32c941f
%doc AUTHORS COPYING README ChangeLog INSTALL NEWS
Peng Wu 56c5dad
%{_datadir}/appdata/*.appdata.xml
Peng Wu 90973bd
%{_datadir}/glib-2.0/schemas/*.gschema.xml
Peng Wu 86211ec
%{_datadir}/applications/ibus-setup-libzhuyin.desktop
Peng Wu d3a5b64
%{_libexecdir}/ibus-engine-libzhuyin
Peng Wu d3a5b64
%{_libexecdir}/ibus-setup-libzhuyin
Peng Wu d3a5b64
%{_datadir}/ibus-libzhuyin/setup
Peng Wu d3a5b64
%dir %{_datadir}/ibus-libzhuyin
Peng Wu d3a5b64
%{_datadir}/ibus/component/*
Peng Wu 86211ec
%{_datadir}/ibus-libzhuyin/icons
Peng Wu 86211ec
%{_datadir}/ibus-libzhuyin/*symbol.txt
Peng Wu 5e8a850
%{_libdir}/ibus-libzhuyin/
Peng Wu 86211ec
Peng Wu d3a5b64
Peng Wu d3a5b64
%changelog
Peng Wu 60e1405
* Mon Apr  9 2018 Peng Wu <pwu@redhat.com> - 1.8.92-1
Peng Wu 60e1405
- Update to 1.8.92
Peng Wu 60e1405
- fixes easy symbol and user symbol
Peng Wu 60e1405
Peng Wu c8c37cc
* Thu Mar 22 2018 Peng Wu <pwu@redhat.com> - 1.8.91-1
Peng Wu c8c37cc
- Update to 1.8.91
Peng Wu c8c37cc
- migrate to use GSettings
Peng Wu c8c37cc
Peng Wu 89ce887
* Wed Feb  7 2018 Peng Wu <pwu@redhat.com> - 1.8.3-1
Peng Wu 89ce887
- Update to 1.8.3
Peng Wu 89ce887
- translate input method name in ibus menu
Peng Wu 89ce887
Peng Wu ee78bb0
* Wed Dec 13 2017 Peng Wu <pwu@redhat.com> - 1.8.2-1
Peng Wu ee78bb0
- Update to 1.8.2
Peng Wu ee78bb0
- fixes cursor move
Peng Wu ee78bb0
Peng Wu 039d000
* Thu Oct 26 2017 Peng Wu <pwu@redhat.com> - 1.8.1-1
Peng Wu 039d000
- Update to 1.8.1
Peng Wu 039d000
- bug fixes
Peng Wu 039d000
Peng Wu 99019da
* Fri Aug 25 2017 Peng Wu <pwu@redhat.com> - 1.8.0-1
Peng Wu 99019da
- Update to 1.8.0
Peng Wu 99019da
Peng Wu a4eef09
* Fri Aug 25 2017 Peng Wu <pwu@redhat.com> - 1.7.91-4
Peng Wu a4eef09
- Rebuilt for libpinyin 2.1.0
Peng Wu a4eef09
763a2e3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.91-3
763a2e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
763a2e3
e9fef95
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.91-2
e9fef95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e9fef95
Peng Wu 5e8a850
* Thu Jun  8 2017 Peng Wu <pwu@redhat.com> - 1.7.91-1
Peng Wu 5e8a850
- Update to 1.7.91
Peng Wu 5e8a850
- merge libzhuyin data
Peng Wu 5e8a850
ea252a6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.10-2
ea252a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ea252a6
Peng Wu 1b97aba
* Thu Oct 13 2016 Peng Wu <pwu@redhat.com> - 1.7.10-1
Peng Wu 1b97aba
- Update to 1.7.10
Peng Wu 1b97aba
Peng Wu 5ab5214
* Thu Sep 29 2016 Peng Wu <pwu@redhat.com> - 1.7.9-1
Peng Wu 5ab5214
- Update to 1.7.9
Peng Wu 5ab5214
Peng Wu fa99020
* Mon Sep  5 2016 Peng Wu <pwu@redhat.com> - 1.7.8-1
Peng Wu fa99020
- Update to 1.7.8
Peng Wu fa99020
Peng Wu 7ef3ba4
* Fri Jun  3 2016 Peng Wu <pwu@redhat.com> - 1.7.7-1
Peng Wu 7ef3ba4
- Update to 1.7.7
Peng Wu 7ef3ba4
8c9a9e7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.6-2
8c9a9e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8c9a9e7
Peng Wu 3033ff0
* Fri Dec 11 2015 Peng Wu <pwu@redhat.com> - 1.7.6-1
Peng Wu 3033ff0
- Update to 1.7.6
Peng Wu 3033ff0
Peng Wu 86aa909
* Tue Dec  8 2015 Peng Wu <pwu@redhat.com> - 1.7.5-2
Peng Wu 86aa909
- Fixes crash
Peng Wu 86aa909
Peng Wu 1edc10f
* Thu Nov 19 2015 Peng Wu <pwu@redhat.com> - 1.7.5-1
Peng Wu 1edc10f
- Update to 1.7.5
Peng Wu 1edc10f
ba2c983
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-3
ba2c983
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
ba2c983
Peng Wu 8c1ad47
* Thu Sep 17 2015 Peng Wu <pwu@redhat.com> - 1.7.4-2
Peng Wu 8c1ad47
- Fixes cursor behavior
Peng Wu 8c1ad47
Peng Wu 1338709
* Wed Aug 19 2015 Peng Wu <pwu@redhat.com> - 1.7.4-1
Peng Wu 1338709
- Update to 1.7.4
Peng Wu 1338709
Peng Wu 82eae8d
* Wed Jul  1 2015 Peng Wu <pwu@redhat.com> - 1.7.3-1
Peng Wu 82eae8d
- Update to 1.7.3
Peng Wu 82eae8d
f52b15b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-2
f52b15b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f52b15b
Peng Wu 3a0d5a1
* Mon May 11 2015 Peng Wu <pwu@redhat.com> - 1.7.2-1
Peng Wu 3a0d5a1
- Update to 1.7.2
Peng Wu 3a0d5a1
d585a4c
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.7.1-2
d585a4c
- Rebuilt for GCC 5 C++11 ABI change
d585a4c
Peng Wu 56c5dad
* Tue Apr  7 2015 Peng Wu <pwu@redhat.com> - 1.7.1-1
Peng Wu 56c5dad
- Update to 1.7.1
Peng Wu 56c5dad
Peng Wu b6590e8
* Tue Mar 24 2015 Peng Wu <pwu@redhat.com> - 1.7.0-1
Peng Wu b6590e8
- Update to 1.7.0
Peng Wu b6590e8
Peng Wu ab7acbb
* Wed Jan  7 2015 Peng Wu <pwu@redhat.com> - 1.6.99.20140929-2
Peng Wu ab7acbb
- Use opencc 1.0.2
Peng Wu ab7acbb
Peng Wu 86211ec
* Mon Sep 29 2014 Peng Wu <pwu@redhat.com> - 1.6.99.20140929-1
Peng Wu 86211ec
- Update to 1.6.99.20140929
Peng Wu 86211ec
2d00cb2
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.99.20140718-2
2d00cb2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2d00cb2
Peng Wu b1cf728
* Fri Jul 18 2014 Peng Wu <pwu@redhat.com> - 1.6.99.20140718-1
Peng Wu b1cf728
- Update to 1.6.99.20140718
Peng Wu b1cf728
Peng Wu d3a5b64
* Thu Jul  3 2014 Peng Wu <pwu@redhat.com> - 1.6.99.20140626-2
Peng Wu d3a5b64
- Improves spec.
Peng Wu d3a5b64
Peng Wu d3a5b64
* Fri Jun 01 2012  Peng Wu <pwu@redhat.com> - 1.6.99.20140626-1
Peng Wu d3a5b64
- The first version.