2024-01-06 05:54:10 +01:00
|
|
|
Name: libtdb
|
|
|
|
Epoch: 1
|
2024-01-06 05:54:10 +01:00
|
|
|
Version: 1.3.2
|
2024-01-06 05:54:10 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:54:10 +01:00
|
|
|
Summary: The tdb library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: http://tdb.samba.org/
|
|
|
|
Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
|
2024-01-06 05:54:10 +01:00
|
|
|
Patch0: libtdb-1.3.0-include-bool.patch
|
2024-01-06 05:54:10 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:54:10 +01:00
|
|
|
BuildRequires: libattr-devel
|
|
|
|
BuildRequires: libbsd-devel
|
2024-01-06 05:54:10 +01:00
|
|
|
BuildRequires: libpython-devel
|
2024-01-06 05:54:10 +01:00
|
|
|
BuildRequires: libpython27-devel
|
2024-01-06 05:54:10 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: docbook-xsl
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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 need 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.
|
|
|
|
|
|
|
|
%package -n python-tdb
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Python wrapper 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 the Python wrapper for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n tdb-%{version}
|
2024-01-06 05:54:10 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 05:54:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%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.*
|
|
|
|
|
|
|
|
%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*
|
|
|
|
|
|
|
|
%files -n python-tdb
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/tdb.so
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:54:10 +01:00
|
|
|
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:54:10 +01:00
|
|
|
* Tue Nov 04 2014 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:54:10 +01:00
|
|
|
* 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'
|
|
|
|
|
2024-01-06 05:54:10 +01:00
|
|
|
* Thu Jul 31 2014 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:54:10 +01:00
|
|
|
* 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
|