summaryrefslogtreecommitdiffstats
path: root/koan.spec
blob: cb0120ed4cecb0474969b8ba8e2ce6e11a0c1e2a (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
%define name koan
%define version 0.1.0
%define release 1

Summary: Network provisioning tool for Xen and Existing Non-Bare Metal
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Applications/System
Requires: mkinitrd
Requires: syslinux
Requires: python >= 2.4.2
Requires: PySyck >= 0.61
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Michael DeHaan <mdehaan@redhat.com>
Url: http://michaeldehaan.net/software/RPMS

%description

koan standards for ’kickstart-over-a-network’ and allows for both
network provisioning of new Xen guests and destructive re-provisioning of
any existing system.  For use with a boot-server configured with
'cobbler'


%prep
%setup

%build
python setup.py build

%install
python setup.py install --optimize=1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)