]>
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 | |
a7642531 | 8 | release = 2 |
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 |
166a6c21 MT |
16 | A set of tools for manipulating extended attributes on filesystem \ |
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 += \ | |
29 | --bindir=/bin \ | |
30 | --enable-shared \ | |
31 | --mandir=/usr/share/man | |
32 | ||
33 | make_build_targets += LIBTOOL="libtool --tag=CC" | |
34 | ||
35 | install_cmds | |
36 | mkdir -pv %{BUILDROOT}/{,usr/}lib | |
37 | install -v -m0755 %{DIR_APP}/libattr/.libs/libattr.so.1.1.0 %{BUILDROOT}/lib | |
38 | ln -vsf libattr.so.1.1.0 %{BUILDROOT}/lib/libattr.so.1 | |
39 | ln -vsf ../../lib/libattr.so.1 %{BUILDROOT}/usr/lib/libattr.so | |
40 | install -v -d %{BUILDROOT}/usr/include/attr | |
41 | cp -vf %{DIR_APP}/include/{attributes.h,error_context.h,libattr.h,xattr.h} \ | |
42 | %{BUILDROOT}/usr/include/attr/ | |
43 | end | |
44 | end | |
45 | ||
46 | packages | |
47 | package lib%{name} | |
a7642531 | 48 | provides += attr=%{thisver} |
802ea3af | 49 | end |
1f9bc2f0 | 50 | |
802ea3af MT |
51 | package lib%{name}-devel |
52 | template DEVEL | |
a7642531 MT |
53 | |
54 | provides += attr-devel=%{thisver} | |
802ea3af | 55 | end |
1f9bc2f0 | 56 | |
a7642531 | 57 | package lib%{name}-debuginfo |
1f9bc2f0 MT |
58 | template DEBUGINFO |
59 | ||
a7642531 | 60 | provides += attr-debuginfo |
1f9bc2f0 | 61 | end |
802ea3af | 62 | end |