cleanup spec

(cherry picked from commit 4b566a0b0095d6a75f057d98ec6cfda50d5513a0)
This commit is contained in:
Funda Wang 2025-02-02 17:30:25 +08:00 committed by openeuler-sync-bot
parent 41b1d5a97a
commit a603fc6a8a
2 changed files with 12 additions and 11 deletions

View File

@ -1,10 +1,10 @@
Name: sombok Name: sombok
Version: 2.4.0 Version: 2.4.0
Release: 9 Release: 10
Summary: Unicode Text Segmentation Package Summary: Unicode Text Segmentation Package
License: GPLv2+ and Artistic clarified License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND (GPL-2.0-or-later OR Artistic-1.0-Perl)
URL: https://github.com/hatukanezumi/sombok URL: https://github.com/hatukanezumi/sombok
Source0: https://github.com/hatukanezumi/sombok/archive/sombok-2.4.0.tar.gz Source0: https://github.com/hatukanezumi/sombok/archive/sombok-%{version}.tar.gz
BuildRequires: libthai-devel autoconf automake libtool BuildRequires: libthai-devel autoconf automake libtool
%description %description
@ -16,13 +16,13 @@ Cluster segmentation described in Annex #29 (UAX #29).
%package devel %package devel
Summary: Development files for sombok Summary: Development files for sombok
Requires: sombok = %{version}-%{release} pkgconfig Requires: sombok = %{version}-%{release}
%description devel %description devel
The sombok-devel package contains development files to build applications for sombok. The sombok-devel package contains development files to build applications for sombok.
%prep %prep
%autosetup -n sombok-sombok-2.4.0 -p1 %autosetup -n sombok-sombok-%{version} -p1
%build %build
autoreconf -vif autoreconf -vif
@ -33,11 +33,9 @@ autoreconf -vif
%make_install %make_install
%delete_la %delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%doc AUTHORS ChangeLog ChangeLog.REL1 NEWS README README.ja_JP COPYING %license COPYING
%doc AUTHORS ChangeLog ChangeLog.REL1 NEWS README README.ja_JP
%{_libdir}/libsombok.so.* %{_libdir}/libsombok.so.*
%files devel %files devel
@ -46,5 +44,8 @@ autoreconf -vif
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog
* Sun Feb 02 2025 Funda Wang <fundawang@yeah.net> - 2.4.0-10
- cleanup spec
* Wed Jan 8 2020 liujing<liujing144@huawei.com> - 2.4.0-9 * Wed Jan 8 2020 liujing<liujing144@huawei.com> - 2.4.0-9
- Package init - Package init

View File

@ -1,4 +1,4 @@
version_control: github version_control: github
src_repo: hatukanezumi/sombok src_repo: hatukanezumi/sombok
tag_prefix: sombok- tag_prefix: ^sombok-
seperator: . separator: .