]> git.ipfire.org Git - ipfire-3.x.git/blob - xfsprogs/xfsprogs.nm
pcengines-firmware: update to 4.9.0.7
[ipfire-3.x.git] / xfsprogs / xfsprogs.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = xfsprogs
7 version = 5.0.0
8 release = 1
9
10 groups = System/Filesystems
11 url = http://oss.sgi.com/projects/xfs/
12 license = GPL+ and LGPLv2+
13 summary = Utilities for managing the XFS filesystem
14
15 description
16 A set of commands to use the XFS filesystem, including mkfs.xfs.
17 end
18
19 source_dl = https://www.kernel.org/pub/linux/utils/fs/xfs/%{name}/
20 sources = %{thisapp}.tar.xz
21
22 build
23 requires
24 gettext
25 libacl-devel
26 libattr-devel
27 libblkid-devel >= 2.17
28 libtool
29 libuuid-devel
30 readline-devel
31 end
32
33 configure_options += \
34 --libexecdir=%{libdir} \
35 --enable-readline=yes \
36 --enable-blkid=yes
37
38 make_build_targets += \
39 V=1 DEBUG=-DNDEBUG
40
41 # This package does not come with a testsuite.
42
43 make_install_targets += \
44 install-dev V=1 DIST_ROOT=%{BUILDROOT} \
45 PKG_ROOT_SBIN_DIR=%{sbindir} PKG_ROOT_LIB_DIR=%{libdir}
46
47 install_cmds
48 # Fix file permission.
49 chmod 0755 %{BUILDROOT}/%{libdir}/libhandle.so.*.*.*
50
51 # Remove unneeded doc location.
52 rm -rvf %{BUILDROOT}/%{datadir}/doc/xfsprogs/
53 end
54 end
55
56 packages
57 package %{name}
58 conflicts
59 filesystem < 002
60 end
61 end
62
63 package %{name}-devel
64 template DEVEL
65 end
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
70 end