]> git.ipfire.org Git - ipfire-3.x.git/blob - keyutils/keyutils.nm
1297bd4c48692ec755c5e8de4f711f48c6d398c1
[ipfire-3.x.git] / keyutils / keyutils.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = keyutils
7 version = 1.6.3
8 release = 1
9
10 groups = System/Tools
11 url = https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/
12 license = GPLv2+ and LGPLv2+
13 summary = Linux Key Management Utilities
14
15 description
16 Utilities to control the kernel key management facility and to provide
17 a mechanism by which the kernel call back to user space to get a key
18 instantiated.
19 end
20
21 source_dl = https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/
22
23 build
24 requires
25 kernel-headers
26 end
27
28 make_build_targets += \
29 NO_ARLIB=1 \
30 ETCDIR=%{sysconfdir} \
31 LIBDIR=%{libdir} \
32 USRLIBDIR=%{libdir} \
33 BINDIR=%{bindir} \
34 SBINDIR=%{sbindir} \
35 MANDIR=%{mandir} \
36 INCLUDEDIR=%{includedir} \
37 SHAREDIR=%{datadir}/%{name} \
38 NO_GLIBC_KEYERR=1 \
39 CFLAGS="-Wall %{CFLAGS}" \
40 LDFLAGS="%{LDFLAGS}"
41
42 make_install_targets += \
43 NO_ARLIB=1 \
44 ETCDIR=%{sysconfdir} \
45 LIBDIR=%{libdir} \
46 USRLIBDIR=%{libdir} \
47 BINDIR=%{bindir} \
48 SBINDIR=%{sbindir} \
49 MANDIR=%{mandir} \
50 INCLUDEDIR=%{includedir} \
51 SHAREDIR=%{datadir}/%{name}
52
53 install_cmds
54 # Fix broken symlink.
55 ln -svf libkeyutils.so.1 %{BUILDROOT}%{libdir}/libkeyutils.so
56 end
57 end
58
59 packages
60 package %{name}
61
62 package libkeyutils
63 template LIBS
64 end
65
66 package libkeyutils-devel
67 template DEVEL
68
69 requires += libkeyutils = %{thisver}
70 end
71
72 package %{name}-debuginfo
73 template DEBUGINFO
74 end
75 end