1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = ldb-%{version}
11 groups = System/Libraries
12 url = https://ldb.samba.org/
14 summary = A schema-less, ldap like, API and database
17 An extensible library that implements an LDAP like API to access remote LDAP
18 servers, or use local tdb databases.
21 source_dl = https://download.samba.org/pub/ldb/
28 libtalloc-devel >= 2.1.5
30 libtevent-devel >= 0.9.27
42 configure_options += \
44 --disable-rpath-install \
45 --bundled-libraries=NONE \
46 --with-modulesdir=%{libdir}/ldb/modules \
47 --with-privatelibdir=%{libdir}/ldb
54 # Remove rpath from binaries.
55 find %{BUILDROOT}%{bindir} -type f -executable \
56 -exec patchelf --remove-rpath {} \;
64 summary = Tools to manage LDB files.
71 %{libdir}/ldb/libldb-cmdline*
83 files += %{libdir}/libpyldb*
86 package %{name}-debuginfo