]> git.ipfire.org Git - ipfire-3.x.git/blame - libuser/libuser.nm
kernel: Disable support for 6RD
[ipfire-3.x.git] / libuser / libuser.nm
CommitLineData
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 6name = libuser
5faca738 7version = 0.62
e05a599c 8release = 2
73e34398 9
802ea3af
MT
10groups = System/Libraries
11url = https://fedorahosted.org/libuser/
12license = LGPLv2+
13summary = A user and group account administration library.
73e34398 14
802ea3af 15description
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
19end
20
c20802e9 21source_dl = https://fedorahosted.org/releases/l/i/%{name}/
802ea3af
MT
22sources = %{thisapp}.tar.xz
23
24build
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
52end
53
54packages
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 64end