1 |
%define name smeserver-qemu-guest-agent |
2 |
%define version 0.1 |
3 |
%define release 1 |
4 |
Summary: Plugin to enable add qemu-guest-agent support to Koozali SME |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GNU GPL version 2 |
9 |
URL: http://libreswan.org/ |
10 |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
12 |
#Patch1: smeserver-qemu-guest-agent.patch |
13 |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 10.0 |
18 |
Requires: qemu-guest-agent |
19 |
AutoReqProv: no |
20 |
|
21 |
%description |
22 |
The qemu-guest-agent is a helper daemon, which is installed in the guest. |
23 |
It is used to exchange information between the host and guest, and to execute command in the guest. |
24 |
|
25 |
%changelog |
26 |
* Fri Oct 22 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme |
27 |
- Initial import to Koozali SME 10 [SME: 11715] |
28 |
|
29 |
|
30 |
|
31 |
%prep |
32 |
%setup |
33 |
#%patch1 -p1 |
34 |
|
35 |
%build |
36 |
perl createlinks |
37 |
|
38 |
%install |
39 |
rm -rf $RPM_BUILD_ROOT |
40 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
41 |
rm -f %{name}-%{version}-filelist |
42 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
43 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
44 |
|
45 |
|
46 |
%clean |
47 |
cd .. |
48 |
rm -rf %{name}-%{version} |
49 |
|
50 |
%files -f %{name}-%{version}-filelist |
51 |
%defattr(-,root,root) |
52 |
|
53 |
%pre |
54 |
%preun |
55 |
%post |
56 |
|
57 |
echo "see https://wiki.koozali.org/Qemu_guest_agent" |
58 |
|
59 |
%postun |