ibus-libzhuyin/ibus-libzhuyin.spec

108 lines
2.8 KiB
RPMSpec
Raw Normal View History

2015-09-17 05:58:00 +00:00
%global snapshot 1
2015-01-07 05:18:00 +00:00
2014-07-04 03:11:43 +00:00
Name: ibus-libzhuyin
2015-08-19 05:22:07 +00:00
Version: 1.7.4
2015-09-17 05:58:00 +00:00
Release: 2%{?dist}
2014-07-04 03:11:43 +00:00
Summary: New Zhuyin engine based on libzhuyin for IBus
License: GPLv2+
URL: https://github.com/libzhuyin/ibus-libzhuyin
Source0: http://downloads.sourceforge.net/libzhuyin/ibus-libzhuyin/%{name}-%{version}.tar.gz
2015-01-07 05:18:00 +00:00
%if %snapshot
Patch0: ibus-libzhuyin-1.7.x-HEAD.patch
%endif
2014-07-04 03:11:43 +00:00
BuildRequires: gettext-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: sqlite-devel
2015-01-07 05:18:00 +00:00
BuildRequires: opencc-devel >= 1.0.2
2014-07-04 03:11:43 +00:00
BuildRequires: ibus-devel >= 1.3
BuildRequires: libzhuyin-devel >= 0.9.93
2015-04-07 05:50:28 +00:00
BuildRequires: python3-devel
2014-07-04 03:11:43 +00:00
# Requires(post): sqlite
Requires: ibus >= 1.3.0
Requires: libzhuyin-data >= 0.9.93
%description
It includes a Chinese Zhuyin (Bopomofo) input method
based on libzhuyin for IBus.
%prep
%setup -q
2015-01-07 05:18:00 +00:00
%if %snapshot
%patch0 -p1 -b .head
%endif
2014-07-04 03:11:43 +00:00
%build
%configure --disable-static \
2015-04-07 05:50:28 +00:00
--disable-boost \
--with-python=python3
2014-07-04 03:11:43 +00:00
# make -C po update-gmo
make %{?_smp_mflags} V=1
%install
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
2015-03-24 04:15:46 +00:00
%find_lang %{name}
%files -f %{name}.lang
2015-08-19 05:47:07 +00:00
%doc AUTHORS COPYING README ChangeLog INSTALL NEWS
2015-04-07 05:50:28 +00:00
%{_datadir}/appdata/*.appdata.xml
2014-09-29 07:31:51 +00:00
%{_datadir}/applications/ibus-setup-libzhuyin.desktop
2014-07-04 03:11:43 +00:00
%{_libexecdir}/ibus-engine-libzhuyin
%{_libexecdir}/ibus-setup-libzhuyin
%{_datadir}/ibus-libzhuyin/setup
%dir %{_datadir}/ibus-libzhuyin
%{_datadir}/ibus/component/*
2014-09-29 07:31:51 +00:00
%{_datadir}/ibus-libzhuyin/icons
%{_datadir}/ibus-libzhuyin/*symbol.txt
2014-07-04 03:11:43 +00:00
%changelog
2015-09-17 05:58:00 +00:00
* Thu Sep 17 2015 Peng Wu <pwu@redhat.com> - 1.7.4-2
- Fixes cursor behavior
2015-08-19 05:22:07 +00:00
* Wed Aug 19 2015 Peng Wu <pwu@redhat.com> - 1.7.4-1
- Update to 1.7.4
2015-07-01 04:10:32 +00:00
* Wed Jul 1 2015 Peng Wu <pwu@redhat.com> - 1.7.3-1
- Update to 1.7.3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-05-11 07:37:46 +00:00
* Mon May 11 2015 Peng Wu <pwu@redhat.com> - 1.7.2-1
- Update to 1.7.2
2015-05-02 12:22:44 +00:00
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.7.1-2
- Rebuilt for GCC 5 C++11 ABI change
2015-04-07 05:50:28 +00:00
* Tue Apr 7 2015 Peng Wu <pwu@redhat.com> - 1.7.1-1
- Update to 1.7.1
2015-03-24 04:15:46 +00:00
* Tue Mar 24 2015 Peng Wu <pwu@redhat.com> - 1.7.0-1
- Update to 1.7.0
2015-01-07 05:18:00 +00:00
* Wed Jan 7 2015 Peng Wu <pwu@redhat.com> - 1.6.99.20140929-2
- Use opencc 1.0.2
2014-09-29 07:31:51 +00:00
* Mon Sep 29 2014 Peng Wu <pwu@redhat.com> - 1.6.99.20140929-1
- Update to 1.6.99.20140929
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.99.20140718-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-18 07:15:45 +00:00
* Fri Jul 18 2014 Peng Wu <pwu@redhat.com> - 1.6.99.20140718-1
- Update to 1.6.99.20140718
2014-07-04 03:11:43 +00:00
* Thu Jul 3 2014 Peng Wu <pwu@redhat.com> - 1.6.99.20140626-2
- Improves spec.
* Fri Jun 01 2012 Peng Wu <pwu@redhat.com> - 1.6.99.20140626-1
- The first version.