]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = acl |
b883704c MT |
7 | version = 2.2.52 |
8 | release = 1 | |
166a6c21 | 9 | |
802ea3af MT |
10 | groups = System/Filesystems |
11 | url = http://oss.sgi.com/projects/xfs/ | |
12 | license = GPLv2+ | |
13 | summary = Access control list utilities. | |
166a6c21 | 14 | |
802ea3af MT |
15 | description |
16 | This package contains the getfacl and setfacl utilities needed for | |
166a6c21 | 17 | manipulating access control lists. |
802ea3af MT |
18 | end |
19 | ||
10994779 SS |
20 | source_dl = http://download-mirror.savannah.gnu.org/releases/acl/ |
21 | sources = %{thisapp}.src.tar.gz | |
802ea3af MT |
22 | |
23 | build | |
24 | requires | |
b883704c | 25 | automake |
802ea3af MT |
26 | gettext |
27 | libattr-devel | |
28 | libnfsidmap-devel | |
29 | libtool | |
30 | end | |
31 | ||
b883704c MT |
32 | prepare_cmds |
33 | # for aarch64 | |
34 | for i in $(find . -name config.guess -or -name config.sub); do | |
35 | cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i}) | |
36 | done | |
37 | end | |
38 | ||
802ea3af | 39 | configure_options += \ |
ea9f2538 | 40 | --libexecdir=%{libdir} \ |
c5313a38 | 41 | --disable-static |
802ea3af MT |
42 | |
43 | make_build_targets += LIBTOOL="libtool --tag=CC" | |
44 | ||
10994779 SS |
45 | test |
46 | make tests | |
47 | end | |
48 | ||
ea9f2538 | 49 | make_install_targets += install-dev install-lib |
410a6818 MT |
50 | |
51 | install_cmds | |
52 | # Fix library permissions. | |
53 | chmod 755 %{BUILDROOT}%{libdir}/libacl.so.* | |
54 | end | |
802ea3af MT |
55 | end |
56 | ||
57 | packages | |
58 | package %{name} | |
1f9bc2f0 | 59 | |
802ea3af MT |
60 | package libacl |
61 | template LIBS | |
62 | end | |
1f9bc2f0 | 63 | |
802ea3af MT |
64 | package libacl-devel |
65 | template DEVEL | |
4cfe90a4 MT |
66 | |
67 | # Overwrite default dependency because the | |
68 | # libs are in a subpackage. | |
69 | requires = libacl=%{thisver} | |
802ea3af | 70 | end |
1f9bc2f0 MT |
71 | |
72 | package %{name}-debuginfo | |
73 | template DEBUGINFO | |
74 | ||
75 | provides += libacl-debuginfo | |
76 | end | |
802ea3af | 77 | end |