Blame SPECS/spice.spec

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