]> git.ipfire.org Git - ipfire-3.x.git/blob - attr/attr.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[ipfire-3.x.git] / attr / attr.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = attr
7 version = 2.4.43
8 release = 2
9
10 groups = System/Filesystems
11 url = http://oss.sgi.com/projects/xfs/
12 license = GPLv2+ LGPLv2+
13 summary = Tools for extended attribute support.
14
15 description
16 A set of tools for manipulating extended attributes on filesystem \
17 objects.
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}
48 provides += attr=%{thisver}
49 end
50
51 package lib%{name}-devel
52 template DEVEL
53
54 provides += attr-devel=%{thisver}
55 end
56
57 package lib%{name}-debuginfo
58 template DEBUGINFO
59
60 provides += attr-debuginfo
61 end
62 end