Peng Wu 9fd9caf
Name:           librime
a708ecd
Version:        1.9.0
0d01885
Release:        2%{?dist}
Peng Wu 9fd9caf
Summary:        Rime Input Method Engine Library
Peng Wu 9fd9caf
b8ee9a4
License:        GPL-3.0-only
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
696c02a
BuildRequires:  yaml-cpp-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
b55176e
%autosetup -p1
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%build
696c02a
%cmake -DCMAKE_BUILD_TYPE=Release
b55176e
%cmake_build
b55176e
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%install
b55176e
%cmake_install
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
696c02a
%{_bindir}/rime_patch
a708ecd
%{_bindir}/rime_table_decompiler
Peng Wu 9fd9caf
Peng Wu 9fd9caf
Peng Wu 9fd9caf
%changelog
0d01885
* Thu Jan 18 2024 Jonathan Wakely <jwakely@redhat.com> - 1.9.0-2
0d01885
- Rebuilt for Boost 1.83
0d01885
a708ecd
* Fri Sep 22 2023 Peng Wu <pwu@redhat.com> - 1.9.0-1
a708ecd
- Update to 1.9.0
a708ecd
- Resolves: RHBZ#2239362
a708ecd
ec5d550
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.5-3
ec5d550
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
ec5d550
b8ee9a4
* Thu Apr 20 2023 Peng Wu <pwu@redhat.com> - 1.8.5-2
b8ee9a4
- Migrate to SPDX license
b8ee9a4
f82b7a4
* Thu Mar  9 2023 Peng Wu <pwu@redhat.com> - 1.8.5-1
f82b7a4
- Update to 1.8.5
f82b7a4
- Resolves: RHBZ#2167229
f82b7a4
1df2aea
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 1.8.4-2
1df2aea
- Rebuilt for Boost 1.81
1df2aea
5c231d0
* Tue Jan 31 2023 Peng Wu <pwu@redhat.com> - 1.8.4-1
5c231d0
- Update to 1.8.4
5c231d0
- Resolves: RHBZ#2165654
5c231d0
81acf6b
* Sat Jan 28 2023 Peng Wu <pwu@redhat.com> - 1.8.3-1
81acf6b
- Update to 1.8.3
81acf6b
- Resolves: RHBZ#2164891
81acf6b
ad4e08a
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-6
ad4e08a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
ad4e08a
4d176a5
* Fri Dec 02 2022 Fabio Valentini <decathorpe@gmail.com> - 1.7.3-5
4d176a5
- Rebuild for capnproto 0.10.3 / CVE-2022-46149
4d176a5
99eacbf
* Tue Nov 29 2022 Neal Gompa <ngompa@fedoraproject.org> - 1.7.3-4
99eacbf
- Rebuild for capnproto 0.10.2
99eacbf
8cab754
* Tue Nov 08 2022 Richard Shaw <hobbes1069@gmail.com> - 1.7.3-3
8cab754
- Rebuild for yaml-cpp 0.7.0.
8cab754
5ed41a6
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-2
5ed41a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5ed41a6
e37bf09
* Mon Jun 13 2022 Peng Wu <pwu@redhat.com> - 1.7.3-1
e37bf09
- Update to 1.7.3
e37bf09
dc9ac8e
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 1.7.2-6
dc9ac8e
- Rebuilt for Boost 1.78
dc9ac8e
c6be08d
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-5
c6be08d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
c6be08d
329fb7a
* Tue Dec 21 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.7.2-4
329fb7a
- Rebuild for capnproto 0.9.1
329fb7a
2e6013c
* Mon Aug 09 2021 Jonathan Wakely <jwakely@redhat.com> - 1.7.2-3
2e6013c
- Patched and rebuilt for Boost 1.76
390c50b
f3cc9f7
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
f3cc9f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
f3cc9f7
aa97c67
* Mon Jul 12 2021 Peng Wu <pwu@redhat.com> - 1.7.2-1
aa97c67
- Update to 1.7.2
aa97c67
d16233e
* Mon May 10 2021 Jonathan Wakely <jwakely@redhat.com> - 1.6.1-5
d16233e
- Rebuilt for removed libstdc++ symbols (#1937698)
d16233e
8af6040
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 1.6.1-4
8af6040
- Rebuilt for removed libstdc++ symbol (#1937698)
8af6040
344d103
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
344d103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
344d103
cf52d4f
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 1.6.1-2
cf52d4f
- Rebuilt for Boost 1.75
cf52d4f
696c02a
* Thu Dec 17 2020 Peng Wu <pwu@redhat.com> - 1.6.1-1
696c02a
- Update to 1.6.1
696c02a
b55176e
* Wed Aug  5 2020 Peng Wu <pwu@redhat.com> - 1.5.3-6
b55176e
- Use cmake macro
b55176e
80092ee
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-5
80092ee
- Second attempt - Rebuilt for
80092ee
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
80092ee
9a43323
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-4
9a43323
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9a43323
23bf075
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 1.5.3-3
23bf075
- Rebuilt for Boost 1.73
23bf075
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