libtdb/libtdb.spec

143 lines
3.2 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:58:21 -04:00
Name: libtdb
2023-08-18 09:03:26 +08:00
Version: 1.4.9
Release: 3
2019-09-30 10:58:21 -04:00
Summary: The Tdb library
License: LGPLv3+
URL: http://tdb.samba.org/
Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
Patch6000: backport-tdb-Do-not-pass-non-null-terminated-strings-to-strcm.patch
Patch6001: backport-Add-missing-overflow-check-for-num_values-in-pytdb.c.patch
2019-09-30 10:58:21 -04:00
BuildRequires: gcc libxslt docbook-style-xsl
BuildRequires: python3-devel
2019-09-30 10:58:21 -04:00
Provides: bundled(libreplace)
Obsoletes: python2-tdb < 1.4.2-1
2020-03-21 23:32:25 +08:00
Obsoletes: python2-samba
2019-09-30 10:58:21 -04:00
%description
Tdb library implements a trivial database.
%package -n tdb-tools
Summary: Developer tools for the Tdb library
Requires: libtdb = %{version}-%{release}
%description -n tdb-tools
Tools to manage Tdb files
%package -n python3-tdb
Summary: Python3 bindings for the Tdb library
Requires: libtdb = %{version}-%{release}
%{?python_provide:%python_provide python3-tdb}
%description -n python3-tdb
Python3 bindings for the Tdb library
%package devel
Summary: Header files for Tdb library
Requires: libtdb = %{version}-%{release}
%description devel
Header files of the Tdb library to develop programs.
%package help
BuildArch: noarch
Summary: Document for the Tdb library
%description help
Document for the Tdb library
%prep
%autosetup -n tdb-%{version} -p1
%build
%configure --disable-rpath \
--bundled-libraries=NONE \
--builtin-libraries=replace
2019-09-30 10:58:21 -04:00
%make_build
%check
make %{?_smp_mflags} check
%install
%make_install
%files
%{_libdir}/libtdb.so.*
%files -n tdb-tools
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbtool
%{_bindir}/tdbrestore
%files -n python3-tdb
2021-12-18 14:53:00 +08:00
%{python3_sitearch}
2019-09-30 10:58:21 -04:00
%files devel
%{_includedir}/tdb.h
%{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc
%files help
%doc docs/README
%{_mandir}/man8/tdbbackup.8*
%{_mandir}/man8/tdbdump.8*
%{_mandir}/man8/tdbtool.8*
%{_mandir}/man8/tdbrestore.8*
%ldconfig_scriptlets
2019-09-30 10:58:21 -04:00
%changelog
* Tue Jun 11 2024 shixuantong <shixuantong1@huawei.com> - 1.4.9-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Add missing overflow check for num_values in pytdb.c
* Wed May 08 2024 wangjiang <wangjiang37@h-partners.com> - 1.4.9-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:tdb: Do not pass nonnullterminated strings to strcmp()
2023-08-18 09:03:26 +08:00
* Thu Aug 17 2023 dillon chen <dillon.chen@gmail.com> - 1.4.9-1
- upgrade version to 1.4.9
2023-07-14 14:34:04 +08:00
* Fri Jul 14 2023 niuyaru <niuyaru@kylinos.cn> - 1.4.8-1
- upgrade version to 1.4.8
2022-11-05 10:04:55 +08:00
* Sat Nov 05 2022 shixuantong<shixuantong1@huawei.com> - 1.4.7-1
- upgrade version to 1.4.7
2022-05-09 15:03:04 +08:00
* Tue May 10 2022 mylee <liweiganga@uniontech.com> - 1.4.5-3
- fix spec changelog date
2021-12-18 14:53:00 +08:00
* Sat Dec 18 2021 shixuantong<shixuantong@huawei.com> - 1.4.5-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix build fail
2021-11-11 14:07:17 +08:00
* Thu Nov 11 2021 shixuantong<shixuantong@huawei.com> - 1.4.5-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update version to 1.4.5
* Mon Jul 27 2020 wenzhanli<wenzhanli2@huawei.com> - 1.4.3-1
2020-07-27 20:37:51 +08:00
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:version update 1.4.3
2020-03-21 23:32:25 +08:00
* Sat Mar 21 2020 songnannan <songnannan2@huawei.com> - 1.4.2-2
- bugfix about update
2022-05-09 15:03:04 +08:00
* Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4.2-1
- update to 1.4.2-1, drop python2 support
2019-09-30 10:58:21 -04:00
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.16-3
- Package init