Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Peng Wu
30cc993ff4 Update to 2.11.91 2026-01-04 14:09:47 +08:00
Peng Wu
21d4cd325f Fix some typos 2025-09-18 14:59:04 +08:00
Peng Wu
6f6018875c Update to 2.10.3 2025-09-18 14:30:12 +08:00
Fedora Release Engineering
a793251367 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 20:10:58 +00:00
3 changed files with 16 additions and 15 deletions

2
.gitignore vendored
View file

@ -62,3 +62,5 @@
/libpinyin-2.10.0.tar.gz
/libpinyin-2.10.1.tar.gz
/libpinyin-2.10.2.tar.gz
/libpinyin-2.10.3.tar.gz
/libpinyin-2.11.91.tar.gz

View file

@ -1,16 +1,11 @@
%global snapshot 0
Name: libpinyin
Version: 2.10.2
Version: 2.11.91
Release: 1%{?dist}
Summary: Library to deal with pinyin
License: GPL-3.0-or-later
URL: https://github.com/libpinyin/libpinyin
Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz
%if %snapshot
Patch0: libpinyin-2.10.x-head.patch
%endif
BuildRequires: gcc-c++
BuildRequires: kyotocabinet-devel, glib2-devel
@ -59,10 +54,6 @@ The libzhuyin package contains libzhuyin compatibility library.
%prep
%setup -q
%if %snapshot
%patch -P0 -p1 -b .head
%endif
%build
%configure --disable-static \
--with-dbm=KyotoCabinet \
@ -77,9 +68,6 @@ make check
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets
%files
%doc AUTHORS COPYING README
%{_libdir}/libpinyin*.so.*
@ -108,7 +96,18 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/libzhuyin*.so.*
%changelog
* Fri May 16 2025 Peng Wu <pwu@redhat.com> - 2.10.2-1
* Sun Jan 04 2026 Peng Wu <pwu@redhat.com> - 2.11.91-1
- Update to 2.11.91
- support "sua" and "zua" pinyin input
* Thu Sep 18 2025 Peng Wu <pwu@redhat.com> - 2.10.3-1
- Update to 2.10.3
- bug fixes
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri May 16 2025 Peng Wu <pwu@redhat.com> - 2.10.2-1
- Update to 2.10.2
- fix memory leaks

View file

@ -1 +1 @@
SHA512 (libpinyin-2.10.2.tar.gz) = 120ca46df86accc9e223bc4736de955dd34009853cb19be98514ad30c283eb04df77af6e76572ff41f0ac2d853be302cf71cafff97a9fa5962316be14164d196
SHA512 (libpinyin-2.11.91.tar.gz) = cfcc5c92ab5e392119d4a78e6e2e77dc620fee65647c23c39443e20dabc0717c83c9387bf4dba3066d5ba17e904cb2ec09dc80b5fb11aef315853dff14ca5c1b