]> git.ipfire.org Git - ipfire-3.x.git/blame - attr/attr.nm
attr: Make package work on x86_64.
[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
8dd1bcda 8release = 3
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 += \
29 --bindir=/bin \
8dd1bcda 30 --enable-shared
802ea3af
MT
31
32 make_build_targets += LIBTOOL="libtool --tag=CC"
33
34 install_cmds
8dd1bcda
MT
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/
802ea3af
MT
45 end
46end
47
48packages
49 package lib%{name}
a7642531 50 provides += attr=%{thisver}
802ea3af 51 end
1f9bc2f0 52
802ea3af
MT
53 package lib%{name}-devel
54 template DEVEL
a7642531
MT
55
56 provides += attr-devel=%{thisver}
802ea3af 57 end
1f9bc2f0 58
a7642531 59 package lib%{name}-debuginfo
1f9bc2f0
MT
60 template DEBUGINFO
61
a7642531 62 provides += attr-debuginfo
1f9bc2f0 63 end
802ea3af 64end