diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..c9a618551d7d788cde5f4326178966a3917277e9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..eec5ade37bfad80179a1ecf8d544be0eb2ff799a --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/libpinyin diff --git a/libpinyin-2.10.2.tar.gz b/libpinyin-2.10.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..56578f6d5364baf5a2e6953c401f9fa35a1f5be8 --- /dev/null +++ b/libpinyin-2.10.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c29d9dfd1e0dc521fa654b300cc5560bad82d6bed42e4b3ec9d71098fb26d80 +size 20624212 diff --git a/libpinyin-2.8.1.tar.gz b/libpinyin-2.8.1.tar.gz deleted file mode 100644 index 71e1d69ca2b967fa348fe6882e78840be1433819..0000000000000000000000000000000000000000 Binary files a/libpinyin-2.8.1.tar.gz and /dev/null differ diff --git a/libpinyin.spec b/libpinyin.spec index 4e927becff4950ecfd49a4a3fb6a357cb16ae5c6..c672b1e5477ee7c4ad1e6dee3e192c742796b8b2 100644 --- a/libpinyin.spec +++ b/libpinyin.spec @@ -1,11 +1,13 @@ Name: libpinyin -Version: 2.8.1 +Version: 2.10.2 Release: 1 Summary: Library to deal with pinyin -License: GPLv3+ +License: GPL-3.0-or-later URL: https://github.com/libpinyin/libpinyin -Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ glib2-devel libdb-devel make +Source0: https://github.com/libpinyin/libpinyin/releases/download/%{version}/libpinyin-%{version}.tar.gz +BuildRequires: gcc-c++ make +BuildRequires: pkgconfig(glib-2.0) >= 2.4.0 +BuildRequires: libdb-devel Provides: libpinyin-data = %{version}-%{release} Obsoletes: libpinyin-data < %{version}-%{release} Provides: libpinyin-tools = %{version}-%{release} @@ -47,14 +49,9 @@ make check %make_install %delete_la -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - %files -%doc AUTHORS COPYING +%license COPYING +%doc AUTHORS %{_libdir}/libpinyin*.so.* %dir %{_libdir}/libpinyin %{_libdir}/libpinyin/data @@ -75,6 +72,9 @@ make check %changelog +* Fri May 16 2025 Funda Wang - 2.10.2-1 +- update to 2.10.2 + * Mon Sep 04 2023 chenchen - 2.8.1-1 - Upgrade to version 2.8.1