libtdb/libtdb.spec

195 lines
6.5 KiB
RPMSpec
Raw Normal View History

Name: libtdb
Epoch: 1
Version: 1.4.12
Release: 1mamba
Summary: The tdb library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://tdb.samba.org/
Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
Patch0: libtdb-1.3.0-include-bool.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbsd-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11
BuildRequires: autoconf
BuildRequires: docbook-xsl
BuildRequires: libxslt
Obsoletes: python-tdb-py36 < 1:1.4.7
Provides: python-tdb
Obsoletes: python-tdb < 1:1.4.9-3mamba
%description
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. TDB is also extremely small.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. TDB is also extremely small.
This package contains libraries and header files needed for development.
%package tools
Group: Development/Libraries
Summary: Developer tools for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. TDB is also extremely small.
This package contains tools to manage Tdb files.
%debug_package
%prep
%setup -q -n tdb-%{version}
#%patch0 -p1
%build
%configure
# --extra-python=%{__python36}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
## conflicts with file from package samba-3.0.37
#rm -rf %{buildroot}%{_bindir}/tdbbackup
#rm -rf %{buildroot}%{_bindir}/tdbdump
#rm -rf %{buildroot}%{_bindir}/tdbtool
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libtdb.so.*
%{python3_sitearch}/tdb.cpython-*.so
%{python3_sitearch}/_tdb_text.py
%files devel
%defattr(-,root,root)
%{_includedir}/tdb.h
%{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc
%files tools
%defattr(-,root,root)
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbtool
%{_bindir}/tdbrestore
%{_mandir}/man8/tdb*.8*
%changelog
* Wed Aug 07 2024 Automatic Build System <autodist@openmamba.org> 1.4.12-1mamba
- automatic version update by autodist
* Tue Jul 30 2024 Automatic Build System <autodist@openmamba.org> 1.4.11-1mamba
- automatic version update by autodist
* Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 1.4.10-1mamba
- automatic version update by autodist
* Fri Oct 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.9-3mamba
- move python-tdb into libtdb
* Sun Oct 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.9-2mamba
- rebuilt with python3 == 3.11
* Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 1.4.9-1mamba
- automatic version update by autodist
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 1.4.8-1mamba
- automatic version update by autodist
* Wed Jun 15 2022 Automatic Build System <autodist@mambasoft.it> 1.4.7-1mamba
- automatic version update by autodist
* Tue Jan 25 2022 Automatic Build System <autodist@mambasoft.it> 1.4.6-1mamba
- automatic version update by autodist
* Wed Jul 21 2021 Automatic Build System <autodist@mambasoft.it> 1.4.5-1mamba
- automatic version update by autodist
* Fri Jul 16 2021 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic version update by autodist
* Mon Jan 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-2mamba
- python-tdb: obsolete python-tdb-py36
* Fri Jan 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
- update to 1.4.3
* Sun Mar 31 2019 Automatic Build System <autodist@mambasoft.it> 1.3.18-1mamba
- automatic version update by autodist
* Wed Aug 22 2018 Automatic Build System <autodist@mambasoft.it> 1.3.16-1mamba
- automatic version update by autodist
* Fri Sep 22 2017 Automatic Build System <autodist@mambasoft.it> 1.3.15-1mamba
- automatic version update by autodist
* Fri Dec 23 2016 Automatic Build System <autodist@mambasoft.it> 1.3.12-1mamba
- automatic version update by autodist
* Sat Sep 10 2016 Automatic Build System <autodist@mambasoft.it> 1.3.11-1mamba
- automatic version update by autodist
* Mon Aug 29 2016 Automatic Build System <autodist@mambasoft.it> 1.3.10-1mamba
- automatic version update by autodist
* Sat Jun 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.9-1mamba
- update to 1.3.9
* Tue Dec 08 2015 Automatic Build System <autodist@mambasoft.it> 1.3.8-1mamba
- automatic version update by autodist
* Sun Sep 13 2015 Automatic Build System <autodist@mambasoft.it> 1.3.7-1mamba
- automatic version update by autodist
* Thu Jul 09 2015 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba
- automatic version update by autodist
* Tue Jan 13 2015 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Tue Nov 04 2014 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Sat Aug 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- patch tdb.h to add include for stdbool.h required for 'bool'
* Thu Jul 31 2014 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Thu Jul 04 2013 Automatic Build System <autodist@mambasoft.it> 1.2.12-1mamba
- automatic version update by autodist
* Tue Dec 04 2012 Automatic Build System <autodist@mambasoft.it> 1.2.11-1mamba
- automatic version update by autodist
* Mon Apr 16 2012 Automatic Build System <autodist@mambasoft.it> 1.2.10-1mamba
- automatic version update by autodist
* Sat Feb 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-1mamba
- update to 1.2.9
* Mon Jun 07 2010 gil <puntogil@libero.it> 1.2.1-1mamba
- package created by autospec