fstests: remove libattr dependencies
[xfstests-dev.git] / build / rpm / xfstests.spec.in
1 Summary: XFS regression test suite
2 Name: @pkg_name@
3 Version: @pkg_version@
4 Release: @pkg_release@
5 Distribution: @pkg_distribution@
6 Packager: Silicon Graphics, Inc. <http://www.sgi.com/>
7 BuildRoot: @build_root@
8 BuildRequires:  autoconf, xfsprogs-devel, e2fsprogs-devel
9 BuildREquires:  libacl-devel, libaio-devel
10 Requires:       bash, xfsprogs, xfsdump, perl, acl, attr, bind-utils
11 Requires:       bc, indent, quota
12 Source: @pkg_name@-@pkg_version@.src.tar.gz
13 License: GPL2+
14 Vendor: Silicon Graphics, Inc.
15 URL: http://oss.sgi.com/projects/xfs/
16 Group: System Environment/Base
17
18 %description
19 The XFS regression test suite.  Also includes some support for
20 acl, attr, dmapi, udf, and nfs testing.  Contains around 200 specific tests
21 for userspace & kernelspace.
22
23 %prep
24 if [ -f .census ] ; then
25    if [ ! -d ${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION} ] ; then
26       ln -s . ${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}
27    fi
28 else
29 %setup
30 INSTALL_USER=root
31 INSTALL_GROUP=root
32 export INSTALL_USER INSTALL_GROUP
33 @make@ configure
34 fi
35
36 %build
37 @make@
38
39 %install
40 DIST_ROOT="$RPM_BUILD_ROOT"
41 DIST_INSTALL=`pwd`/install.manifest
42 export DIST_ROOT DIST_INSTALL
43 @make@ install DIST_MANIFEST="$DIST_INSTALL"
44 @make@ -C build/rpm rpmfiles DIST_MANIFEST="$DIST_INSTALL"
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f build/rpm/rpmfiles