]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - xfsprogs/xfsprogs.nm
initscripts: Remove unsupported check from systemd file.
[people/amarx/ipfire-3.x.git] / xfsprogs / xfsprogs.nm
CommitLineData
acba165f 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
acba165f
BS
4###############################################################################
5
802ea3af 6name = xfsprogs
f4606291 7version = 3.1.7
802ea3af 8release = 1
acba165f 9
802ea3af
MT
10groups = System/Filesystems
11url = http://oss.sgi.com/projects/xfs/
12license = GPL+ and LGPLv2+
13summary = Utilities for managing the XFS filesystem
acba165f 14
802ea3af
MT
15description
16 A set of commands to use the XFS filesystem, including mkfs.xfs.
17end
acba165f 18
802ea3af 19source_dl = ftp://oss.sgi.com/projects/xfs/cmd_tars/
acba165f 20
802ea3af
MT
21build
22 requires
23 e2fsprogs-devel
24 gettext
25 libacl-devel
26 libblkid-devel
27 libtool
28 libuuid-devel
29 readline-devel
30 end
acba165f 31
802ea3af 32 configure_options += \
802ea3af
MT
33 --bindir=/sbin \
34 --sbindir=/sbin \
f4606291
MT
35 --libdir=/%{lib} \
36 --libexecdir=%{libdir} \
802ea3af
MT
37 --enable-readline=yes \
38 --enable-blkid=yes \
39 --disable-static
acba165f 40
802ea3af
MT
41 configure_cmds
42 # Kill rpaths
43 sed -i libtool \
44 -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
45 -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g'
46 end
acba165f 47
f4606291 48 make_build_targets += V=1 DEBUG=-DNDEBUG
7ce06e41 49
802ea3af 50 install
f4606291 51 make install install-dev install-qa V=1 DIST_ROOT=%{BUILDROOT}
acba165f 52
f4606291
MT
53 chmod -v 755 %{BUILDROOT}/%{lib}/libhandle.so*
54 rm -vf %{BUILDROOT}/%{lib}/libhandle.so
55 mkdir -pv %{BUILDROOT}%{libdir}
56 ln -svf ../../%{lib}/libhandle.so.1 %{BUILDROOT}%{libdir}/libhandle.so
802ea3af
MT
57 end
58end
7ce06e41 59
802ea3af
MT
60packages
61 package %{name}
1f9bc2f0 62
802ea3af
MT
63 package %{name}-devel
64 template DEVEL
65 end
1f9bc2f0
MT
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
802ea3af 70end