]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - acl/acl.nm
Merge remote-tracking branch 'arne_f/automake'
[people/amarx/ipfire-3.x.git] / acl / acl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = acl
7 version = 2.2.51
8 release = 1
9
10 groups = System/Filesystems
11 url = http://oss.sgi.com/projects/xfs/
12 license = GPLv2+
13 summary = Access control list utilities.
14
15 description
16 This package contains the getfacl and setfacl utilities needed for
17 manipulating access control lists.
18 end
19
20 source_dl = http://download-mirror.savannah.gnu.org/releases/acl/
21 sources = %{thisapp}.src.tar.gz
22
23 build
24 requires
25 gettext
26 libattr-devel
27 libnfsidmap-devel
28 libtool
29 end
30
31 configure_options += \
32 --bindir=/bin \
33 --disable-static
34
35 make_build_targets += LIBTOOL="libtool --tag=CC"
36
37 test
38 make tests
39 end
40
41 install_cmds
42 mkdir -pv %{BUILDROOT}%{libdir}
43 install -v -m0755 libacl/.libs/libacl.so.1.1.0 %{BUILDROOT}%{libdir}
44 ln -vsf libacl.so.1.1.0 %{BUILDROOT}%{libdir}/libacl.so.1
45 ln -vsf libacl.so.1 %{BUILDROOT}%{libdir}/libacl.so
46
47 # Install headers.
48 mkdir -pv %{BUILDROOT}%{includedir}/{acl,sys}
49 cp -vf include/libacl.h %{BUILDROOT}%{includedir}/acl/
50 cp -vf include/acl.h %{BUILDROOT}%{includedir}/sys/
51 end
52 end
53
54 packages
55 package %{name}
56
57 package libacl
58 template LIBS
59 end
60
61 package libacl-devel
62 template DEVEL
63
64 # Overwrite default dependency because the
65 # libs are in a subpackage.
66 requires = libacl=%{thisver}
67 end
68
69 package %{name}-debuginfo
70 template DEBUGINFO
71
72 provides += libacl-debuginfo
73 end
74 end