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 Name: libtdb
Epoch: 1 Epoch: 1
Version: 1.4.9 Version: 1.4.9
Release: 1mamba Release: 3mamba
Summary: The tdb library Summary: The tdb library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -14,11 +14,15 @@ License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libbsd-devel BuildRequires: libbsd-devel
BuildRequires: libpython3-devel BuildRequires: libpython311-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: docbook-xsl BuildRequires: docbook-xsl
BuildRequires: libxslt BuildRequires: libxslt
Obsoletes: python-tdb-py36 < 1:1.4.7
Provides: python-tdb
Obsoletes: python-tdb < 1:1.4.9-3mamba
%description %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. 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 %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. 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.
This package contains libraries and header files need for development.
%package tools %package tools
Group: Development/Libraries Group: Development/Libraries
@ -40,28 +43,8 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools %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. 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. 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 %debug_package
%prep %prep
@ -93,6 +76,8 @@ This package contains the Python wrapper for %{name}.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtdb.so.* %{_libdir}/libtdb.so.*
%{python3_sitearch}/tdb.cpython-*.so
%{python3_sitearch}/_tdb_text.py
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -108,17 +93,13 @@ This package contains the Python wrapper for %{name}.
%{_bindir}/tdbrestore %{_bindir}/tdbrestore
%{_mandir}/man8/tdb*.8* %{_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 %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 * Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 1.4.9-1mamba
- automatic version update by autodist - automatic version update by autodist