forked from simon3z/virt-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
virt-deploy.spec
65 lines (45 loc) · 1.59 KB
/
virt-deploy.spec
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: virt-deploy
Version: 0.1.6
Release: 1%{?dist}
Summary: Virtual machines deployment tool
License: GPLv2
URL: https://github.com/simon3z/%{name}
Source0: https://github.com/simon3z/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-setuptools
Requires: python-netaddr
Requires: libxml2-python
Requires: qemu-img
Requires: libguestfs-tools-c
Requires: virt-install
Requires: libvirt-daemon-config-network
Requires: libvirt-daemon-config-nwfilter
%description
Virtual machines deployment tool.
%prep
%setup -q
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%doc README.rst COPYING
%{_bindir}/virt-deploy
%{python_sitelib}/*
%changelog
* Mon Feb 2 2015 Federico Simoncelli <[email protected]> - 0.1.6-1
- update to 0.1.6
* Tue Jan 20 2015 Federico Simoncelli <[email protected]> - 0.1.5-1
- update to 0.1.5
* Sat Jan 17 2015 Federico Simoncelli <[email protected]> - 0.1.4-1
- update to 0.1.4
* Thu Jan 15 2015 Federico Simoncelli <[email protected]> - 0.1.3-1
- update to 0.1.3
* Tue Jan 13 2015 Federico Simoncelli <[email protected]> - 0.1.2-1
- update to 0.1.2
* Sat Jan 3 2015 Federico Simoncelli <[email protected]> - 0.1.1-1
- initial build