Peng Wu 9fd9caf
Name:           librime
7d8f0ac
Version:        1.5.3
b00cd3f
Release:        3%{?dist}
Peng Wu 9fd9caf
Summary:        Rime Input Method Engine Library
Peng Wu 9fd9caf
Peng Wu 9fd9caf
License:        GPLv3
Peng Wu 28033d9
URL:            https://rime.im/
Peng Wu 28033d9
Source0:        https://github.com/rime/librime/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Peng Wu 9fd9caf
Peng Wu 0097d01
BuildRequires:  gcc-c++
Peng Wu 9fd9caf
BuildRequires:  cmake, opencc-devel
Peng Wu 9fd9caf
BuildRequires:  boost-devel >= 1.46
Peng Wu e95aec0
BuildRequires:  zlib-devel
Peng Wu 9fd9caf
BuildRequires:  glog-devel, gtest-devel
Peng Wu 9fd9caf
BuildRequires:  yaml-cpp-devel, kyotocabinet-devel
Peng Wu 28033d9
BuildRequires:  gflags-devel
Peng Wu 995a25d
BuildRequires:  marisa-devel
Peng Wu 28033d9
BuildRequires:  leveldb-devel
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%description
Peng Wu 9fd9caf
Rime Input Method Engine Library
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Support for shape-based and phonetic-based input methods,
Peng Wu a291839
including those for Chinese dialects.
Peng Wu 9fd9caf
Peng Wu 9fd9caf
A selected dictionary in Traditional Chinese,
Peng Wu a291839
powered by opencc for Simplified Chinese output.
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%package        devel
Peng Wu 9fd9caf
Summary:        Development files for %{name}
Peng Wu 9fd9caf
Requires:       %{name}%{?_isa} = %{version}-%{release}
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%description    devel
Peng Wu 9fd9caf
The %{name}-devel package contains libraries and header files for
Peng Wu 9fd9caf
developing applications that use %{name}.
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%package        tools
Peng Wu 9fd9caf
Summary:        Tools for %{name}
Peng Wu 9fd9caf
Requires:       %{name}%{?_isa} = %{version}-%{release}
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%description    tools
Peng Wu 9fd9caf
The %{name}-tools package contains tools for %{name}.
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%prep
Peng Wu 28033d9
%autosetup
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%build
7d8f0ac
mkdir cmake-build
7d8f0ac
pushd cmake-build
b00cd3f
%cmake .. -DCMAKE_BUILD_TYPE=Release
Peng Wu 9fd9caf
make VERBOSE=1 %{?_smp_mflags}
7d8f0ac
popd
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%install
7d8f0ac
pushd cmake-build
Peng Wu 9fd9caf
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
Peng Wu 9fd9caf
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
7d8f0ac
popd
Peng Wu 9fd9caf
Peng Wu 9fd9caf
4564f03
%ldconfig_scriptlets
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%files
Peng Wu 28033d9
%doc README.md LICENSE
Peng Wu 9fd9caf
%{_libdir}/*.so.*
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%files devel
Peng Wu 9fd9caf
%doc
Peng Wu 9fd9caf
%{_includedir}/*
Peng Wu 9fd9caf
%{_libdir}/*.so
Peng Wu 9fd9caf
%{_libdir}/pkgconfig/rime.pc
Peng Wu 9fd9caf
%dir %{_datadir}/cmake/rime
Peng Wu 9fd9caf
%{_datadir}/cmake/rime/RimeConfig.cmake
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%files tools
Peng Wu 9fd9caf
%{_bindir}/rime_deployer
Peng Wu 9fd9caf
%{_bindir}/rime_dict_manager
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%changelog
b00cd3f
* Wed Dec 23 2020 Peng Wu <pwu@redhat.com> - 1.5.3-3
b00cd3f
- Rebuilt for RHBZ#1907782
b00cd3f
37478c0
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
37478c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
37478c0
7d8f0ac
* Fri Nov 22 2019 Peng Wu <pwu@redhat.com> - 1.5.3-1
7d8f0ac
- Update to 1.5.3
7d8f0ac
4d78cfb
* Fri Oct 18 2019 Richard Shaw <hobbes1069@gmail.com> - 1.3.2-5
4d78cfb
- Rebuild for yaml-cpp 0.6.3.
4d78cfb
d1c50c3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-4
d1c50c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d1c50c3
4e3aa5a
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-3
4e3aa5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4e3aa5a
2f5999d
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 1.3.2-2
2f5999d
- Rebuilt for Boost 1.69
2f5999d
Peng Wu 28033d9
* Wed Nov 21 2018 Peng Wu <pwu@redhat.com> - 1.3.2-1
Peng Wu 28033d9
- Update to 1.3.2
Peng Wu 28033d9
f21bea0
* Wed Oct 10 2018 Sérgio Basto <sergio@serjux.com> - 1.2-24
f21bea0
- Rebuit for gflags-2.2.1
f21bea0
e62ce4c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-23
e62ce4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e62ce4c
5207f3a
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 1.2-22
5207f3a
- Rebuild to fix GCC 8 mis-compilation
5207f3a
  See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
5207f3a
02413d8
* Wed Feb 14 2018 Richard Shaw <hobbes1069@gmail.com> - 1.2-21
02413d8
- Rebuild for yaml-cpp 0.6.0.
02413d8
c68e1e5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-20
c68e1e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c68e1e5
b365d42
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 1.2-19
b365d42
- Rebuilt for Boost 1.66
b365d42
3f19335
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-18
3f19335
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3f19335
e705622
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-17
e705622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e705622
faf2287
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 1.2-16
faf2287
- Rebuilt for s390x binutils bug
faf2287
95a6468
* Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 1.2-15
95a6468
- Rebuilt for Boost 1.64
95a6468
8071c28
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-14
8071c28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
8071c28
f5d39e5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-13
f5d39e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f5d39e5
032aea4
* Sat Jan 28 2017 Jonathan Wakely <jwakely@redhat.com> - 1.2-12
032aea4
- Rebuilt for Boost 1.63
032aea4
4bdfcc5
* Tue Aug 23 2016 Richard Shaw <hobbes1069@gmail.com> - 1.2-11
4bdfcc5
- Rebuild for updated yaml-cpp
4bdfcc5
0bc2fad
* Tue May 17 2016 Jonathan Wakely <jwakely@redhat.com> - 1.2-10
0bc2fad
- Rebuilt for linker errors in boost (#1331983)
0bc2fad
74b17f7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-9
74b17f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
74b17f7
19f4881
* Mon Jan 18 2016 Jonathan Wakely <jwakely@redhat.com> - 1.2-8
19f4881
- Rebuilt for Boost 1.60
19f4881
4f3d019
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1.2-7
4f3d019
- Rebuilt for Boost 1.59
4f3d019
ae67946
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
ae67946
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
ae67946
99d3cbb
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.2-5
99d3cbb
- rebuild for Boost 1.58
99d3cbb
8ff5588
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
8ff5588
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8ff5588
87c9fd1
* Mon May 04 2015 Kalev Lember <kalevlember@gmail.com> - 1.2-3
87c9fd1
- Rebuilt for GCC 5 C++11 ABI change
87c9fd1
Petr Machata dd995bb
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1.2-2
Petr Machata dd995bb
- Rebuild for boost 1.57.0
Petr Machata dd995bb
Peng Wu 995a25d
* Tue Jan  6 2015 Peng Wu <pwu@redhat.com> - 1.2-1
Peng Wu 995a25d
- Update to 1.2
Peng Wu 995a25d
3f5dd9e
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
3f5dd9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3f5dd9e
4e8ce16
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
4e8ce16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4e8ce16
Petr Machata 192014e
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 1.1-4
Petr Machata 192014e
- Rebuild for boost 1.55.0
Petr Machata 192014e
Brent Baude 68f906b
* Thu May 22 2014 Brent Baude <baude@us.ibm.com> - 1.1-3
Brent Baude 68f906b
- FTBFS on all arches due to missing gflags.h
Brent Baude 68f906b
- Adding BR for gflags-devel 
Brent Baude 68f906b
Peng Wu 095b4dd
* Mon Dec 30 2013 Peng Wu <pwu@redhat.com> - 1.1-2
Peng Wu 095b4dd
- Update arm patch
Peng Wu 095b4dd
Peng Wu 1104f19
* Fri Dec 27 2013 Peng Wu <pwu@redhat.com> - 1.1-1
Peng Wu 1104f19
- Update to 1.1
Peng Wu 1104f19
Peng Wu e95aec0
* Mon Dec  9 2013 Peng Wu <pwu@redhat.com> - 1.0-1
Peng Wu e95aec0
- Update to 1.0
Peng Wu e95aec0
Peng Wu f106e84
* Mon Nov 25 2013 Peng Wu <pwu@redhat.com> - 0.9.9-1
Peng Wu f106e84
- Update to 0.9.9
Peng Wu f106e84
5ac6477
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-5
5ac6477
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5ac6477
Petr Machata 77d5942
* Sat Jul 27 2013 pmachata@redhat.com - 0.9.8-4
Petr Machata 77d5942
- Rebuild for boost 1.54.0
Petr Machata 77d5942
Peng Wu f5326bd
* Mon Jul 15 2013 Peng Wu <pwu@redhat.com> - 0.9.8-3
Peng Wu f5326bd
- Fixes arm build
Peng Wu f5326bd
Peng Wu 9fd9caf
* Thu May 16 2013 Peng Wu <pwu@redhat.com> - 0.9.8-2
Peng Wu 9fd9caf
- Improves the spec
Peng Wu 9fd9caf
Peng Wu 9fd9caf
* Thu May  9 2013 Peng Wu <pwu@redhat.com> - 0.9.8-1
Peng Wu 9fd9caf
- The Initial Version
Peng Wu 9fd9caf