]>
Commit | Line | Data |
---|---|---|
657b66a1 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = libldb | |
f7d4e86e | 7 | version = 1.1.27 |
657b66a1 SS |
8 | release = 1 |
9 | ||
10 | groups = System/Libraries | |
11 | url = http://ldb.samba.org/ | |
12 | license = LGPLv3+ | |
13 | summary = A schema-less, ldap like, API and database. | |
14 | ||
15 | description | |
16 | An extensible library that implements an LDAP like API to access remote LDAP | |
17 | servers, or use local tdb databases. | |
18 | end | |
19 | ||
20 | thisapp = ldb-%{version} | |
21 | ||
22 | source_dl = http://samba.org/ftp/ldb/ | |
23 | ||
24 | build | |
25 | requires | |
26 | chrpath | |
27 | docbook-utils | |
28 | docbook-xsl | |
9ace5b63 AM |
29 | libtalloc-devel >= 2.1.5 |
30 | libtdb-devel >= 1.3.8 | |
31 | libtevent-devel >= 0.9.27 | |
657b66a1 SS |
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 | |
53 | end | |
54 | ||
55 | packages | |
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 | |
82 | end |