Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
71 lines (57 sloc) 1.79 KB
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Network provisioning tool for Xen and Bare Metal Machines
Name: koan
Version: 1.6.0
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
License: GPLv2+
Group: Applications/System
Requires: mkinitrd
Requires: python >= 1.5
BuildRequires: python-devel
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]" || echo 0)}
Requires: python(abi) = %{pyver}
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Koan is a helper tool for use with 'cobbler'. It allows for
network installation of new virtualized guests and reinstallation
of an existing system.
%setup -q
%{__python} build
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%{__python} install --optimize=1 --root=$RPM_BUILD_ROOT
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%if 0%{?fedora} > 8
%dir /var/spool/koan
%dir %{python_sitelib}/koan
%dir /var/log/koan
* Mon Mar 8 2009 Michael DeHaan <> - 1.6.0-1
- Upstream changes (see CHANGELOG)
- added cobbler-register script and manpage
* Tue Feb 17 2009 Michael DeHaan <> - 1.4.3-1
- Upstream changes (see CHANGELOG)
- Reduce python version requirements