]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libldb/libldb.nm
grep: Update to version 2.18.
[people/ms/ipfire-3.x.git] / libldb / libldb.nm
CommitLineData
657b66a1
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = libldb
7version = 1.1.15
8release = 1
9
10groups = System/Libraries
11url = http://ldb.samba.org/
12license = LGPLv3+
13summary = A schema-less, ldap like, API and database.
14
15description
16 An extensible library that implements an LDAP like API to access remote LDAP
17 servers, or use local tdb databases.
18end
19
20thisapp = ldb-%{version}
21
22source_dl = http://samba.org/ftp/ldb/
23
24build
25 requires
26 chrpath
27 docbook-utils
28 docbook-xsl
29 libtalloc-devel
30 libtdb-devel
31 libtevent-devel
32 popt-devel
33 pytalloc
34 pytdb
35 pytevent
36 python-devel
37 end
38
39 configure_options += \
40 --disable-rpath \
41 --disable-rpath-install \
42 --bundled-libraries=NONE \
43 --with-modulesdir=%{libdir}/ldb/modules \
44 --with-privatelibdir=%{libdir}/ldb
45
46 # Disable parallel build.
47 PARALLELISMFLAGS =
48
49 install_cmds
50 # Remove rpath from binaries.
51 chrpath --delete %{BUILDROOT}%{bindir}/*
52 end
53end
54
55packages
56 package %{name}
57
58 package ldb-tools
59 summary = Tools to manage LDB files.
60 description
61 %{summary}
62 end
63
64 files
65 %{bindir}
66 %{libdir}/ldb/libldb-cmdline*
67 %{mandir}/man1/*
68 end
69 end
70
71 package %{name}-devel
72 template DEVEL
73 end
74
75 package pyldb
76 template PYTHON
77 end
78
79 package %{name}-debuginfo
80 template DEBUGINFO
81 end
82end