%define name smeserver-open-vm-tools %define version 0.1 %define release 3 Summary: Plugin to enable add open-vm-tools support to Koozali SME Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GNU GPL version 2 URL: http://libreswan.org/ Group: SMEserver/addon Source: %{name}-%{version}.tar.gz #Patch1: smeserver-open-vm-tools.patch BuildRoot: /var/tmp/%{name}-%{version} BuildArchitectures: noarch BuildRequires: e-smith-devtools Requires: e-smith-release >= 10.0 Requires: open-vm-tools AutoReqProv: no %description The qemu-guest-agent is a helper daemon, which is installed in the guest. It is used to exchange information between the host and guest, and to execute command in the guest. %changelog * Thu Nov 25 2021 John Crisp 0.1-3.sme - Really fix bogus date * Thu Nov 25 2021 John Crisp 0.1-2.sme - Fix bogus date * Thu Nov 25 2021 John Crisp 0.1-1.sme - Initial import to Koozali SME 10 [SME: 11776] - Thanks to Michail Pappas for his work %prep %setup #%patch1 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean cd .. rm -rf %{name}-%{version} %files -f %{name}-%{version}-filelist %defattr(-,root,root) %pre %preun %post echo "********************************************************************" echo "********************************************************************" echo "* *" echo "* See https://wiki.koozali.org/VMware_Tools" *" echo "* *" echo "* Please now run signal-event post-upgrade;signal-event reboot" *" echo "* *" echo "********************************************************************" echo "********************************************************************" %postun