Blame SPECS/spice.spec

d84b9c
Name:           spice
d84b9c
Version:        0.14.3
d84b9c
Release:        2%{?dist}
d84b9c
Summary:        Implements the SPICE protocol
d84b9c
Group:          User Interface/Desktops
d84b9c
License:        LGPLv2+
d84b9c
URL:            https://www.spice-space.org/
d84b9c
Source0:        https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2
d84b9c
Source1:        https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2.sig
d84b9c
Source2:        victortoso-E37A484F.keyring
d84b9c
Patch1:         0001-quic-Check-we-have-some-data-to-start-decoding-quic-.patch
d84b9c
Patch2:         0002-quic-Check-image-size-in-quic_decode_begin.patch
d84b9c
Patch3:         0003-quic-Check-RLE-lengths.patch
d84b9c
Patch4:         0004-quic-Avoid-possible-buffer-overflow-in-find_bucket.patch
d84b9c
d84b9c
# https://bugzilla.redhat.com/show_bug.cgi?id=613529
d84b9c
%if 0%{?rhel} && 0%{?rhel} <= 7
d84b9c
ExclusiveArch:  x86_64
d84b9c
%else
d84b9c
ExclusiveArch:  %{ix86} x86_64 %{arm} aarch64
d84b9c
%endif
d84b9c
d84b9c
BuildRequires:  pkgconfig
d84b9c
BuildRequires:  glib2-devel >= 2.38
d84b9c
BuildRequires:  spice-protocol >= 0.14.0
d84b9c
BuildRequires:  celt051-devel
d84b9c
BuildRequires:  opus-devel
d84b9c
BuildRequires:  pixman-devel openssl-devel libjpeg-devel
d84b9c
BuildRequires:  libcacard-devel cyrus-sasl-devel
d84b9c
BuildRequires:  lz4-devel
d84b9c
BuildRequires:  gstreamer1-devel gstreamer1-plugins-base-devel
d84b9c
BuildRequires:  orc-devel
d84b9c
BuildRequires:  gnupg2
d84b9c
BuildRequires:  git-core
d84b9c
BuildRequires:  python3-devel
d84b9c
BuildRequires:  python3-pyparsing python3-six
d84b9c
d84b9c
%description
d84b9c
The Simple Protocol for Independent Computing Environments (SPICE) is
d84b9c
a remote display system built for virtual environments which allows
d84b9c
you to view a computing 'desktop' environment not only on the machine
d84b9c
where it is running, but from anywhere on the Internet and from a wide
d84b9c
variety of machine architectures.
d84b9c
d84b9c
d84b9c
%package server
d84b9c
Summary:        Implements the server side of the SPICE protocol
d84b9c
Group:          System Environment/Libraries
d84b9c
Obsoletes:      spice-client < %{version}-%{release}
d84b9c
d84b9c
%description server
d84b9c
The Simple Protocol for Independent Computing Environments (SPICE) is
d84b9c
a remote display system built for virtual environments which allows
d84b9c
you to view a computing 'desktop' environment not only on the machine
d84b9c
where it is running, but from anywhere on the Internet and from a wide
d84b9c
variety of machine architectures.
d84b9c
d84b9c
This package contains the run-time libraries for any application that wishes
d84b9c
to be a SPICE server.
d84b9c
d84b9c
d84b9c
%package server-devel
d84b9c
Summary:        Header files, libraries and development documentation for spice-server
d84b9c
Group:          Development/Libraries
d84b9c
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
d84b9c
Requires:       pkgconfig
d84b9c
d84b9c
%description server-devel
d84b9c
This package contains the header files, static libraries and development
d84b9c
documentation for spice-server. If you like to develop programs
d84b9c
using spice-server, you will need to install spice-server-devel.
d84b9c
d84b9c
d84b9c
%prep
d84b9c
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
d84b9c
%autosetup -S git_am
d84b9c
d84b9c
d84b9c
%build
d84b9c
%define configure_client --disable-client
d84b9c
%configure \
d84b9c
    --enable-smartcard \
d84b9c
    --disable-client \
d84b9c
    --enable-lz4 \
d84b9c
    --enable-celt051 \
d84b9c
    --enable-gstreamer=1.0
