]>
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 | |
4cfe90a4 | 8 | release = 2 |
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 \ | |
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 | |
1f9bc2f0 | 50 | |
802ea3af MT |
51 | package libacl |
52 | template LIBS | |
53 | end | |
1f9bc2f0 | 54 | |
802ea3af MT |
55 | package libacl-devel |
56 | template DEVEL | |
4cfe90a4 MT |
57 | |
58 | # Overwrite default dependency because the | |
59 | # libs are in a subpackage. | |
60 | requires = libacl=%{thisver} | |
802ea3af | 61 | end |
1f9bc2f0 MT |
62 | |
63 | package %{name}-debuginfo | |
64 | template DEBUGINFO | |
65 | ||
66 | provides += libacl-debuginfo | |
67 | end | |
802ea3af | 68 | end |