summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--cobbler.spec18
-rwxr-xr-xcobbler/cobbler.py2
3 files changed, 14 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 2a2560a..0e6d779 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+all: rpm
+
clean:
-rm -f cobbler*.gz cobbler*.rpm MANIFEST
-rm -rf cobbler-* dist build
@@ -9,7 +11,7 @@ test:
python tests/tests.py
-rm -rf /tmp/_cobbler-*
-install: clean manpage
+rpm: clean manpage
python setup.py sdist
cp dist/*.gz .
rpmbuild --define "_topdir %(pwd)" \
diff --git a/cobbler.spec b/cobbler.spec
index 5e46a78..fb43e20 100644
--- a/cobbler.spec
+++ b/cobbler.spec
@@ -9,19 +9,19 @@ Release: %{release}
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Applications/System
-Requires: python >= 2.4.2
-Requires: PySyck >= 0.61
-Requires: httpd >= 2.2
+Requires: python >= 2.3
+Requires: httpd
Requires: tftp-server
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-Prefix: %{_prefix}
BuildArch: noarch
-Vendor: Michael DeHaan <mdehaan@redhat.com>
-Url: http://michaeldehaan.net/software/RPMS
+Url: http://michaeldehaan.net/software/RPMS/cobbler-0.1.0-1.src.rpm
%description
-Cobbler is a command line tool for simplified configuration of boot/provisioning servers. It is also accessible as a Python library. Cobbler supports PXE, Xen, and re-provisioning an existing Linux system via auto-kickstart. The last two modes require 'koan' to be run on the remote system.
+Cobbler is a command line tool for simplified configuration of provisioning
+servers. It is also accessible as a Python library. Cobbler supports PXE,
+Xen, and re-provisioning an existing Linux system via auto-kickstart. The
+last two modes require 'koan' to be run on the remote system.
@@ -39,3 +39,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
+
+%changelog
+* Tue Jun 28 2005 - 0.1.0-1
+- rpm genesis
diff --git a/cobbler/cobbler.py b/cobbler/cobbler.py
index 710fb05..22cb8d3 100755
--- a/cobbler/cobbler.py
+++ b/cobbler/cobbler.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
"""
Command line interface for cobbler, a network provisioning configuration
library. Consult 'man cobbler' for general info. This class serves