]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - acl/acl.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/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.47
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 = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
21
22 build
23 requires
24 gettext
25 libattr-devel
26 libnfsidmap-devel
27 libtool
28 end
29
30 configure_options += \
31 --bindir=/bin \
32 --disable-static \
33 --mandir=/usr/share/man
34
35 make_build_targets += LIBTOOL="libtool --tag=CC"
36
37 install_cmds
38 mkdir -pv %{BUILDROOT}/{,usr/}lib %{BUILDROOT}/usr/include/{acl,sys}
39 install -v -m0755 %{DIR_APP}/libacl/.libs/libacl.so.1.2.0 %{BUILDROOT}/lib
40 ln -vsf libacl.so.1.2.0 %{BUILDROOT}/lib/libacl.so.1
41 ln -vsf ../../lib/libacl.so.1 %{BUILDROOT}/usr/lib/libacl.so
42 cp -vf %{DIR_APP}/include/libacl.h %{BUILDROOT}/usr/include/acl/
43 cp -vf %{DIR_APP}/include/acl.h %{BUILDROOT}/usr/include/sys/
44 end
45 end
46
47 packages
48 package %{name}
49 end
50
51 package libacl
52 template LIBS
53 end
54
55 package libacl-devel
56 template DEVEL
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61
62 provides += libacl-debuginfo
63 end
64 end