sombok/sombok.spec
2020-01-09 16:26:51 +08:00

51 lines
1.4 KiB
RPMSpec

Name: sombok
Version: 2.4.0
Release: 9
Summary: Unicode Text Segmentation Package
License: GPLv2+ and Artistic clarified
URL: https://github.com/hatukanezumi/sombok
Source0: https://github.com/hatukanezumi/sombok/archive/sombok-2.4.0.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} pkgconfig
%description devel
The sombok-devel package contains development files to build applications for sombok.
%prep
%autosetup -n sombok-sombok-2.4.0 -p1
%build
autoreconf -vif
%configure --disable-static
%make_build
%install
%make_install
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc AUTHORS ChangeLog ChangeLog.REL1 NEWS README README.ja_JP COPYING
%{_libdir}/libsombok.so.*
%files devel
%{_includedir}/*.h
%{_libdir}/libsombok.so
%{_libdir}/pkgconfig/*
%changelog
* Wed Jan 8 2020 liujing<liujing144@huawei.com> - 2.4.0-9
- Package init