d84b9c
make %{?_smp_mflags} WARN_CFLAGS='' V=1
d84b9c
d84b9c
d84b9c
%install
d84b9c
make DESTDIR=%{buildroot} install
d84b9c
rm -f %{buildroot}%{_libdir}/libspice-server.a
d84b9c
rm -f %{buildroot}%{_libdir}/libspice-server.la
d84b9c
mkdir -p %{buildroot}%{_libexecdir}
d84b9c
d84b9c
d84b9c
%ldconfig_scriptlets server
d84b9c
d84b9c
d84b9c
%files server
d84b9c
%{!?_licensedir:%global license %%doc}
d84b9c
%license COPYING
d84b9c
%doc README CHANGELOG.md
d84b9c
%{_libdir}/libspice-server.so.1*
d84b9c
d84b9c
%files server-devel
d84b9c
%{_includedir}/spice-server
d84b9c
%{_libdir}/libspice-server.so
d84b9c
%{_libdir}/pkgconfig/spice-server.pc
d84b9c
d84b9c
d84b9c
%changelog
d84b9c
* Mon Jun  1 2020 Frediano Ziglio <fziglio@redhat.com> - 0.14.3-2
d84b9c
- Fix multiple buffer overflows in QUIC decoding code
d84b9c
  Resolves: rhbz#1829946
d84b9c
d84b9c
* Thu May 28 2020 Frediano Ziglio <fziglio@redhat.com> - 0.14.3-1
d84b9c
- Update to 0.14.3
d84b9c
  Revolves: rhbz#1840240
d84b9c
d84b9c
* Fri May 17 2019 Victor Toso <victortoso@redhat.com> - 0.14.2-1
d84b9c
- Update to 0.14.2
d84b9c
  Resolves: rhbz#1562123
d84b9c
d84b9c
* Fri May 10 2019 Victor Toso <victortoso@redhat.com> - 0.14.0-8
d84b9c
- Fix builds on 8.1.0 branch
d84b9c
- Fix gating test (add bug)
d84b9c
  Resolves: rhbz#1686518
d84b9c
d84b9c
* Tue Dec 18 2018 Christophe Fergeau <cfergeau@redhat.com> - 0.14.0-7
d84b9c
- Fix off-by-one error during guest-to-host memory address conversion
d84b9c
  Resolves: CVE-2019-3813
d84b9c
d84b9c
* Fri Aug 17 2018 Frediano Ziglio <fziglio@redhat.com> - 0.14.0-6
d84b9c
- Fix flexible array buffer overflow
d84b9c
  Resolves: rhbz#1618555
d84b9c
d84b9c
* Mon Aug 13 2018 Victor Toso <victortoso@redhat.com>  - 0.14.0-5
d84b9c
- Include python3-devel to not fail on rhel-8.0 builds
d84b9c
- Resolves: rhbz#1615570
d84b9c
d84b9c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-4
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d84b9c
d84b9c
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.0-3
d84b9c
- Switch to %%ldconfig_scriptlets
d84b9c
d84b9c
* Wed Nov 08 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.14.0-2
d84b9c
- Cleanup spec file conditionals
d84b9c
d84b9c
* Wed Oct 11 2017 Christophe Fergeau <cfergeau@redhat.com> - 0.14.0-1
d84b9c
- Update to new stable release
d84b9c
d84b9c
* Tue Sep 26 2017 Christophe Fergeau <christophe@redhat.com> - 0.13.91-1
d84b9c
- Update to latest upstream release
d84b9c
d84b9c
* Thu Aug 24 2017 Christophe Fergeau <cfergeau@redhat.com> - 0.13.90-3
d84b9c
- Add missing (new) BuildRequires, remove obsolete one
d84b9c
d84b9c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.90-2
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d84b9c
d84b9c
* Wed Jul 26 2017 Christophe Fergeau <cfergeau@redhat.com> 0.13.90-1
d84b9c
- Update to latest upstream release (0.13.90)
d84b9c
d84b9c
* Mon Feb 06 2017 Christophe Fergeau <cfergeau@redhat.com> 0.13.3-2
d84b9c
- Add upstream patches fixing CVE-2016-9577 and CVE-2016-9578
d84b9c
d84b9c
* Mon Nov 21 2016 Christophe Fergeau <cfergeau@redhat.com> 0.13.3-1
d84b9c
- Update to spice 0.13.3
d84b9c
d84b9c
* Fri Aug 05 2016 Christophe Fergeau <cfergeau@redhat.com> - 0.13.2-1
d84b9c
- Update to spice 0.13.2
d84b9c
d84b9c
* Tue Jun 14 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.1-2
d84b9c
- Use %%license
d84b9c
- Build on aarch64
d84b9c
d84b9c
* Wed Apr 13 2016 Christophe Fergeau <cfergeau@redhat.com> 0.13.1-1
d84b9c
- Update to 0.13.1 release. This is a development release, but by the
d84b9c
  time Fedora 25 gets released, a stable 0.14.0 should be released.
