Author: qboosh Date: Mon Jul 18 16:35:27 2011 GMT Module: packages Tag: HEAD ---- Log message: - initial
---- Files affected: packages/spice-vdagent: spice-vdagent.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/spice-vdagent/spice-vdagent.spec diff -u /dev/null packages/spice-vdagent/spice-vdagent.spec:1.1 --- /dev/null Mon Jul 18 18:35:27 2011 +++ packages/spice-vdagent/spice-vdagent.spec Mon Jul 18 18:35:21 2011 @@ -0,0 +1,80 @@ +# $Revision$, $Date$ +Summary: Linux guest agent for SPICE +Summary(pl.UTF-8): Agent gościa linuksowego dla SPICE +Name: spice-vdagent +Version: 0.8.0 +Release: 0.1 +License: GPL v3+ +Group: X11/Applications +Source0: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2 +# Source0-md5: 0695e200494612a2da770e34297d86ee +URL: http://spice-space.org/ +BuildRequires: ConsoleKit-devel +BuildRequires: dbus-devel +BuildRequires: rpmbuild(macros) >= 1.228 +BuildRequires: spice-protocol >= 0.8.0 +BuildRequires: xorg-lib-libXfixes-devel +BuildRequires: xorg-lib-libXrandr-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The SPICE agent for Linux consists of 2 parts, a daemon spice-vdagentd +and a per X-session process spice-vdagent. The daemon gets +automatically started in Spice guests through a udev rule. The per +X-session gets automatically started in desktop environments which +honor /etc/xdg/autostart, and under gdm. + +%description -l pl.UTF-8 +Agent SPICE dla Linuksa składa się z 2 części: demona spice-vdagentd +oraz procesu dla sesji X spice-vdagent. Demon uruchamia się +automatycznie na gościach Spice poprzez regułę udeva. Proces dla sesji +X jest uruchamiany automatycznie w środowiskach graficznych +honorujących /etc/xdg/autostart oraz pod GDM-em. + +%prep +%setup -q + +%build +%configure \ + --disable-silent-rules +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/chkconfig --add %{name} +%service %{name} restart + +%preun +if [ "$1" = "0" ]; then + %service -q %{name} stop + /sbin/chkconfig --del %{name} +fi + +%files +%defattr(644,root,root,755) +%doc ChangeLog README TODO +%attr(755,root,root) %{_bindir}/spice-vdagent +%attr(755,root,root) %{_sbindir}/spice-vdagentd +# TODO: PLDify +%attr(754,root,root) /etc/rc.d/init.d/spice-vdagentd +# TODO: change to PLD-compliat way +#/etc/tmpfiles.d/spice-vdagentd.conf +/etc/xdg/autostart/spice-vdagent.desktop +#%{_datadir}/gdm/autostart/LoginWindow/spice-vdagent.desktop + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/07/18 16:35:21 qboosh +- initial ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
