]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - keyutils/keyutils.nm
perl-TimeDate: This package requires Time::Local for the testsuite
[people/pmueller/ipfire-3.x.git] / keyutils / keyutils.nm
CommitLineData
400ccb0b
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = keyutils
7version = 1.6.1
8release = 1
9
10groups = System/Tools
11url = http://people.redhat.com/~dhowells/keyutils/
12license = GPLv2+ and LGPLv2+
13summary = Linux Key Management Utilities
14
15description
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.
19end
20
21source_dl = http://people.redhat.com/~dhowells/keyutils/
22sources = %{thisapp}.tar.bz2
23
24build
25 requires
26 kernel-headers
27 end
28
29 make_build_targets += \
30 NO_ARLIB=1 \
31 ETCDIR=%{sysconfdir} \
32 LIBDIR=%{libdir} \
33 USRLIBDIR=%{libdir} \
34 BINDIR=%{bindir} \
35 SBINDIR=%{sbindir} \
36 MANDIR=%{mandir} \
37 INCLUDEDIR=%{includedir} \
38 SHAREDIR=%{datadir}/%{name} \
39 NO_GLIBC_KEYERR=1 \
40 CFLAGS="-Wall %{CFLAGS}" \
41 LDFLAGS="%{LDFLAGS}"
42
43 make_install_targets += \
44 NO_ARLIB=1 \
45 ETCDIR=%{sysconfdir} \
46 LIBDIR=%{libdir} \
47 USRLIBDIR=%{libdir} \
48 BINDIR=%{bindir} \
49 SBINDIR=%{sbindir} \
50 MANDIR=%{mandir} \
51 INCLUDEDIR=%{includedir} \
52 SHAREDIR=%{datadir}/%{name}
53
54 install_cmds
55 # Fix broken symlink.
56 ln -svf libkeyutils.so.1 %{BUILDROOT}%{libdir}/libkeyutils.so
57 end
58end
59
60packages
61 package %{name}
62
63 package libkeyutils
64 template LIBS
65 end
66
67 package libkeyutils-devel
68 template DEVEL
69
70 requires += libkeyutils = %{thisver}
71 end
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
76end