]>
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 MT |
6 | name = acl |
7 | version = 2.2.47 | |
c5313a38 | 8 | release = 3 |
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 | ||
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 \ | |
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 |
47 | end | |
48 | ||
49 | packages | |
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 | 69 | end |