Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
spice.19889
spice.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spice.spec of Package spice.19889
# # spec file for package spice # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define libname libspice-server1 %if 0%{?suse_version} >=1330 || 0%{?is_opensuse} %bcond_without libcard %if 0%{?suse_version} < 1330 %bcond_with lz4 %else %bcond_without lz4 %endif %else %bcond_with libcard %bcond_with lz4 %endif %bcond_with celt051 Name: spice Version: 0.14.1 Release: 0 Summary: SPICE client and server library License: LGPL-2.1-or-later OR GPL-2.0-or-later Group: Productivity/Networking/Other URL: https://www.spice-space.org/ Source: https://www.spice-space.org/download/releases/spice-server/%{name}-%{version}.tar.bz2 Source2: https://www.spice-space.org/download/releases/spice-server/%{name}-%{version}.tar.bz2.sign Source3: %{name}.keyring Source99: %{name}.rpmlintrc # PATCH-FIX-UPSTREAM - CVE-2018-10893 Patch0: 0001-lz-Avoid-buffer-reading-overflow-checking-for-image-.patch Patch1: 0002-lz-More-checks-on-image-sizes.patch Patch2: 0001-memslot-Fix-off-by-one-error-in-group-slot-boundary-.patch Patch3: 0001-quic-Check-we-have-some-data-to-start-decoding-quic-.patch Patch4: 0002-quic-Check-image-size-in-quic_decode_begin.patch Patch5: 0003-quic-Check-RLE-lengths.patch Patch6: 0004-quic-Avoid-possible-buffer-overflow-in-find_bucket.patch Patch7: 0001-With-OpenSSL-1.1-Disable-client-initiated-renegotiation.patch patch8: 0002-With-OpenSSL-1.0.2-and-earlier-disable-client-side-renegotiation.patch BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: python3-pyparsing BuildRequires: python3-six BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) BuildRequires: pkgconfig(libsasl2) BuildRequires: pkgconfig(openssl) >= 1.0.0 BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(orc-0.4) BuildRequires: pkgconfig(pixman-1) >= 0.17.7 BuildRequires: pkgconfig(spice-protocol) >= 0.12.14 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(zlib) %if %{with celt051} BuildRequires: pkgconfig(celt051) %endif %if %{with libcard} BuildRequires: pkgconfig(libcacard) %endif %if %{with lz4} BuildRequires: pkgconfig(liblz4) %endif %description The SPICE package provides the SPICE server library and client. These components are used to provide access to a remote machine's display and devices. %package -n %{libname} Summary: Library for SPICE-server Group: System/Libraries Obsoletes: spice-client < %{version}-%{release} %description -n %{libname} Library for SPICE-server The SPICE server is used to expose a remote machine's display and devices. %package -n libspice-server-devel Summary: Development files for building SPICE-server Group: Development/Languages/C and C++ Requires: %{libname} = %{version} %description -n libspice-server-devel Development files for building SPICE-server. The SPICE server is used to expose a remote machine's display and devices. %prep %setup -q pushd subprojects/spice-common %patch0 -p1 %patch1 -p1 popd %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %build export PYTHON=%{_bindir}/python3 %configure \ --disable-silent-rules \ --disable-static \ --disable-werror \ %if %{with libcard} --enable-smartcard \ %endif %if %{with lz4} --enable-lz4 \ %endif --with-sasl=yes \ %if %{with celt051} --enable-celt051 \ %endif --enable-gstreamer make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %doc NEWS README ChangeLog %license COPYING %{_libdir}/libspice-server.so.* %files -n libspice-server-devel %{_libdir}/pkgconfig/spice-server.pc %{_includedir}/spice-server/ %{_libdir}/libspice-server.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor