package created using the webbuild interface [release 0.2.13-1mamba;Sat Oct 08 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 04:04:24 +01:00
parent d8a64d4bda
commit 0d3c641534
2 changed files with 83 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libdatrie # libdatrie
An implementation of double-array structure for representing trie.

81
libdatrie.spec Normal file
View File

@ -0,0 +1,81 @@
Name: libdatrie
Version: 0.2.13
Release: 1mamba
Summary: An implementation of double-array structure for representing trie
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://linux.thai.net/~thep/datrie/datrie.html
Source: https://linux.thai.net/pub/thailinux/software/libthai/libdatrie-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
An implementation of double-array structure for representing trie.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Development/Tools
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libdatrie.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/datrie
%{_includedir}/datrie/*.h
%{_libdir}/libdatrie.a
%{_libdir}/libdatrie.so
%{_libdir}/pkgconfig/datrie-0.2.pc
%dir %{_docdir}/datrie
%dir %{_docdir}/datrie/html
%{_docdir}/datrie/html/*
%doc ChangeLog NEWS README README.migration
%files tools
%defattr(-,root,root)
%{_bindir}/trietool
%{_bindir}/trietool-0.2
%{_mandir}/man1/trietool-*.1*
%{_mandir}/man1/trietool.1*
%changelog
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.13-1mamba
- package created using the webbuild interface