2012-06-01 12:14:02 +00:00
|
|
|
# build_client:
|
|
|
|
# If you want to build both client and server change value to 1
|
|
|
|
# If you want to only build the server change value to 0
|
|
|
|
%define build_client 1
|
2012-06-01 12:35:39 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
%define build_client 0
|
|
|
|
%endif
|
2012-06-01 12:14:02 +00:00
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
Name: spice
|
2013-05-21 16:08:13 +00:00
|
|
|
Version: 0.12.3
|
|
|
|
Release: 1%{?dist}
|
2010-07-13 08:37:00 +00:00
|
|
|
Summary: Implements the SPICE protocol
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.spice-space.org/
|
2010-07-20 20:03:33 +00:00
|
|
|
Source0: http://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
2011-09-28 13:12:58 +00:00
|
|
|
Source1: spice-xpi-client-spicec
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=613529
|
2012-06-01 12:35:39 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
ExclusiveArch: x86_64
|
|
|
|
%else
|
2012-09-28 09:36:29 +00:00
|
|
|
ExclusiveArch: i686 x86_64 armv6l armv7l armv7hl
|
2012-06-01 12:35:39 +00:00
|
|
|
%endif
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
BuildRequires: pkgconfig
|
2012-12-20 20:07:39 +00:00
|
|
|
BuildRequires: glib2-devel >= 2.22
|
|
|
|
BuildRequires: spice-protocol >= 0.12.3
|
2010-07-13 08:37:00 +00:00
|
|
|
BuildRequires: celt051-devel
|
|
|
|
BuildRequires: pixman-devel alsa-lib-devel openssl-devel libjpeg-devel
|
2012-06-01 12:14:02 +00:00
|
|
|
%if %{build_client}
|
2011-01-19 14:49:04 +00:00
|
|
|
BuildRequires: libXrandr-devel cegui06-devel
|
2012-06-01 12:14:02 +00:00
|
|
|
%endif
|
2011-07-25 15:52:06 +00:00
|
|
|
BuildRequires: libcacard-devel cyrus-sasl-devel
|
2012-09-28 09:36:29 +00:00
|
|
|
BuildRequires: pyparsing
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Simple Protocol for Independent Computing Environments (SPICE) is
|
|
|
|
a remote display system built for virtual environments which allows
|
|
|
|
you to view a computing 'desktop' environment not only on the machine
|
|
|
|
where it is running, but from anywhere on the Internet and from a wide
|
|
|
|
variety of machine architectures.
|
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
|
2012-06-01 12:14:02 +00:00
|
|
|
%if %{build_client}
|
2010-07-13 08:37:00 +00:00
|
|
|
%package client
|
2011-09-28 13:12:58 +00:00
|
|
|
Summary: Implements the client side of the SPICE protocol
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
%description client
|
|
|
|
The Simple Protocol for Independent Computing Environments (SPICE) is
|
|
|
|
a remote display system built for virtual environments which allows
|
|
|
|
you to view a computing 'desktop' environment not only on the machine
|
|
|
|
where it is running, but from anywhere on the Internet and from a wide
|
|
|
|
variety of machine architectures.
|
|
|
|
|
|
|
|
This package contains the SPICE client application.
|
2012-06-01 12:14:02 +00:00
|
|
|
%endif
|
2010-07-13 08:37:00 +00:00
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
%package server
|
|
|
|
Summary: Implements the server side of the SPICE protocol
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description server
|
|
|
|
The Simple Protocol for Independent Computing Environments (SPICE) is
|
|
|
|
a remote display system built for virtual environments which allows
|
|
|
|
you to view a computing 'desktop' environment not only on the machine
|
|
|
|
where it is running, but from anywhere on the Internet and from a wide
|
|
|
|
variety of machine architectures.
|
|
|
|
|
|
|
|
This package contains the run-time libraries for any application that wishes
|
|
|
|
to be a SPICE server.
|
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
%package server-devel
|
|
|
|
Summary: Header files, libraries and development documentation for spice-server
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-server = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description server-devel
|
|
|
|
This package contains the header files, static libraries and development
|
|
|
|
documentation for spice-server. If you like to develop programs
|
|
|
|
using spice-server, you will need to install spice-server-devel.
|
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
%prep
|
2010-10-18 17:10:07 +00:00
|
|
|
%setup -q
|
2012-09-06 17:58:53 +00:00
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
%build
|
2012-06-01 12:14:02 +00:00
|
|
|
%if %{build_client}
|
|
|
|
%define configure_client --enable-client --enable-gui
|
|
|
|
%else
|
|
|
|
%define configure_client --disable-client
|
|
|
|
%endif
|
|
|
|
%configure --enable-smartcard %{configure_client}
|
2012-09-28 09:36:29 +00:00
|
|
|
make %{?_smp_mflags} WARN_CFLAGS='' V=1
|
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
rm -f %{buildroot}%{_libdir}/libspice-server.a
|
|
|
|
rm -f %{buildroot}%{_libdir}/libspice-server.la
|
2011-09-28 13:12:58 +00:00
|
|
|
mkdir -p %{buildroot}%{_libexecdir}
|
2012-06-01 12:14:02 +00:00
|
|
|
|
|
|
|
%if %{build_client}
|
2011-09-28 13:12:58 +00:00
|
|
|
touch %{buildroot}%{_libexecdir}/spice-xpi-client
|
|
|
|
install -m 0755 %{_sourcedir}/spice-xpi-client-spicec %{buildroot}%{_libexecdir}/
|
2012-06-01 12:14:02 +00:00
|
|
|
%endif
|
2010-07-13 08:37:00 +00:00
|
|
|
|
2012-06-01 12:14:02 +00:00
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
%post server -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun server -p /sbin/ldconfig
|
2011-09-28 13:12:58 +00:00
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
%if %{build_client}
|
2011-09-28 13:12:58 +00:00
|
|
|
%post client
|
|
|
|
%{_sbindir}/update-alternatives --install %{_libexecdir}/spice-xpi-client \
|
|
|
|
spice-xpi-client %{_libexecdir}/spice-xpi-client-spicec 10
|
|
|
|
|
|
|
|
%postun client
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --remove spice-xpi-client %{_libexecdir}/spice-xpi-client-spicec
|
|
|
|
fi
|
2012-06-01 12:14:02 +00:00
|
|
|
%endif
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
%if %{build_client}
|
|
|
|
%files client
|
|
|
|
%doc COPYING README NEWS
|
|
|
|
%{_bindir}/spicec
|
|
|
|
%ghost %{_libexecdir}/spice-xpi-client
|
|
|
|
%{_libexecdir}/spice-xpi-client-spicec
|
|
|
|
%endif
|
2010-07-13 08:37:00 +00:00
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
%files server
|
|
|
|
%doc COPYING README NEWS
|
|
|
|
%{_libdir}/libspice-server.so.1*
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
%files server-devel
|
|
|
|
%{_includedir}/spice-server
|
|
|
|
%{_libdir}/libspice-server.so
|
|
|
|
%{_libdir}/pkgconfig/spice-server.pc
|
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
|
2012-05-13 11:42:48 +00:00
|
|
|
%changelog
|
2013-05-21 16:08:13 +00:00
|
|
|
* Tue May 21 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.3-1
|
|
|
|
- New upstream release 0.12.3
|
|
|
|
- Drop all patches (they were all upstreamed)
|
|
|
|
|
2013-04-15 14:33:26 +00:00
|
|
|
* Mon Apr 15 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.2-4
|
|
|
|
- Add fix from upstream for a crash when the guest uses RGBA (rhbz#952242)
|
|
|
|
|
2013-03-07 14:44:20 +00:00
|
|
|
* Thu Mar 07 2013 Adam Jackson <ajax@redhat.com> 0.12.2-4
|
|
|
|
- Rebuild for new libsasl2 soname in F19
|
|
|
|
|
2013-01-21 15:09:59 +00:00
|
|
|
* Mon Jan 21 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.2-3
|
|
|
|
- Add a number of misc. bug-fixes from upstream
|
|
|
|
|
2012-12-21 19:13:19 +00:00
|
|
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.12.2-2
|
|
|
|
- rebuild against new libjpeg
|
|
|
|
|
2012-12-20 20:07:39 +00:00
|
|
|
* Thu Dec 20 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.2-1
|
|
|
|
- New upstream release 0.12.2
|
|
|
|
|
2012-09-28 09:36:29 +00:00
|
|
|
* Fri Sep 28 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-1
|
|
|
|
- New upstream release 0.12.0
|
|
|
|
- Some minor spec file cleanups
|
|
|
|
- Enable building on arm
|
|
|
|
|
2012-09-06 18:54:46 +00:00
|
|
|
* Thu Sep 6 2012 Soren Sandmann <ssp@redhat.com> - 0.11.3-1
|
|
|
|
- BuildRequire pyparsing
|
|
|
|
|
2012-09-06 17:58:53 +00:00
|
|
|
* Thu Sep 6 2012 Soren Sandmann <ssp@redhat.com> - 0.11.3-1
|
|
|
|
- Add capability patches
|
|
|
|
- Add capability patches to the included copy of spice-protocol
|
|
|
|
|
|
|
|
Please see the comment above Patch6 and Patch7
|
|
|
|
regarding this situation.
|
|
|
|
|
2012-09-06 17:05:12 +00:00
|
|
|
* Thu Sep 6 2012 Soren Sandmann <ssp@redhat.com> - 0.11.3-1
|
|
|
|
- Update to 0.11.3 and drop upstreamed patches
|
|
|
|
- BuildRequire spice-protocol 0.12.1
|
|
|
|
|
2012-07-21 20:35:40 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-14 08:03:45 +00:00
|
|
|
* Mon May 14 2012 Alon Levy <alevy@redhat.com>
|
|
|
|
- Fix mjpeg memory leak and bad behavior.
|
|
|
|
- Add usbredir to list of channels for security purposes. (#819484)
|
|
|
|
|
|
|
|
* Sun May 13 2012 Alon Levy <alevy@redhat.com>
|
2012-05-13 11:42:48 +00:00
|
|
|
- Add double free fix. (#808936)
|
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
%changelog
|
2012-04-24 14:22:10 +00:00
|
|
|
* Tue Apr 24 2012 Alon Levy <alevy@redhat.com>
|
|
|
|
- Add 32 bit fixes from git master. (#815717)
|
|
|
|
|
2012-02-28 20:10:51 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-23 16:55:39 +00:00
|
|
|
* Mon Jan 23 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.1-1
|
|
|
|
- New upstream release 0.10.1
|
|
|
|
|
2012-01-14 04:13:25 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-10 15:20:49 +00:00
|
|
|
* Thu Nov 10 2011 Alon Levy <alevy@redhat.com> - 0.10.0-1
|
|
|
|
- New upstream release 0.10.0
|
|
|
|
- support spice-server.i686
|
|
|
|
|
2011-09-28 13:12:58 +00:00
|
|
|
* Wed Sep 28 2011 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.9.1-2
|
|
|
|
- Provides spice-xpi-client alternative in spice-client
|
|
|
|
|
2011-08-25 13:25:37 +00:00
|
|
|
* Thu Aug 25 2011 Hans de Goede <hdegoede@redhat.com> - 0.9.1-1
|
|
|
|
- New upstream release 0.9.1
|
|
|
|
|
2011-07-25 13:01:26 +00:00
|
|
|
* Mon Jul 25 2011 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.9.0-1
|
|
|
|
- New upstream release 0.9.0
|
|
|
|
|
2011-04-20 11:42:48 +00:00
|
|
|
* Wed Apr 20 2011 Hans de Goede <hdegoede@redhat.com> - 0.8.1-1
|
|
|
|
- New upstream release 0.8.1
|
|
|
|
|
2011-03-11 14:37:14 +00:00
|
|
|
* Fri Mar 11 2011 Hans de Goede <hdegoede@redhat.com> - 0.8.0-2
|
|
|
|
- Fix being unable to send ctrl+alt+key when release mouse is bound to
|
|
|
|
ctrl+alt (which can happen when used from RHEV-M)
|
|
|
|
|
2011-03-02 06:00:37 +00:00
|
|
|
* Tue Mar 1 2011 Hans de Goede <hdegoede@redhat.com> - 0.8.0-1
|
|
|
|
- New upstream release 0.8.0
|
|
|
|
|
2011-02-11 14:51:16 +00:00
|
|
|
* Fri Feb 11 2011 Hans de Goede <hdegoede@redhat.com> - 0.7.3-1
|
|
|
|
- New upstream release 0.7.3
|
|
|
|
|
2011-02-09 15:34:54 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-19 14:49:04 +00:00
|
|
|
* Wed Jan 19 2011 Hans de Goede <hdegoede@redhat.com> - 0.7.2-1
|
|
|
|
- New upstream release 0.7.2
|
|
|
|
|
2010-12-17 13:37:15 +00:00
|
|
|
* Fri Dec 17 2010 Hans de Goede <hdegoede@redhat.com> - 0.7.1-1
|
|
|
|
- New upstream release 0.7.1
|
2010-12-17 11:32:40 +00:00
|
|
|
- Drop all patches (all upstreamed)
|
|
|
|
- Enable smartcard (CAC) support
|
|
|
|
|
2010-11-17 11:33:17 +00:00
|
|
|
* Wed Nov 17 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-4
|
2010-11-25 11:17:56 +00:00
|
|
|
- Fix the info layer not showing when used through the XPI
|
|
|
|
- Do not let the connection gui flash by when a hostname has been specified
|
|
|
|
on the cmdline
|
2010-11-17 11:33:17 +00:00
|
|
|
- Fix spice client locking up when dealing with XIM input (#654265)
|
2010-11-25 11:17:56 +00:00
|
|
|
- Fix modifier keys getting stuck (#655048)
|
|
|
|
- Fix spice client crashing when dealing with XIM ibus input (#655836)
|
|
|
|
- Fix spice client only showing a white screen in full screen mode
|
2010-11-17 11:33:17 +00:00
|
|
|
|
2010-11-06 06:17:52 +00:00
|
|
|
* Sat Nov 6 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-3
|
|
|
|
- Log to ~/.spicec/cegui.log rather then to CEGUI.log in the cwd, this
|
|
|
|
fixes spicec from aborting when run in a non writable dir (#650253)
|
|
|
|
|
2010-11-05 12:42:15 +00:00
|
|
|
* Fri Nov 5 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-2
|
|
|
|
- Various bugfixes from upstream git:
|
|
|
|
- Make spicec work together with the Firefox XPI for RHEV-M
|
|
|
|
- Make sure the spicec window gets properly raised when first shown
|
|
|
|
|
2010-10-18 17:10:07 +00:00
|
|
|
* Mon Oct 18 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-1
|
|
|
|
- Update to 0.6.3
|
|
|
|
- Enable GUI
|
|
|
|
|
2010-09-30 06:56:16 +00:00
|
|
|
* Thu Sep 30 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.6.1-1
|
|
|
|
- Update to 0.6.1.
|
|
|
|
|
2010-08-31 14:19:38 +00:00
|
|
|
* Tue Aug 31 2010 Alexander Larsson <alexl@redhat.com> - 0.6.0-1
|
|
|
|
- Update to 0.6.0 (stable release)
|
|
|
|
|
2010-07-20 20:03:33 +00:00
|
|
|
* Tue Jul 20 2010 Alexander Larsson <alexl@redhat.com> - 0.5.3-1
|
|
|
|
- Update to 0.5.3
|
|
|
|
|
2010-07-13 10:08:43 +00:00
|
|
|
* Tue Jul 13 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-4
|
|
|
|
- Quote %% in changelog to avoid macro expansion.
|
|
|
|
|
2010-07-13 08:37:00 +00:00
|
|
|
* Mon Jul 12 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-3
|
2010-07-13 10:08:43 +00:00
|
|
|
- %%configure handles CFLAGS automatically, no need to fiddle
|
|
|
|
with %%{optflags} manually.
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
* Mon Jul 12 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-2
|
|
|
|
- Fix license: LGPL.
|
|
|
|
- Cleanup specfile, drop bits not needed any more with
|
|
|
|
recent rpm versions (F13+).
|
|
|
|
- Use optflags as-is.
|
2011-09-28 13:12:58 +00:00
|
|
|
-
|
2010-07-13 08:37:00 +00:00
|
|
|
|
|
|
|
* Fri Jul 9 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-1
|
|
|
|
- initial package.
|
|
|
|
|