]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
libldb: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 19 Feb 2013 21:17:27 +0000 (22:17 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 19 Feb 2013 21:17:27 +0000 (22:17 +0100)
This is a build dependency of sssd.

libldb/libldb.nm [new file with mode: 0644]

diff --git a/libldb/libldb.nm b/libldb/libldb.nm
new file mode 100644 (file)
index 0000000..21323f7
--- /dev/null
@@ -0,0 +1,82 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+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