sombok/sombok.spec
Funda Wang a603fc6a8a cleanup spec
(cherry picked from commit 4b566a0b0095d6a75f057d98ec6cfda50d5513a0)
2025-02-08 13:52:29 +08:00

52 lines
1.5 KiB
RPMSpec

Name: sombok
Version: 2.4.0
Release: 10
Summary: Unicode Text Segmentation Package
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-%{version}.tar.gz
BuildRequires: libthai-devel autoconf automake libtool
%description
Sombok library package performs Line Breaking Algorithm described in
Unicode Standard Annex #14 (UAX #14). East_Asian_Width informative
properties defined by Annex #11 (UAX #11) may be concerned to determin
breaking positions. This package also implements "default" Grapheme
Cluster segmentation described in Annex #29 (UAX #29).
%package devel
Summary: Development files for sombok
Requires: sombok = %{version}-%{release}
%description devel
The sombok-devel package contains development files to build applications for sombok.
%prep
%autosetup -n sombok-sombok-%{version} -p1
%build
autoreconf -vif
%configure --disable-static
%make_build
%install
%make_install
%delete_la
%files
%license COPYING
%doc AUTHORS ChangeLog ChangeLog.REL1 NEWS README README.ja_JP
%{_libdir}/libsombok.so.*
%files devel
%{_includedir}/*.h
%{_libdir}/libsombok.so
%{_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