Makefile generates ChangeLog for dist and spec file installs it as doc.
[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/tridge/autocluster.git
10
11 Source: autocluster-%{version}.tar.gz
12
13 #Prereq: fileutils sed expect kvm libvirt
14
15 Provides: autocluster = %{version}
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/example.sh
46 %{_prefix}/share/autocluster
47 %{_bindir}/autocluster
48 %{_bindir}/vircmd
49 %{_bindir}/waitfor