[imagefactory] Initial import.

Chris Lalancette clalance at fedoraproject.org
Wed Jul 20 17:39:01 UTC 2011


commit 6eeed103622d1fe70cd857fb2952984fda304bdd
Author: Chris Lalancette <clalance at redhat.com>
Date:   Wed Jul 20 13:38:42 2011 -0400

    Initial import.
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

 .gitignore        |    1 +
 imagefactory.spec |   74 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8e3bd6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/imagefactory-0.3.1.tar.gz
diff --git a/imagefactory.spec b/imagefactory.spec
new file mode 100644
index 0000000..8df40b4
--- /dev/null
+++ b/imagefactory.spec
@@ -0,0 +1,74 @@
+Summary: System image generation tool
+Name: imagefactory
+Version: 0.3.1
+Release: 3%{?dist}
+Source0: http://repos.fedorapeople.org/repos/aeolus/image-factory/%{version}/tarball/%{name}-%{version}.tar.gz
+License: ASL 2.0
+Group: Applications/System
+URL: http://www.aeolusproject.org/imagefactory.html
+BuildArch: noarch
+Requires: oz
+Requires: euca2ools
+Requires: python-qmf
+Requires: python-pycurl
+Requires: python-libguestfs
+Requires: python-zope-interface
+Requires: python-boto
+Requires: libxml2-python
+Requires: python-httplib2
+Requires: python-argparse
+Requires: python-cloudservers
+Requires: python-psphere
+Requires: VMDKstream
+Requires(post): chkconfig
+Requires(preun): chkconfig
+# This is for /sbin/service
+Requires(preun): initscripts
+BuildRequires: python-setuptools
+
+%description
+imagefactory is a daemon that listens for build requests via QMF.  When
+a build request is received, imagefactory will build the requested image
+for the requested target.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --root=%{buildroot} --skip-build
+
+sed -i '/\/usr\/bin\/env python/d' %{buildroot}/%{python_sitelib}/imagefactory/*.py
+
+
+%post
+/sbin/chkconfig --add %{name}
+
+%preun
+if [ $1 = 0 ] ; then
+    /sbin/service %{name} stop >/dev/null 2>&1
+    /sbin/chkconfig --del %{name}
+fi
+
+%files
+%doc COPYING
+%{_initddir}/imagefactory
+%config(noreplace) %{_sysconfdir}/imagefactory.conf
+%dir %attr(0755, root, root) %{_sysconfdir}/pki/imagefactory/
+%config %{_sysconfdir}/pki/imagefactory/cert-ec2.pem
+%{python_sitelib}/imagefactory/
+%{python_sitelib}/imagefactory-*.egg-info
+%{_bindir}/imgfac.py
+%{_mandir}/man1/*
+
+%changelog
+* Wed Jul 20 2011 Chris Lalancette <clalance at redhat.com> - 0.3.1-3
+- More updates after package review
+
+* Tue Jul 19 2011 Chris Lalancette <clalance at redhat.com> - 0.3.1-2
+- Updates after package review
+
+* Wed Jul 13 2011 Chris Lalancette <clalance at redhat.com> - 0.3.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..d7ffeda 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d2ecae95102be77a2e1329276035bfce  imagefactory-0.3.1.tar.gz


More information about the scm-commits mailing list