Fix error message.
[mclu.git] / mclu.spec.in
1 Name:            @PACKAGE_NAME@
2 Version:         @PACKAGE_VERSION@
3 Release:         1%{?dist}
4 Summary:         Mini cluster, a virtualization cluster manager
5
6 BuildArch:       noarch
7
8 License:         GPLv2+
9 URL:             http://git.annexia.org/?p=mclu.git;a=summary
10 Source0:         @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
11
12 BuildRequires:   python-devel
13 BuildRequires:   libvirt-python
14 BuildRequires:   /usr/bin/ssh
15 BuildRequires:   ansible
16
17 Requires:        libvirt-python
18 Requires:        /usr/bin/ssh
19 Requires:        ansible
20
21 # These are optional: comment them out to get a less functional mclu.
22 BuildRequires:   /usr/bin/wol
23 BuildRequires:   /usr/bin/virt-builder
24 BuildRequires:   /usr/bin/virt-viewer
25 Requires:        /usr/bin/wol
26 Requires:        /usr/bin/virt-builder
27 Requires:        /usr/bin/virt-viewer
28
29
30 %description
31 mclu (mini cluster) is a virtualization cluster manager.
32
33
34 %prep
35 %setup -q
36
37
38 %build
39 %configure
40 make %{?_smp_mflags}
41
42
43 %install
44 make DESTDIR=$RPM_BUILD_ROOT install
45
46
47 %files
48 %doc CONFIGURATION COPYING README
49 %dir %{_sysconfdir}/mclu/
50 %dir %{_sysconfdir}/mclu/xmls/
51 %config(noreplace) %{_sysconfdir}/mclu/mclu.conf
52 %{_bindir}/mclu
53 %{_datadir}/%{name}/
54
55
56 %changelog
57 * Thu May  8 2014 Richard W.M. Jones <rjones@redhat.com> - @PACKAGE_VERSION@-1
58 - Initial release.