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
Version: 2.4.0
Release: 9
Release: 10
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
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
%description
@ -16,13 +16,13 @@ Cluster segmentation described in Annex #29 (UAX #29).
%package devel
Summary: Development files for sombok
Requires: sombok = %{version}-%{release} pkgconfig
Requires: sombok = %{version}-%{release}
%description devel
The sombok-devel package contains development files to build applications for sombok.
%prep
%autosetup -n sombok-sombok-2.4.0 -p1
%autosetup -n sombok-sombok-%{version} -p1
%build
autoreconf -vif
@ -33,11 +33,9 @@ autoreconf -vif
%make_install
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%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.*
%files devel
@ -46,5 +44,8 @@ autoreconf -vif
%{_libdir}/pkgconfig/*
%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
- Package init

View File

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