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.10.0.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
|
||||
Version: 0.10.1
|
||||
Release: 2%{?dist}
|
||||
Version: 0.12.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Agent for Spice guests
|
||||
Group: Applications/System
|
||||
License: GPLv3+
|
||||
@ -8,11 +8,10 @@ URL: http://spice-space.org/
|
||||
Source0: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: systemd-devel spice-protocol libpciaccess-devel
|
||||
BuildRequires: libXrandr-devel libXinerama-devel libXfixes-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires(post): chkconfig
|
||||
Requires(postun): initscripts
|
||||
Requires(preun): chkconfig
|
||||
Requires(preun): initscripts
|
||||
BuildRequires: systemd-units desktop-file-utils
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
|
||||
%description
|
||||
Spice agent for Linux guests offering the following features:
|
||||
@ -32,7 +31,7 @@ Features:
|
||||
|
||||
|
||||
%build
|
||||
%configure --with-session-info=systemd
|
||||
%configure --with-session-info=systemd --with-init-script=systemd
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -41,29 +40,26 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
/sbin/chkconfig --add spice-vdagentd
|
||||
%systemd_post spice-vdagentd.service
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ] ; then
|
||||
/sbin/service spice-vdagentd stop >/dev/null 2>&1
|
||||
/sbin/chkconfig --del spice-vdagentd
|
||||
fi
|
||||
%systemd_preun spice-vdagentd.service
|
||||
|
||||
%postun
|
||||
if [ "$1" -ge "1" ] ; then
|
||||
/sbin/service spice-vdagentd condrestart >/dev/null 2>&1 || :
|
||||
fi
|
||||
%systemd_postun_with_restart spice-vdagentd.service
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING ChangeLog README TODO
|
||||
%{_sysconfdir}/tmpfiles.d/spice-vdagentd.conf
|
||||
%{_initddir}/spice-vdagentd
|
||||
%config(noreplace) %{_sysconfdir}/rsyslog.d/spice-vdagentd.conf
|
||||
/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
|
||||
%{_sbindir}/spice-vdagentd
|
||||
%{_var}/log/spice-vdagentd
|
||||
%{_var}/run/spice-vdagentd
|
||||
%{_sysconfdir}/modules-load.d/spice-vdagentd.conf
|
||||
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
|
||||
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
|
||||
# We own the dir too, otherwise we must Require gdm
|
||||
@ -71,6 +67,11 @@ fi
|
||||
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user