]> git.ipfire.org Git - ipfire-3.x.git/blame - attr/attr.nm
Add a -debuginfo for every package that is not noarch.
[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
8release = 1
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 \
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
44end
45
46packages
47 package lib%{name}
48 end
1f9bc2f0 49
802ea3af
MT
50 package lib%{name}-devel
51 template DEVEL
52 end
1f9bc2f0
MT
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56
57 provides += libattr-debuginfo
58 end
802ea3af 59end