move python-tdb into libtdb [release 1.4.9-3mamba;Fri Oct 06 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 05:54:13 +01:00
parent 82abc3a25a
commit 2f13418390

View File

@ -1,7 +1,7 @@
Name: libtdb
Epoch: 1
Version: 1.4.9
Release: 1mamba
Release: 3mamba
Summary: The tdb library
Group: System/Libraries
Vendor: openmamba
@ -14,11 +14,15 @@ License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbsd-devel
BuildRequires: libpython3-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.
@ -30,8 +34,7 @@ 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.
This package contains libraries and header files needed for development.
%package tools
Group: Development/Libraries
@ -40,28 +43,8 @@ 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}
Obsoletes: python-tdb-py36 < 1:1.4.7
%description -n python-tdb
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}.
%package -n python-tdb-py36
Group: System/Libraries
Summary: Python wrapper for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-tdb-py36
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}.
%debug_package
%prep
@ -93,6 +76,8 @@ This package contains the Python wrapper for %{name}.
%files
%defattr(-,root,root)
%{_libdir}/libtdb.so.*
%{python3_sitearch}/tdb.cpython-*.so
%{python3_sitearch}/_tdb_text.py
%files devel
%defattr(-,root,root)
@ -108,17 +93,13 @@ This package contains the Python wrapper for %{name}.
%{_bindir}/tdbrestore
%{_mandir}/man8/tdb*.8*
%files -n python-tdb
%defattr(-,root,root)
%{python3_sitelib}/tdb.cpython-*.so
%{python3_sitelib}/_tdb_text.py
#%files -n python-tdb-py36
#%defattr(-,root,root)
#%{_libdir}/python3.6/site-packages/tdb.cpython-36*
#%{python36_sitearch}/_tdb_text.py
%changelog
* 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