Change fixed NFS RPC ports to be outside the local port range
[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: coreutils, sed
15 # Pick one:
16 Requires: python, python-ipaddress
17 #Requires: python3
18 Requires: ansible >= 2.4
19
20 Prefix: /usr
21 BuildRoot: %{_tmppath}/%{name}-%{version}-root
22 BuildArch: noarch
23
24 %description
25 KVM and libvirt-based virtual cluster generation environment for
26 testing clustered software.
27
28 ######################################################################
29
30 %prep
31 %setup -q
32
33 %build
34 make prefix=%{_prefix}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 ######################################################################
44
45 %files
46 %defattr(-,root,root)
47
48 %doc README ChangeLog example.yml
49 %dir %{_prefix}/share/autocluster
50 %{_prefix}/share/autocluster/*
51 %{_bindir}/autocluster