d84b9c
d84b9c
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.6-2
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d84b9c
d84b9c
* Tue Oct 06 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.6-1
d84b9c
- Update to new 0.12.6 upstream release
d84b9c
d84b9c
* Wed Jul 29 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-9
d84b9c
- Drop patch added in previous build which is no longer needed with
d84b9c
  spice-protocol 0.12.9 (and actually is actually breaking QEMU compilation
d84b9c
  without an additional patch)
d84b9c
d84b9c
* Fri Jul 03 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-8
d84b9c
- Add upstream patch avoiding a regression in spice-protocol 0.12.8 which
d84b9c
  breaks SPICE support in QEMU
d84b9c
d84b9c
* Thu Jul 02 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-7
d84b9c
- Fix migration race condition which causes a crash when triggered
d84b9c
  Resolves: rhbz#1238212
d84b9c
d84b9c
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-6
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d84b9c
d84b9c
* Mon Aug 25 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-5
d84b9c
- Fix advertised sound playback/recording rates in public headers
d84b9c
  Resolves: rhbz#1129961 (QEMU would need a rebuild though)
d84b9c
d84b9c
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-4
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d84b9c
d84b9c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-3
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d84b9c
d84b9c
* Mon May 19 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-2
d84b9c
- Add missing BuildRequires in order to enable Opus support
d84b9c
d84b9c
* Mon May 19 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-1
d84b9c
- Update to new 0.12.5 release
d84b9c
d84b9c
* Wed Oct 30 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-3
d84b9c
- Add patch fixing CVE-2013-4282
d84b9c
d84b9c
* Fri Sep 13 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-2
d84b9c
- Add upstream patch fixing rhbz#995041
d84b9c
d84b9c
* Fri Aug  2 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.4-1
d84b9c
- New upstream bug-fix release 0.12.4
d84b9c
- Add patches from upstream git to fix sound-channel-free crash (rhbz#986407)
d84b9c
- Add Obsoletes for dropped spice-client sub-package
d84b9c
d84b9c
* Thu May 23 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.3-2
d84b9c
- Stop building spicec, it's obsolete and superseded by remote-viewer
d84b9c
  (part of virt-viewer)
d84b9c
d84b9c
* Tue May 21 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.3-1
d84b9c
- New upstream release 0.12.3
d84b9c
- Drop all patches (they were all upstreamed)
d84b9c
d84b9c
* Mon Apr 15 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.2-4
d84b9c
- Add fix from upstream for a crash when the guest uses RGBA (rhbz#952242)
d84b9c
d84b9c
* Thu Mar 07 2013 Adam Jackson <ajax@redhat.com> 0.12.2-4
d84b9c
- Rebuild for new libsasl2 soname in F19
d84b9c
d84b9c
* Mon Jan 21 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.2-3
d84b9c
- Add a number of misc. bug-fixes from upstream
d84b9c
d84b9c
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.12.2-2
d84b9c
- rebuild against new libjpeg
d84b9c
d84b9c
* Thu Dec 20 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.2-1
d84b9c
- New upstream release 0.12.2
d84b9c
d84b9c
* Fri Sep 28 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-1
d84b9c
- New upstream release 0.12.0
d84b9c
- Some minor spec file cleanups
d84b9c
- Enable building on arm
d84b9c
d84b9c
* Thu Sep 6 2012 Soren Sandmann <ssp@redhat.com> - 0.11.3-1
d84b9c
- BuildRequire pyparsing
d84b9c
d84b9c
* Thu Sep 6 2012 Soren Sandmann <ssp@redhat.com> - 0.11.3-1
d84b9c
- Add capability patches
d84b9c
- Add capability patches to the included copy of spice-protocol
d84b9c
d84b9c
    Please see the comment above Patch6 and Patch7
d84b9c
    regarding this situation.
d84b9c
d84b9c
* Thu Sep 6 2012 Soren Sandmann <ssp@redhat.com> - 0.11.3-1
d84b9c
- Update to 0.11.3 and drop upstreamed patches
d84b9c
- BuildRequire spice-protocol 0.12.1
d84b9c
d84b9c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-6
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d84b9c
d84b9c
* Mon May 14 2012 Alon Levy <alevy@redhat.com>
d84b9c
- Fix mjpeg memory leak and bad behavior.
d84b9c
- Add usbredir to list of channels for security purposes. (#819484)
d84b9c
d84b9c
* Sun May 13 2012 Alon Levy <alevy@redhat.com>
d84b9c
- Add double free fix. (#808936)
d84b9c
d84b9c
* Tue Apr 24 2012 Alon Levy <alevy@redhat.com>
d84b9c
- Add 32 bit fixes from git master. (#815717)
d84b9c
d84b9c
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
d84b9c
- Rebuilt for c++ ABI breakage
d84b9c
d84b9c
* Mon Jan 23 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.1-1
d84b9c
- New upstream release 0.10.1
d84b9c
d84b9c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d84b9c
d84b9c
* Thu Nov 10 2011 Alon Levy <alevy@redhat.com> - 0.10.0-1
d84b9c
- New upstream release 0.10.0
d84b9c
- support spice-server.i686
d84b9c
d84b9c
* Wed Sep 28 2011 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.9.1-2
d84b9c
- Provides spice-xpi-client alternative in spice-client
d84b9c
d84b9c
* Thu Aug 25 2011 Hans de Goede <hdegoede@redhat.com> - 0.9.1-1
d84b9c
- New upstream release 0.9.1
d84b9c
d84b9c
* Mon Jul 25 2011 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.9.0-1
d84b9c
- New upstream release 0.9.0
d84b9c
d84b9c
* Wed Apr 20 2011 Hans de Goede <hdegoede@redhat.com> - 0.8.1-1
d84b9c
- New upstream release 0.8.1
d84b9c
d84b9c
* Fri Mar 11 2011 Hans de Goede <hdegoede@redhat.com> - 0.8.0-2
d84b9c
- Fix being unable to send ctrl+alt+key when release mouse is bound to
d84b9c
  ctrl+alt (which can happen when used from RHEV-M)
d84b9c
d84b9c
* Tue Mar  1 2011 Hans de Goede <hdegoede@redhat.com> - 0.8.0-1
d84b9c
- New upstream release 0.8.0
d84b9c
d84b9c
* Fri Feb 11 2011 Hans de Goede <hdegoede@redhat.com> - 0.7.3-1
d84b9c
- New upstream release 0.7.3
d84b9c
d84b9c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
d84b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d84b9c
d84b9c
* Wed Jan 19 2011 Hans de Goede <hdegoede@redhat.com> - 0.7.2-1
d84b9c
- New upstream release 0.7.2
d84b9c
d84b9c
* Fri Dec 17 2010 Hans de Goede <hdegoede@redhat.com> - 0.7.1-1
d84b9c
- New upstream release 0.7.1
d84b9c
- Drop all patches (all upstreamed)
d84b9c
- Enable smartcard (CAC) support
d84b9c
d84b9c
* Wed Nov 17 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-4
d84b9c
- Fix the info layer not showing when used through the XPI
d84b9c
- Do not let the connection gui flash by when a hostname has been specified
d84b9c
  on the cmdline
d84b9c
- Fix spice client locking up when dealing with XIM input (#654265)
d84b9c
- Fix modifier keys getting stuck (#655048)
d84b9c
- Fix spice client crashing when dealing with XIM ibus input (#655836)
d84b9c
- Fix spice client only showing a white screen in full screen mode
d84b9c
d84b9c
* Sat Nov  6 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-3
d84b9c
- Log to ~/.spicec/cegui.log rather then to CEGUI.log in the cwd, this
d84b9c
  fixes spicec from aborting when run in a non writable dir (#650253)
d84b9c
d84b9c
* Fri Nov  5 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-2
d84b9c
- Various bugfixes from upstream git:
d84b9c
  - Make spicec work together with the Firefox XPI for RHEV-M
d84b9c
  - Make sure the spicec window gets properly raised when first shown
d84b9c
d84b9c
* Mon Oct 18 2010 Hans de Goede <hdegoede@redhat.com> - 0.6.3-1
d84b9c
- Update to 0.6.3
d84b9c
- Enable GUI
d84b9c
d84b9c
* Thu Sep 30 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.6.1-1
d84b9c
- Update to 0.6.1.
d84b9c
d84b9c
* Tue Aug 31 2010 Alexander Larsson <alexl@redhat.com> - 0.6.0-1
d84b9c
- Update to 0.6.0 (stable release)
d84b9c
d84b9c
* Tue Jul 20 2010 Alexander Larsson <alexl@redhat.com> - 0.5.3-1
d84b9c
- Update to 0.5.3
d84b9c
d84b9c
* Tue Jul 13 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-4
d84b9c
- Quote %% in changelog to avoid macro expansion.
d84b9c
d84b9c
* Mon Jul 12 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-3
d84b9c
- %%configure handles CFLAGS automatically, no need to fiddle
d84b9c
  with %%{optflags} manually.
d84b9c
d84b9c
* Mon Jul 12 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-2
d84b9c
- Fix license: LGPL.
d84b9c
- Cleanup specfile, drop bits not needed any more with
d84b9c
  recent rpm versions (F13+).
d84b9c
- Use optflags as-is.
d84b9c
-
d84b9c
d84b9c
* Fri Jul 9 2010 Gerd Hoffmann <kraxel@redhat.com> - 0.5.2-1
d84b9c
- initial package.
d84b9c