1 Star 0 Fork 17

orange-snn/libtdb

forked from src-openEuler/libtdb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libtdb.spec 2.07 KB
一键复制 编辑 原始数据 按行查看 历史
orange-snn 提交于 2020-03-21 23:32 . bugfix about update
Name: libtdb
Version: 1.4.2
Release: 2
Summary: The Tdb library
License: LGPLv3+
URL: http://tdb.samba.org/
Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
BuildRequires: gcc libxslt docbook-style-xsl
BuildRequires: python3-devel
Provides: bundled(libreplace)
Obsoletes: python2-tdb < 1.4.2-1
Obsoletes: python2-samba
%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
%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
%{python3_sitearch}/__pycache__/_tdb_text.cpython*.py[co]
%{python3_sitearch}/tdb.cpython*.so
%{python3_sitearch}/_tdb_text.py
%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
%changelog
* Sat Mar 21 2020 songnannan <songnannan2@huawei.com> - 1.4.2-2
- bugfix about update
* Sat Feb 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4.2-1
- update to 1.4.2-1, drop python2 support
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.16-3
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/orange-snn/libtdb.git
git@gitee.com:orange-snn/libtdb.git
orange-snn
libtdb
libtdb
master

搜索帮助