###############################################################################
name = libldb
-version = 1.1.27
+version = 2.6.1
release = 1
+thisapp = ldb-%{version}
groups = System/Libraries
-url = http://ldb.samba.org/
+url = https://ldb.samba.org/
license = LGPLv3+
-summary = A schema-less, ldap like, API and database.
+summary = A schema-less, ldap like, API and database
description
An extensible library that implements an LDAP like API to access remote LDAP
servers, or use local tdb databases.
end
-thisapp = ldb-%{version}
-
-source_dl = http://samba.org/ftp/ldb/
+source_dl = https://download.samba.org/pub/ldb/
build
requires
chrpath
+ cmocka-devel
docbook-utils
docbook-xsl
libtalloc-devel >= 2.1.5
libtdb-devel >= 1.3.8
libtevent-devel >= 0.9.27
+ libtirpc-devel
+ lmdb-devel >= 0.9.16
popt-devel
- pytalloc
- pytdb
- pytevent
- python-devel
+ python3-devel
+ python3-talloc
+ python3-tdb
+ python3-tevent
end
configure_options += \
--with-modulesdir=%{libdir}/ldb/modules \
--with-privatelibdir=%{libdir}/ldb
- # Disable parallel build.
- PARALLELISMFLAGS =
+ test
+ make check
+ end
install_cmds
# Remove rpath from binaries.
template DEVEL
end
- package pyldb
- template PYTHON
+ package python3-ldb
+ template PYTHON3
+
+ files += %{libdir}/libpyldb*
end
package %{name}-debuginfo