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