- update to 0.2.13: - Fix wrong key listing in byte trie - Fix cross-compiling issue caused by AC_FUNC_MALLOC - Fix isspace() arg problem on NetBSD. - Fix some documentations. - Really use TRIE_CHAR_TERM in TrieChar string termination. Changing TRIE_CHAR_TERM definition now won't break the code. - Fix Windows build issue by avoiding <unistd.h> include. - [New APIs] Add serialization of the trie into memory buffer. OBS-URL: https://build.opensuse.org/request/show/871303 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdatrie?expand=0&rev=27
89 lines
2.4 KiB
RPMSpec
89 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package libdatrie
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: libdatrie
|
|
Version: 0.2.13
|
|
Release: 0
|
|
Summary: Double-Array Trie Library
|
|
License: LGPL-2.1-only
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://linux.thai.net/~thep/datrie/datrie.html
|
|
Source: https://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz
|
|
Source99: baselibs.conf
|
|
BuildRequires: autoconf-archive
|
|
BuildRequires: doxygen
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: xz
|
|
|
|
%description
|
|
This is an implementation of double-array structure for representing
|
|
trie, as proposed by Junichi Aoe.
|
|
|
|
%package -n libdatrie1
|
|
Summary: Double-Array Trie Library
|
|
Group: System/Libraries
|
|
|
|
%description -n libdatrie1
|
|
This is an implementation of double-array structure for representing
|
|
trie, as proposed by Junichi Aoe.
|
|
|
|
%package devel
|
|
Summary: Development files for the Double-Array Trie library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libdatrie1 = %{version}
|
|
|
|
%description devel
|
|
This is an implementation of double-array structure for representing
|
|
trie, as proposed by Junichi Aoe.
|
|
|
|
This package contains the development files for libdatrie.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--disable-static \
|
|
--with-html-docdir=%{_docdir}/libdatrie/html
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
rm -f %{buildroot}%{_libdir}/libdatrie.la
|
|
|
|
%post -n libdatrie1 -p /sbin/ldconfig
|
|
%postun -n libdatrie1 -p /sbin/ldconfig
|
|
|
|
%files -n libdatrie1
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog README
|
|
%{_libdir}/libdatrie.so.1*
|
|
|
|
%files devel
|
|
%doc README.migration
|
|
%doc %{_docdir}/libdatrie
|
|
%{_bindir}/trietool*
|
|
%{_mandir}/man*/trietool*.1%{?ext_man}
|
|
%{_includedir}/datrie/
|
|
%{_libdir}/libdatrie.so
|
|
%{_libdir}/pkgconfig/datrie-0.2.pc
|
|
|
|
%changelog
|