]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - attr/attr.nm
attr: Move libs to /usr.
[people/pmueller/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 = 4
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 --enable-shared
30
31 make_build_targets += LIBTOOL="libtool --tag=CC"
32
33 install_cmds
34 # Install libraries.
35 mkdir -pv %{BUILDROOT}%{libdir}
36 install -v -m0755 libattr/.libs/libattr.so.1.1.0 %{BUILDROOT}/%{libdir}
37 ln -vsf libattr.so.1.1.0 %{BUILDROOT}/%{libdir}/libattr.so.1
38 ln -vsf libattr.so.1 %{BUILDROOT}%{libdir}/libattr.so
39
40 # Install includes.
41 mkdir -pv %{BUILDROOT}%{includedir}/attr
42 cp -vf include/{attributes.h,error_context.h,libattr.h,xattr.h} \
43 %{BUILDROOT}%{includedir}/attr/
44 end
45 end
46
47 packages
48 package lib%{name}
49 provides += attr=%{thisver}
50 end
51
52 package lib%{name}-devel
53 template DEVEL
54
55 provides += attr-devel=%{thisver}
56 end
57
58 package lib%{name}-debuginfo
59 template DEBUGINFO
60
61 provides += attr-debuginfo
62 end
63 end