1 |
%define name smeserver-open-vm-tools |
2 |
%define version 0.1 |
3 |
%define release 1 |
4 |
Summary: Plugin to enable add open-vm-tools 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-open-vm-tools.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: open-vm-tools |
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 |
* Thu Nov 22 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme |
27 |
- Initial import to Koozali SME 10 [SME: 11776] |
28 |
- Thanks to Michail Pappas for his work |
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 "********************************************************************" |
58 |
echo "********************************************************************" |
59 |
echo "* *" |
60 |
echo "* See https://wiki.koozali.org/VMware_Tools" *" |
61 |
echo "* *" |
62 |
echo "* Please now run signal-event post-upgrade;signal-event reboot" *" |
63 |
echo "* *" |
64 |
echo "********************************************************************" |
65 |
echo "********************************************************************" |
66 |
|
67 |
|
68 |
%postun |