!5 [sync] PR-3: cleanup spec

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2025-02-10 09:51:37 +00:00 committed by Gitee
commit 69c699d17c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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: .