]> git.ipfire.org Git - ipfire-3.x.git/blob - xfsprogs/xfsprogs.nm
xfsprogs: Update to 4.7.0
[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 = 4.7.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 = ftp://oss.sgi.com/projects/xfs/cmd_tars/
20
21 build
22 requires
23 gettext
24 libacl-devel
25 libattr-devel
26 libblkid-devel >= 2.17
27 libtool
28 libuuid-devel
29 readline-devel
30 end
31
32 configure_options += \
33 --libexecdir=%{libdir} \
34 --enable-readline=yes \
35 --enable-blkid=yes
36
37 make_build_targets += \
38 V=1 DEBUG=-DNDEBUG
39
40 make_install_targets += \
41 install-dev V=1 DIST_ROOT=%{BUILDROOT} \
42 PKG_ROOT_SBIN_DIR=%{sbindir} PKG_ROOT_LIB_DIR=%{libdir}
43
44 install_cmds
45 # Fix file permission.
46 chmod 0755 %{BUILDROOT}/%{libdir}/libhandle.so.*.*.*
47
48 # Remove unneeded doc location.
49 rm -rvf %{BUILDROOT}/%{datadir}/doc/xfsprogs/
50 end
51 end
52
53 packages
54 package %{name}
55 conflicts
56 filesystem < 002
57 end
58 end
59
60 package %{name}-devel
61 template DEVEL
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67 end