]>
Commit | Line | Data |
---|---|---|
73e34398 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
73e34398 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libuser |
5faca738 | 7 | version = 0.62 |
e05a599c | 8 | release = 2 |
73e34398 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = https://fedorahosted.org/libuser/ | |
12 | license = LGPLv2+ | |
13 | summary = A user and group account administration library. | |
73e34398 | 14 | |
802ea3af | 15 | description |
c20802e9 SS |
16 | The libuser library implements a standardized interface for |
17 | manipulating and administering user and group accounts. The | |
73e34398 | 18 | library uses pluggable back-ends to interface to its data sources. |
802ea3af MT |
19 | end |
20 | ||
c20802e9 | 21 | source_dl = https://fedorahosted.org/releases/l/i/%{name}/ |
802ea3af MT |
22 | sources = %{thisapp}.tar.xz |
23 | ||
24 | build | |
25 | requires | |
26 | cyrus-sasl-devel | |
27 | glib2-devel | |
802ea3af MT |
28 | openldap-devel |
29 | pam-devel | |
30 | pkg-config | |
31 | popt-devel | |
e05a599c | 32 | python-devel >= 2.7.12-2 |
802ea3af MT |
33 | end |
34 | ||
e05a599c SS |
35 | export LD_LIBRARY_PATH = %{DIR_APP}/lib/.libs |
36 | ||
802ea3af | 37 | configure_options += \ |
e05a599c | 38 | --with-ldap |
802ea3af MT |
39 | |
40 | prepare_cmds | |
41 | # Little hack that we don't build documentation that requires sgml2html | |
42 | sed -e "s/^SUBDIRS = .*/SUBDIRS = po/" -i Makefile.in | |
43 | end | |
e05a599c SS |
44 | |
45 | test | |
46 | # Disable tests which requires a running ldap server. | |
47 | sed -e "s/tests\/default_pw_test//" -i Makefile | |
48 | sed -e "s/tests\/ldap_test//" -i Makefile | |
49 | ||
50 | make check | |
51 | end | |
802ea3af MT |
52 | end |
53 | ||
54 | packages | |
55 | package %{name} | |
1f9bc2f0 | 56 | |
802ea3af MT |
57 | package %{name}-devel |
58 | template DEVEL | |
59 | end | |
1f9bc2f0 MT |
60 | |
61 | package %{name}-debuginfo | |
62 | template DEBUGINFO | |
63 | end | |
802ea3af | 64 | end |