Blame SPECS/spice.spec

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