Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
spice.14791
spice.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spice.spec of Package spice.14791
# # spec file for package spice # # Copyright (c) 2020 SUSE LINUX LLC # # 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.2 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 Source1: https://www.spice-space.org/download/releases/spice-server/%{name}-%{version}.tar.bz2.sign Source2: %{name}.keyring Source99: %{name}.rpmlintrc Patch0: 0001-quic-Check-we-have-some-data-to-start-decoding-quic-.patch Patch1: 0002-quic-Check-image-size-in-quic_decode_begin.patch Patch2: 0003-quic-Check-RLE-lengths.patch Patch3: 0004-quic-Avoid-possible-buffer-overflow-in-find_bucket.patch BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: pkgconfig %if 0%{?suse_version} < 1500 BuildRequires: python-pyparsing BuildRequires: python-six %else BuildRequires: python3-pyparsing BuildRequires: python3-six %endif BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(glib-2.0) >= 2.38 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 %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %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