-
Notifications
You must be signed in to change notification settings - Fork 1
/
nova-image-builder.spec.in
46 lines (38 loc) · 1.25 KB
/
nova-image-builder.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Summary: OpenStack Nova image generation tool
Name: nova-image-builder
Version: @VERSION@
Release: @RELEASE@%{?dist}
Source0: http://repos.fedorapeople.org/repos/aeolus/nova-image-builder/%{version}/tarball/%{name}-%{version}.tar.gz
License: ASL 2.0
Group: Applications/System
URL: https://github.com/redhat-imaging/novaimagebuilder
BuildArch: noarch
Requires: python-libguestfs
Requires: python-glanceclient
Requires: python-keystoneclient
Requires: python-cinderclient
Requires: python-novaclient
Requires: python-argparse
Requires(post): chkconfig
Requires(preun): chkconfig
BuildRequires: python2
BuildRequires: python-setuptools
%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 -q
%build
python setup.py build
%install
python setup.py install -O1 --root=%{buildroot} --skip-build
%{__install} -d %{buildroot}/%{_localstatedir}/lib/novaimagebuilder
%files
%doc COPYING README.md
%dir %attr(0755, root, root) %{_localstatedir}/lib/novaimagebuilder
%{python_sitelib}/nova_image_builder-*.egg-info
%{python_sitelib}/novaimagebuilder/*.py*
%{_bindir}/nova-install
%changelog
* Fri May 09 2014 Ian McLeod <[email protected]> - 0.0.1-0
- Initial spec file