[imagefactory-plugins/f20] import upstream 1.1.3 release

Ian McLeod imcleod at fedoraproject.org
Thu Aug 29 14:03:57 UTC 2013


commit 31967d4dd5fd1cb2ddf83ca98da21c6709c9dca7
Author: Ian McLeod <imcleod at redhat.com>
Date:   Thu Aug 29 09:03:41 2013 -0500

    import upstream 1.1.3 release

 .gitignore        |    1 +
 imagefactory.spec |   93 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 95 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ec8b9f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/imagefactory-1.1.3.tar.gz
diff --git a/imagefactory.spec b/imagefactory.spec
new file mode 100644
index 0000000..887d546
--- /dev/null
+++ b/imagefactory.spec
@@ -0,0 +1,93 @@
+Summary: System image generation tool
+Name: imagefactory
+Version: 1.1.3
+Release: 1%{?dist}
+Source0: http://repos.fedorapeople.org/repos/aeolus/imagefactory/%{version}/tarball/%{name}-%{version}.tar.gz
+License: ASL 2.0
+Group: Applications/System
+URL: http://www.aeolusproject.org/imagefactory.html
+BuildArch: noarch
+Requires: python-pycurl
+Requires: python-libguestfs
+Requires: python-zope-interface
+Requires: libxml2-python
+Requires: python-httplib2
+Requires: python-argparse
+Requires: python-paste-deploy
+Requires: python-oauth2
+Requires(post): chkconfig
+Requires(preun): chkconfig
+# This is for /sbin/service
+Requires(preun): initscripts
+BuildRequires: python2
+BuildRequires: python-setuptools
+# TODO: Any changes to the _internal_ API must increment this version or, in 
+#       the case of backwards compatible changes, add a new version (RPM 
+#       allows multiple version "=" lines for the same package or 
+#       pseudo-package name)
+Provides: imagefactory-plugin-api = 1.0
+
+%description
+imagefactory allows the creation of system images for multiple virtualization
+and cloud providers from a single template definition. See 
+http://aeolusproject.org/projects/imagefactory for more information.
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+python setup.py install -O1 --root=%{buildroot} --skip-build
+
+%{__install} -d %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
+%{__install} -d %{buildroot}/%{_localstatedir}/lib/imagefactory/images
+%{__install} -d %{buildroot}/%{_sysconfdir}/imagefactory/plugins.d
+%{__install} -d %{buildroot}/%{_sysconfdir}/logrotate.d
+
+sed -i '/\/usr\/bin\/env python/d' %{buildroot}/%{python_sitelib}/imgfac/*.py
+
+%{__install} -m0600 conf/sysconfig/imagefactoryd %{buildroot}/%{_sysconfdir}/sysconfig/imagefactoryd
+%{__install} -m0600 conf/logrotate.d/imagefactoryd %{buildroot}/%{_sysconfdir}/logrotate.d/imagefactoryd
+
+%post
+/sbin/chkconfig --add imagefactoryd
+
+%preun
+if [ $1 = 0 ] ; then
+    /sbin/service imagefactoryd stop >/dev/null 2>&1
+    /sbin/chkconfig --del imagefactoryd
+fi
+
+%files
+%doc COPYING
+%{_initddir}/imagefactoryd
+%config(noreplace) %{_sysconfdir}/imagefactory/imagefactory.conf
+%config(noreplace) %{_sysconfdir}/sysconfig/imagefactoryd
+%config(noreplace) %{_sysconfdir}/logrotate.d/imagefactoryd
+%dir %attr(0755, root, root) %{_sysconfdir}/pki/imagefactory/
+%dir %attr(0755, root, root) %{_sysconfdir}/imagefactory/jeos_images/
+%dir %attr(0755, root, root) %{_sysconfdir}/imagefactory/plugins.d/
+%dir %attr(0755, root, root) %{_localstatedir}/lib/imagefactory/images
+%config %{_sysconfdir}/pki/imagefactory/cert-ec2.pem
+%{python_sitelib}/imgfac/*.py*
+%{python_sitelib}/imgfac/rest
+%{python_sitelib}/imgfac/picklingtools
+%{python_sitelib}/imagefactory-*.egg-info
+%{_bindir}/imagefactory
+%{_bindir}/imagefactoryd
+%{_mandir}/man1/*
+%{_mandir}/man5/*
+%{_mandir}/man7/*
+
+%changelog
+* Thu Aug 15 2013 Ian McLeod <imcleod at redhat.com> - 1.1.3
+- Rebase with upstream
+
+* Thu Sep 15 2011 Ian McLeod <imcleod at redhat.com> - 0.6.1
+- Update Oz requirement to 0.7.0 or later for new target-specific package config
+- Update SPEC file to restart service after an install
+
+* Mon Apr 04 2011 Chris Lalancette <clalance at redhat.com> - 0.1.6-1
+- Initial spec file.
diff --git a/sources b/sources
index e69de29..6eb1e57 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+07e940b5a5f6ef9aaa44a351772520da  imagefactory-1.1.3.tar.gz


More information about the scm-commits mailing list