New upstream release 0.12.0
- This moves the tmpfiles.d to /usr/lib/tmpfiles.d (rhbz#840194) - This adds a systemd .service file (rhbz#848102)
This commit is contained in:
parent
c242d62d26
commit
2f7cfe8f6a
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/spice-vdagent-0.8.1.tar.bz2
|
/spice-vdagent-0.8.1.tar.bz2
|
||||||
/spice-vdagent-0.10.0.tar.bz2
|
/spice-vdagent-0.10.0.tar.bz2
|
||||||
/spice-vdagent-0.10.1.tar.bz2
|
/spice-vdagent-0.10.1.tar.bz2
|
||||||
|
/spice-vdagent-0.12.0.tar.bz2
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
0e69a13e4df37eefb52b1df795b22755 spice-vdagent-0.10.1.tar.bz2
|
a7de4d6682099b7af9c289ef3e2996f7 spice-vdagent-0.12.0.tar.bz2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: spice-vdagent
|
Name: spice-vdagent
|
||||||
Version: 0.10.1
|
Version: 0.12.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Agent for Spice guests
|
Summary: Agent for Spice guests
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -8,11 +8,10 @@ URL: http://spice-space.org/
|
|||||||
Source0: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
Source0: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
||||||
BuildRequires: systemd-devel spice-protocol libpciaccess-devel
|
BuildRequires: systemd-devel spice-protocol libpciaccess-devel
|
||||||
BuildRequires: libXrandr-devel libXinerama-devel libXfixes-devel
|
BuildRequires: libXrandr-devel libXinerama-devel libXfixes-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: systemd-units desktop-file-utils
|
||||||
Requires(post): chkconfig
|
Requires(post): systemd-units
|
||||||
Requires(postun): initscripts
|
Requires(preun): systemd-units
|
||||||
Requires(preun): chkconfig
|
Requires(postun): systemd-units
|
||||||
Requires(preun): initscripts
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Spice agent for Linux guests offering the following features:
|
Spice agent for Linux guests offering the following features:
|
||||||
@ -32,7 +31,7 @@ Features:
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-session-info=systemd
|
%configure --with-session-info=systemd --with-init-script=systemd
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -41,29 +40,26 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/chkconfig --add spice-vdagentd
|
%systemd_post spice-vdagentd.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ] ; then
|
%systemd_preun spice-vdagentd.service
|
||||||
/sbin/service spice-vdagentd stop >/dev/null 2>&1
|
|
||||||
/sbin/chkconfig --del spice-vdagentd
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ "$1" -ge "1" ] ; then
|
%systemd_postun_with_restart spice-vdagentd.service
|
||||||
/sbin/service spice-vdagentd condrestart >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING ChangeLog README TODO
|
%doc COPYING ChangeLog README TODO
|
||||||
%{_sysconfdir}/tmpfiles.d/spice-vdagentd.conf
|
%config(noreplace) %{_sysconfdir}/rsyslog.d/spice-vdagentd.conf
|
||||||
%{_initddir}/spice-vdagentd
|
/lib/udev/rules.d/70-spice-vdagentd.rules
|
||||||
|
%{_unitdir}/spice-vdagentd.service
|
||||||
|
%{_unitdir}/spice-vdagentd.target
|
||||||
|
%{_prefix}/lib/tmpfiles.d/spice-vdagentd.conf
|
||||||
%{_bindir}/spice-vdagent
|
%{_bindir}/spice-vdagent
|
||||||
%{_sbindir}/spice-vdagentd
|
%{_sbindir}/spice-vdagentd
|
||||||
%{_var}/log/spice-vdagentd
|
|
||||||
%{_var}/run/spice-vdagentd
|
%{_var}/run/spice-vdagentd
|
||||||
|
%{_sysconfdir}/modules-load.d/spice-vdagentd.conf
|
||||||
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
|
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
|
||||||
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
|
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
|
||||||
# We own the dir too, otherwise we must Require gdm
|
# We own the dir too, otherwise we must Require gdm
|
||||||
@ -71,6 +67,11 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 1 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-1
|
||||||
|
- New upstream release 0.12.0
|
||||||
|
- This moves the tmpfiles.d to /usr/lib/tmpfiles.d (rhbz#840194)
|
||||||
|
- This adds a systemd .service file (rhbz#848102)
|
||||||
|
|
||||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user