]>
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 = attr |
7 | version = 2.4.43 | |
e8addcea | 8 | release = 7 |
166a6c21 | 9 | |
802ea3af MT |
10 | groups = System/Filesystems |
11 | url = http://oss.sgi.com/projects/xfs/ | |
12 | license = GPLv2+ LGPLv2+ | |
13 | summary = Tools for extended attribute support. | |
166a6c21 | 14 | |
802ea3af | 15 | description |
4cf37d60 | 16 | A set of tools for manipulating extended attributes on filesystem |
166a6c21 | 17 | objects. |
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 | libtool | |
26 | end | |
27 | ||
28 | configure_options += \ | |
238c2cb8 | 29 | --libexecdir=%{libdir} \ |
8dd1bcda | 30 | --enable-shared |
802ea3af MT |
31 | |
32 | make_build_targets += LIBTOOL="libtool --tag=CC" | |
4cf37d60 SS |
33 | make_install_targets += install-lib install-dev |
34 | ||
35 | install_cmds | |
36 | # Fix absolute symlink. | |
37 | rm -rvf %{BUILDROOT}%{libdir}/libattr.so | |
38 | ln -svf libattr.so.1 %{BUILDROOT}%{libdir}/libattr.so | |
e8addcea MT |
39 | |
40 | # Fix library permissions. | |
41 | chmod 755 %{BUILDROOT}%{libdir}/libattr.so.* | |
4cf37d60 | 42 | end |
802ea3af MT |
43 | end |
44 | ||
45 | packages | |
46 | package lib%{name} | |
a7642531 | 47 | provides += attr=%{thisver} |
802ea3af | 48 | end |
1f9bc2f0 | 49 | |
802ea3af MT |
50 | package lib%{name}-devel |
51 | template DEVEL | |
a7642531 MT |
52 | |
53 | provides += attr-devel=%{thisver} | |
802ea3af | 54 | end |
1f9bc2f0 | 55 | |
a7642531 | 56 | package lib%{name}-debuginfo |
1f9bc2f0 MT |
57 | template DEBUGINFO |
58 | ||
a7642531 | 59 | provides += attr-debuginfo |
1f9bc2f0 | 60 | end |
802ea3af | 61 | end |