]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - xfsprogs/xfsprogs.nm
openvswitch: Add service file for systemd.
[people/amarx/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 = 3.1.7
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 e2fsprogs-devel
24 gettext
25 libacl-devel
26 libblkid-devel
27 libtool
28 libuuid-devel
29 readline-devel
30 end
31
32 configure_options += \
33 --bindir=/sbin \
34 --sbindir=/sbin \
35 --libdir=/%{lib} \
36 --libexecdir=%{libdir} \
37 --enable-readline=yes \
38 --enable-blkid=yes \
39 --disable-static
40
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
47
48 make_build_targets += V=1 DEBUG=-DNDEBUG
49
50 install
51 make install install-dev install-qa V=1 DIST_ROOT=%{BUILDROOT}
52
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
57 end
58 end
59
60 packages
61 package %{name}
62
63 package %{name}-devel
64 template DEVEL
65 end
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
70 end