]>
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 |
10994779 SS |
7 | version = 2.2.51 |
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 | |
25 | gettext | |
26 | libattr-devel | |
27 | libnfsidmap-devel | |
28 | libtool | |
29 | end | |
30 | ||
31 | configure_options += \ | |
32 | --bindir=/bin \ | |
c5313a38 | 33 | --disable-static |
802ea3af MT |
34 | |
35 | make_build_targets += LIBTOOL="libtool --tag=CC" | |
36 | ||
10994779 SS |
37 | test |
38 | make tests | |
39 | end | |
40 | ||
802ea3af | 41 | install_cmds |
10994779 SS |
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 | |
c5313a38 MT |
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/ | |
802ea3af MT |
51 | end |
52 | end | |
53 | ||
54 | packages | |
55 | package %{name} | |
1f9bc2f0 | 56 | |
802ea3af MT |
57 | package libacl |
58 | template LIBS | |
59 | end | |
1f9bc2f0 | 60 | |
802ea3af MT |
61 | package libacl-devel |
62 | template DEVEL | |
4cfe90a4 MT |
63 | |
64 | # Overwrite default dependency because the | |
65 | # libs are in a subpackage. | |
66 | requires = libacl=%{thisver} | |
802ea3af | 67 | end |
1f9bc2f0 MT |
68 | |
69 | package %{name}-debuginfo | |
70 | template DEBUGINFO | |
71 | ||
72 | provides += libacl-debuginfo | |
73 | end | |
802ea3af | 74 | end |