]> git.ipfire.org Git - ipfire-3.x.git/blame - attr/attr.nm
attr: Move libs to /usr.
[ipfire-3.x.git] / attr / attr.nm
CommitLineData
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
6name = attr
7version = 2.4.43
916d4d0d 8release = 4
166a6c21 9
802ea3af
MT
10groups = System/Filesystems
11url = http://oss.sgi.com/projects/xfs/
12license = GPLv2+ LGPLv2+
13summary = Tools for extended attribute support.
166a6c21 14
802ea3af 15description
166a6c21
MT
16 A set of tools for manipulating extended attributes on filesystem \
17 objects.
802ea3af
MT
18end
19
20source_dl = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
21
22build
23 requires
24 gettext
25 libtool
26 end
27
28 configure_options += \
8dd1bcda 29 --enable-shared
802ea3af
MT
30
31 make_build_targets += LIBTOOL="libtool --tag=CC"
32
33 install_cmds
8dd1bcda 34 # Install libraries.
916d4d0d
MT
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
8dd1bcda
MT
39
40 # Install includes.
916d4d0d 41 mkdir -pv %{BUILDROOT}%{includedir}/attr
8dd1bcda
MT
42 cp -vf include/{attributes.h,error_context.h,libattr.h,xattr.h} \
43 %{BUILDROOT}%{includedir}/attr/
802ea3af
MT
44 end
45end
46
47packages
48 package lib%{name}
a7642531 49 provides += attr=%{thisver}
802ea3af 50 end
1f9bc2f0 51
802ea3af
MT
52 package lib%{name}-devel
53 template DEVEL
a7642531
MT
54
55 provides += attr-devel=%{thisver}
802ea3af 56 end
1f9bc2f0 57
a7642531 58 package lib%{name}-debuginfo
1f9bc2f0
MT
59 template DEBUGINFO
60
a7642531 61 provides += attr-debuginfo
1f9bc2f0 62 end
802ea3af 63end