Clean up GPFS setup script
[autocluster.git] / autocluster.spec.in
1 Summary: Automated environment for building virtual clusters
2 Packager: Martin Schwenke <martin@meltin.net>
3 Name: autocluster
4 Version: @@VERSION@@
5 Release: 1
6 Epoch: 0
7 License: GNU GPL version 3
8 Group: System Environment/Daemons
9 URL: git://git.samba.org/autocluster.git
10
11 Source: autocluster-%{version}.tar.gz
12
13 Provides: autocluster = %{version}
14 Requires: expect, coreutils, sed
15 Requires: /usr/bin/virsh, /usr/bin/qemu-img, /usr/libexec/qemu-kvm
16
17 Prefix: /usr
18 BuildRoot: %{_tmppath}/%{name}-%{version}-root
19 BuildArch: noarch
20
21 %description
22 KVM and libvirt-based virtual cluster generation environment for
23 testing clustered software.
24
25 ######################################################################
26
27 %prep
28 %setup -q
29
30 %build
31 make prefix=%{_prefix}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 ######################################################################
41
42 %files
43 %defattr(-,root,root)
44
45 %doc README ChangeLog examples/*
46 %dir %{_prefix}/share/autocluster
47 %{_prefix}/share/autocluster/*
48 %{_bindir}/autocluster
49 %{_bindir}/vircmd
50 %{_bindir}/waitfor