-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathansible-qubes.spec
43 lines (32 loc) · 1.03 KB
/
ansible-qubes.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
%define debug_package %{nil}
%define mybuildnumber %{?build_number}%{?!build_number:1}
Name: ansible-qubes
Version: 0.0.21
Release: %{mybuildnumber}%{?dist}
Summary: Inter-VM program execution for Qubes OS AppVMs and StandaloneVMs
BuildArch: noarch
License: GPLv3+
URL: https://github.com/Rudd-O/ansible-qubes
Source0: https://github.com/Rudd-O/%{name}/archive/{%version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: gawk
Requires: python3
%description
This package lets you execute programs between VMs as if it was SSH.
%prep
%setup -q
%build
# variables must be kept in sync with install
make DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir}
%install
rm -rf $RPM_BUILD_ROOT
# variables must be kept in sync with build
for target in install; do
make $target DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir}
done
%files
%attr(0755, root, root) %{_bindir}/*
%doc README.md
%changelog
* Sun Jul 09 2017 Manuel Amador (Rudd-O) <[email protected]>
- Initial release.