libdatrie/libdatrie.spec

82 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

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