]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - libuser/libuser.nm
ncurses: Update to 6.1
[people/stevee/ipfire-3.x.git] / libuser / libuser.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libuser
7 version = 0.62
8 release = 2
9
10 groups = System/Libraries
11 url = https://fedorahosted.org/libuser/
12 license = LGPLv2+
13 summary = A user and group account administration library.
14
15 description
16 The libuser library implements a standardized interface for
17 manipulating and administering user and group accounts. The
18 library uses pluggable back-ends to interface to its data sources.
19 end
20
21 source_dl = https://fedorahosted.org/releases/l/i/%{name}/
22 sources = %{thisapp}.tar.xz
23
24 build
25 requires
26 cyrus-sasl-devel
27 glib2-devel
28 openldap-devel
29 pam-devel
30 pkg-config
31 popt-devel
32 python-devel >= 2.7.12-2
33 end
34
35 export LD_LIBRARY_PATH = %{DIR_APP}/lib/.libs
36
37 configure_options += \
38 --with-ldap
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
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
52 end
53
54 packages
55 package %{name}
56
57 package %{name}-devel
58 template DEVEL
59 end
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
64 end