|
|
@ -1,10 +1,16 @@
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
%global with_python3 1
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
%endif
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
|
|
|
release_number = 3;
|
|
|
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
Name: libtdb
|
|
|
|
Name: libtdb
|
|
|
|
Version: 1.4.10
|
|
|
|
Version: 1.4.12
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: %autorelease -b 100
|
|
|
|
Summary: The tdb library
|
|
|
|
Summary: The tdb library
|
|
|
|
License: LGPL-3.0-or-later
|
|
|
|
License: LGPL-3.0-or-later
|
|
|
|
URL: http://tdb.samba.org/
|
|
|
|
URL: http://tdb.samba.org/
|
|
|
@ -13,16 +19,12 @@ Source1: http://samba.org/ftp/tdb/tdb-%{version}.tar.asc
|
|
|
|
# gpg2 --no-default-keyring --keyring ./tdb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
|
|
|
# gpg2 --no-default-keyring --keyring ./tdb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
|
|
|
Source2: tdb.keyring
|
|
|
|
Source2: tdb.keyring
|
|
|
|
|
|
|
|
|
|
|
|
# Patches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides: bundled(libreplace)
|
|
|
|
Provides: bundled(libreplace)
|
|
|
|
Obsoletes: python2-tdb < 1.4.2-1
|
|
|
|
Obsoletes: python2-tdb < 1.4.2-1
|
|
|
@ -32,6 +34,7 @@ A library that implements a trivial database.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Header files need to link the Tdb library
|
|
|
|
Summary: Header files need to link the Tdb library
|
|
|
|
|
|
|
|
|
|
|
|
Requires: libtdb = %{version}-%{release}
|
|
|
|
Requires: libtdb = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -39,12 +42,12 @@ Header files needed to develop programs that link against the Tdb library.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n tdb-tools
|
|
|
|
%package -n tdb-tools
|
|
|
|
Summary: Developer tools for the Tdb library
|
|
|
|
Summary: Developer tools for the Tdb library
|
|
|
|
|
|
|
|
|
|
|
|
Requires: libtdb = %{version}-%{release}
|
|
|
|
Requires: libtdb = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n tdb-tools
|
|
|
|
%description -n tdb-tools
|
|
|
|
Tools to manage Tdb files
|
|
|
|
Tools to manage Tdb files
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
%package -n python3-tdb
|
|
|
|
%package -n python3-tdb
|
|
|
|
Summary: Python3 bindings for the Tdb library
|
|
|
|
Summary: Python3 bindings for the Tdb library
|
|
|
|
Requires: libtdb = %{version}-%{release}
|
|
|
|
Requires: libtdb = %{version}-%{release}
|
|
|
@ -52,7 +55,6 @@ Requires: libtdb = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-tdb
|
|
|
|
%description -n python3-tdb
|
|
|
|
Python3 bindings for libtdb
|
|
|
|
Python3 bindings for libtdb
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n tdb-%{version} -p1
|
|
|
|
%autosetup -n tdb-%{version} -p1
|
|
|
@ -69,7 +71,7 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
|
|
|
%make_build check
|
|
|
|
%make_build check
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_libdir}/libtdb.so.*
|
|
|
|
%{_libdir}/libtdb.so.*
|
|
|
@ -90,21 +92,39 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{_mandir}/man8/tdbtool.8*
|
|
|
|
%{_mandir}/man8/tdbtool.8*
|
|
|
|
%{_mandir}/man8/tdbrestore.8*
|
|
|
|
%{_mandir}/man8/tdbrestore.8*
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
%files -n python3-tdb
|
|
|
|
%files -n python3-tdb
|
|
|
|
%{python3_sitearch}/__pycache__/_tdb_text.cpython*.py[co]
|
|
|
|
%{python3_sitearch}/__pycache__/_tdb_text.cpython*.py[co]
|
|
|
|
%{python3_sitearch}/tdb.cpython*.so
|
|
|
|
%{python3_sitearch}/tdb.cpython*.so
|
|
|
|
%{python3_sitearch}/_tdb_text.py
|
|
|
|
%{python3_sitearch}/_tdb_text.py
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.4.10-2
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.4.12-102
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.10-2
|
|
|
|
* Mon Oct 21 2024 Pavel Filipenský <pfilipensky@samba.org> - 1.4.12-102
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Enable gating tests for libtdb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 02 2024 Pavel Filipenský <pfilipensky@samba.org> - 1.4.12-101
|
|
|
|
|
|
|
|
- resolves: RHEL-34923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 26 2024 Pavel Filipenský <pfilipensky@samba.org> - 1.4.12-1
|
|
|
|
|
|
|
|
- Update to version 1.4.12
|
|
|
|
|
|
|
|
- resolves: RHEL-59782
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 29 2024 Guenther Deschner <gdeschne@redhat.com> - 1.4.11-1
|
|
|
|
|
|
|
|
- rhbz#2300485 - libtdb-1.4.11 is available
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.10-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.4.10-3
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 24 2024 Pavel Filipenský <pfilipen@redhat.com> - 1.4.10-2
|
|
|
|
|
|
|
|
- Cleanup spec file
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 29 2024 Guenther Deschner <gdeschne@redhat.com> - 1.4.10-1
|
|
|
|
* Mon Jan 29 2024 Guenther Deschner <gdeschne@redhat.com> - 1.4.10-1
|
|
|
|
- rhbz#2260955 - libtdb-1.4.10 is available
|
|
|
|
- rhbz#2260955 - libtdb-1.4.10 is available
|
|
|
@ -429,3 +449,5 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15
|
|
|
|
* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15
|
|
|
|
- First public independent release from upstream
|
|
|
|
- First public independent release from upstream
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|