From 657b66a1e53faaa095b92e0d01535ebb19ecb4a0 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 19 Feb 2013 22:17:27 +0100 Subject: [PATCH] libldb: New package. This is a build dependency of sssd. --- libldb/libldb.nm | 82 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 libldb/libldb.nm diff --git a/libldb/libldb.nm b/libldb/libldb.nm new file mode 100644 index 000000000..21323f739 --- /dev/null +++ b/libldb/libldb.nm @@ -0,0 +1,82 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = libldb +version = 1.1.15 +release = 1 + +groups = System/Libraries +url = http://ldb.samba.org/ +license = LGPLv3+ +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/ + +build + requires + chrpath + docbook-utils + docbook-xsl + libtalloc-devel + libtdb-devel + libtevent-devel + popt-devel + pytalloc + pytdb + pytevent + python-devel + end + + configure_options += \ + --disable-rpath \ + --disable-rpath-install \ + --bundled-libraries=NONE \ + --with-modulesdir=%{libdir}/ldb/modules \ + --with-privatelibdir=%{libdir}/ldb + + # Disable parallel build. + PARALLELISMFLAGS = + + install_cmds + # Remove rpath from binaries. + chrpath --delete %{BUILDROOT}%{bindir}/* + end +end + +packages + package %{name} + + package ldb-tools + summary = Tools to manage LDB files. + description + %{summary} + end + + files + %{bindir} + %{libdir}/ldb/libldb-cmdline* + %{mandir}/man1/* + end + end + + package %{name}-devel + template DEVEL + end + + package pyldb + template PYTHON + end + + package %{name}-debuginfo + template DEBUGINFO + end +end -- 2.39.2