]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - acl/acl.nm
acl: Make package work on x86_64.
[people/ms/ipfire-3.x.git] / acl / acl.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af
MT
6name = acl
7version = 2.2.47
c5313a38 8release = 3
166a6c21 9
802ea3af
MT
10groups = System/Filesystems
11url = http://oss.sgi.com/projects/xfs/
12license = GPLv2+
13summary = Access control list utilities.
166a6c21 14
802ea3af
MT
15description
16 This package contains the getfacl and setfacl utilities needed for
166a6c21 17 manipulating access control lists.
802ea3af
MT
18end
19
20source_dl = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
21
22build
23 requires
24 gettext
25 libattr-devel
26 libnfsidmap-devel
27 libtool
28 end
29
30 configure_options += \
31 --bindir=/bin \
c5313a38 32 --disable-static
802ea3af
MT
33
34 make_build_targets += LIBTOOL="libtool --tag=CC"
35
36 install_cmds
c5313a38
MT
37 mkdir -pv %{BUILDROOT}/%{lib} %{BUILDROOT}%{libdir}
38 install -v -m0755 libacl/.libs/libacl.so.1.2.0 %{BUILDROOT}/%{lib}
39 ln -vsf libacl.so.1.2.0 %{BUILDROOT}/%{lib}/libacl.so.1
40 ln -vsf ../../%{lib}/libacl.so.1 %{BUILDROOT}%{libdir}/libacl.so
41
42 # Install headers.
43 mkdir -pv %{BUILDROOT}%{includedir}/{acl,sys}
44 cp -vf include/libacl.h %{BUILDROOT}%{includedir}/acl/
45 cp -vf include/acl.h %{BUILDROOT}%{includedir}/sys/
802ea3af
MT
46 end
47end
48
49packages
50 package %{name}
1f9bc2f0 51
802ea3af
MT
52 package libacl
53 template LIBS
54 end
1f9bc2f0 55
802ea3af
MT
56 package libacl-devel
57 template DEVEL
4cfe90a4
MT
58
59 # Overwrite default dependency because the
60 # libs are in a subpackage.
61 requires = libacl=%{thisver}
802ea3af 62 end
1f9bc2f0
MT
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66
67 provides += libacl-debuginfo
68 end
802ea3af 69end