]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = xfsprogs |
4a01139e | 7 | version = 4.9.0 |
802ea3af | 8 | release = 1 |
acba165f | 9 | |
802ea3af MT |
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 | |
acba165f | 14 | |
802ea3af MT |
15 | description |
16 | A set of commands to use the XFS filesystem, including mkfs.xfs. | |
17 | end | |
acba165f | 18 | |
4a01139e SS |
19 | source_dl = https://www.kernel.org/pub/linux/utils/fs/xfs/%{name}/ |
20 | sources = %{thisapp}.tar.xz | |
acba165f | 21 | |
802ea3af MT |
22 | build |
23 | requires | |
802ea3af MT |
24 | gettext |
25 | libacl-devel | |
78647fb0 SS |
26 | libattr-devel |
27 | libblkid-devel >= 2.17 | |
802ea3af MT |
28 | libtool |
29 | libuuid-devel | |
30 | readline-devel | |
31 | end | |
acba165f | 32 | |
802ea3af | 33 | configure_options += \ |
f4606291 | 34 | --libexecdir=%{libdir} \ |
802ea3af | 35 | --enable-readline=yes \ |
09a9fc3b | 36 | --enable-blkid=yes |
acba165f | 37 | |
78647fb0 SS |
38 | make_build_targets += \ |
39 | V=1 DEBUG=-DNDEBUG | |
7ce06e41 | 40 | |
4a01139e SS |
41 | # This package does not come with a testsuite. |
42 | ||
78647fb0 SS |
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/ | |
802ea3af MT |
53 | end |
54 | end | |
7ce06e41 | 55 | |
802ea3af MT |
56 | packages |
57 | package %{name} | |
09a9fc3b MT |
58 | conflicts |
59 | filesystem < 002 | |
60 | end | |
61 | end | |
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 | 70 | end |