%global commit 7f3db8a9fc88b2f099384feec152402198d6a87f %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: novaimagebuilder Version: 0.0.1 Release: 1%{?dist} Summary: OpenStack Nova image generation tool Group: Applications/System License: ASL 2.0 URL: https://github.com/redhat-imaging/novaimagebuilder Source0: https://github.com/redhat-imaging/novaimagebuilder/archive/%{commit}/nova-image-builder-%{commit}.tar.gz BuildRequires: python2 BuildRequires: python-setuptools Requires: python-libguestfs Requires: python-glanceclient Requires: python-keystoneclient Requires: python-cinderclient Requires: python-novaclient Requires: python-argparse Requires(post): chkconfig Requires(preun): chkconfig %description nova-image-builder allows you to create OpenStack images from scratch by running native OS installers inside of Nova and saving the results %prep %setup -qn %{name}-%{commit} %build python setup.py build %configure make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %files %doc %changelog * Wed Jun 25 2014 Dennis Kliban 0.0.1-1 - Initial release