Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/libpinyin-2.2.0.tar.gz
|
||||
SOURCES/libpinyin-2.6.0.tar.gz
|
||||
|
||||
@ -1 +1 @@
|
||||
c22a322fd77ee84f65edfcc4b1f547849206df62 SOURCES/libpinyin-2.2.0.tar.gz
|
||||
19cd27bcb2ba6eb53fbf576f876a4be19fec8afe SOURCES/libpinyin-2.6.0.tar.gz
|
||||
|
||||
@ -1,19 +1,20 @@
|
||||
%global snapshot 0
|
||||
|
||||
Name: libpinyin
|
||||
Version: 2.2.0
|
||||
Release: 2%{?dist}
|
||||
Version: 2.6.0
|
||||
Release: 4%{?dist}
|
||||
Summary: Library to deal with pinyin
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://github.com/libpinyin/libpinyin
|
||||
Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz
|
||||
%if %snapshot
|
||||
Patch0: libpinyin-2.2.x-head.patch
|
||||
Patch0: libpinyin-2.3.x-head.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: kyotocabinet-devel, glib2-devel
|
||||
BuildRequires: libdb-devel, glib2-devel
|
||||
BuildRequires: make
|
||||
Requires: %{name}-data%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
@ -63,21 +64,19 @@ The libzhuyin package contains libzhuyin compatibility library.
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
--with-dbm=KyotoCabinet \
|
||||
--with-dbm=BerkeleyDB \
|
||||
--enable-libzhuyin
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
@ -108,9 +107,60 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
%{_libdir}/libzhuyin*.so.*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 24 2021 Peng Wu <pwu@redhat.com> - 2.2.0-2
|
||||
- Build libpinyin for RHEL 8 CRB
|
||||
- Resolves: #2006100
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.0-4
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.0-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Dec 15 2020 Peng Wu <pwu@redhat.com> - 2.6.0-1
|
||||
- Update to 2.6.0
|
||||
- bug fixes
|
||||
|
||||
* Thu Oct 22 2020 Peng Wu <pwu@redhat.com> - 2.4.92-1
|
||||
- Update to 2.4.92
|
||||
- update pinyin data
|
||||
- bug fixes
|
||||
|
||||
* Wed Aug 26 2020 Peng Wu <pwu@redhat.com> - 2.4.91-1
|
||||
- Update to 2.4.91
|
||||
- improve full pinyin auto correction
|
||||
- bug fixes
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 22 2020 Tom Stellard <tstellar@redhat.com> - 2.3.0-4
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Mar 18 2019 Peng Wu <pwu@redhat.com> - 2.3.0-1
|
||||
- Update to 2.3.0
|
||||
- update pinyin data
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 21 2019 Peng Wu <pwu@redhat.com> - 2.2.2-1
|
||||
- Update to 2.2.2
|
||||
- minor fixes
|
||||
|
||||
* Tue Oct 9 2018 Peng Wu <pwu@redhat.com> - 2.2.1-1
|
||||
- Update to 2.2.1
|
||||
- fixes predicted candidates
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Apr 17 2018 Peng Wu <pwu@redhat.com> - 2.2.0-1
|
||||
- Update to 2.2.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user