diff --git a/README.md b/README.md index 7eb8f0d..cb8dcd2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # spice-vdagent +Spice agent for Linux guests. + diff --git a/spice-vdagent.spec b/spice-vdagent.spec new file mode 100644 index 0000000..d39b942 --- /dev/null +++ b/spice-vdagent.spec @@ -0,0 +1,73 @@ +Name: spice-vdagent +Version: 0.22.1 +Release: 1mamba +Summary: Spice agent for Linux guests +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.spice-space.org/ +Source: https://www.spice-space.org/download/releases/spice-vdagent-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXfixes-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: libalsa-devel +BuildRequires: libat-spi2-core-devel +BuildRequires: libcairo-devel +BuildRequires: libdbus-devel +BuildRequires: libdrm-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk3-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libpango-devel +BuildRequires: libpciaccess-devel +BuildRequires: libsystemd-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END + +%description +Spice agent for Linux guests. + +%debug_package + +%prep +%setup -q + +%build +%configure \ + --with-session-info=systemd \ + --with-init-script=systemd + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop +%{_bindir}/spice-vdagent +%{_unitdir}/spice-vdagentd.service +%{_unitdir}/spice-vdagentd.socket +%{_userunitdir}/spice-vdagent.service +%{_tmpfilesdir}/spice-vdagentd.conf +%{_udevrulesdir}/70-spice-vdagentd.rules +%{_sbindir}/spice-vdagentd +%{_datadir}/gdm/autostart/LoginWindow/spice-vdagent.desktop +%{_datadir}/gdm/greeter/autostart/spice-vdagent.desktop +%{_mandir}/man1/spice-vdagent.1* +%{_mandir}/man1/spice-vdagentd.1* +%doc COPYING + +%changelog +* Wed Nov 20 2024 Silvan Calarco 0.22.1-1mamba +- package created using the webbuild interface