]> git.ipfire.org Git - ipfire-3.x.git/blame_incremental - attr/attr.nm
attr: Update to 2.5.1
[ipfire-3.x.git] / attr / attr.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = attr
7version = 2.5.1
8release = 1
9
10groups = System/Filesystems
11url = https://savannah.nongnu.org/projects/attr
12license = GPLv2+ LGPLv2+
13summary = Tools for extended attribute support.
14
15description
16 A set of tools for manipulating extended attributes on filesystem
17 objects.
18end
19
20source_dl = https://download-mirror.savannah.gnu.org/releases/attr/
21
22build
23 requires
24 gettext
25 libtool
26 end
27
28 configure_options += \
29 --libexecdir=%{libdir} \
30 --enable-shared
31
32 install_cmds
33 # Fix absolute symlink.
34 rm -rvf %{BUILDROOT}%{libdir}/libattr.so
35 ln -svf libattr.so.1 %{BUILDROOT}%{libdir}/libattr.so
36
37 # Fix library permissions.
38 chmod 755 %{BUILDROOT}%{libdir}/libattr.so.*
39 end
40end
41
42packages
43 package lib%{name}
44 provides += attr=%{thisver}
45 end
46
47 package lib%{name}-devel
48 template DEVEL
49
50 provides += attr-devel=%{thisver}
51 end
52
53 package lib%{name}-debuginfo
54 template DEBUGINFO
55
56 provides += attr-debuginfo
57 end
58end