1 |
jcrisp |
1.1 |
%define name smeserver-qemu-guest-agent |
2 |
|
|
%define version 0.1 |
3 |
jcrisp |
1.2 |
%define release 2 |
4 |
jcrisp |
1.1 |
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 |
jcrisp |
1.2 |
Patch1: smeserver-qemu-guest-agent-bz11777-fix-event-name.patch |
13 |
jcrisp |
1.1 |
|
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 |
jcrisp |
1.2 |
* Tue Mar 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2.sme |
27 |
|
|
- change event name smeserver-qemu-guest-agent-update [SME: 11777] |
28 |
|
|
|
29 |
jcrisp |
1.1 |
* Fri Oct 22 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme |
30 |
|
|
- Initial import to Koozali SME 10 [SME: 11715] |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
%prep |
35 |
|
|
%setup |
36 |
jcrisp |
1.2 |
%patch1 -p1 |
37 |
jcrisp |
1.1 |
|
38 |
|
|
%build |
39 |
|
|
perl createlinks |
40 |
|
|
|
41 |
|
|
%install |
42 |
|
|
rm -rf $RPM_BUILD_ROOT |
43 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
44 |
|
|
rm -f %{name}-%{version}-filelist |
45 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
46 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
47 |
|
|
|
48 |
|
|
|
49 |
|
|
%clean |
50 |
|
|
cd .. |
51 |
|
|
rm -rf %{name}-%{version} |
52 |
|
|
|
53 |
|
|
%files -f %{name}-%{version}-filelist |
54 |
|
|
%defattr(-,root,root) |
55 |
|
|
|
56 |
|
|
%pre |
57 |
|
|
%preun |
58 |
|
|
%post |
59 |
|
|
|
60 |
|
|
echo "see https://wiki.koozali.org/Qemu_guest_agent" |
61 |
|
|
|
62 |
|
|
%postun |