smeserver-qemu-guest-agent/smeserver-qemu-guest-agent.spec

71 lines
1.8 KiB
RPMSpec

%define name smeserver-qemu-guest-agent
%define version 0.1
%define release 4
Summary: Plugin to enable add qemu-guest-agent 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.xz
BuildRoot: /var/tmp/%{name}-%{version}
BuildArchitectures: noarch
BuildRequires: smeserver-devtools
Requires: smeserver-release >= 10.0
Requires: qemu-guest-agent
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
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 0.1-4.sme
- Fix e-smith references in smeserver-qemu-guest-agent [SME: 12732]
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 0.1-3.sme
- Roll up patches and move to git repo [SME: 12338]
* Sat Sep 07 2024 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Tue Mar 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2.sme
- change event name smeserver-qemu-guest-agent-update [SME: 11777]
* Fri Oct 22 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme
- Initial import to Koozali SME 10 [SME: 11715]
%prep
%setup
%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 "see https://wiki.koozali.org/Qemu_guest_agent"
%postun