]> git.ipfire.org Git - ipfire-3.x.git/blob - attr/attr.nm
Merge branch 'perl-Tk'
[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 = 3
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
32 make_build_targets += LIBTOOL="libtool --tag=CC"
33
34 install_cmds
35 # Install libraries.
36 mkdir -pv %{BUILDROOT}/%{lib} %{BUILDROOT}%{libdir}
37 install -v -m0755 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}%{libdir}/libattr.so
40
41 # Install includes.
42 install -v -d %{BUILDROOT}%{includedir}/attr
43 cp -vf include/{attributes.h,error_context.h,libattr.h,xattr.h} \
44 %{BUILDROOT}%{includedir}/attr/
45 end
46 end
47
48 packages
49 package lib%{name}
50 provides += attr=%{thisver}
51 end
52
53 package lib%{name}-devel
54 template DEVEL
55
56 provides += attr-devel=%{thisver}
57 end
58
59 package lib%{name}-debuginfo
60 template DEBUGINFO
61
62 provides += attr-debuginfo
63 end
64 end