]> git.ipfire.org Git - ipfire-3.x.git/blob - attr/attr.nm
json-c: Update to version 0.17-20230812
[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.5.1
8 release = 1.1
9
10 groups = System/Filesystems
11 url = https://savannah.nongnu.org/projects/attr
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 = https://download-mirror.savannah.gnu.org/releases/attr/
21
22 build
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
40 end
41
42 packages
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
58 end