]>
Commit | Line | Data |
---|---|---|
400ccb0b SS |
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.1 | |
8 | release = 1 | |
9 | ||
10 | groups = System/Tools | |
11 | url = http://people.redhat.com/~dhowells/keyutils/ | |
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 = http://people.redhat.com/~dhowells/keyutils/ | |
22 | sources = %{thisapp}.tar.bz2 | |
23 | ||
24 | build | |
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 | |
58 | end | |
59 | ||
60 | packages | |
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 | |
76 | end |