Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
spice-gtk.19895
spice-gtk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spice-gtk.spec of Package spice-gtk.19895
# # spec file for package spice-gtk # # Copyright (c) 2021 SUSE LLC # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands. # # 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 http://bugs.opensuse.org/ # Name: spice-gtk Version: 0.34 Release: 0 # FIXME: /usr/bin/spice-client-glib-usb-acl-helper should be installed u+s, see bnc#744251. # FIXME: Once phodav is packaged and available in openSUSE, enable pkgconfig(libphodav-2.0) Summary: Gtk client and libraries for SPICE remote desktop servers License: GPL-2.0+ and LGPL-2.1+ Group: System/GUI/GNOME Url: http://spice-space.org/page/Spice-Gtk Source: http://spice-space.org/download/gtk/%{name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE spice-gtk-polkit-privs.patch bnc#804184 dimstar@opensuse.org -- Set the polkit defaults to auth_admin Patch0: spice-gtk-polkit-privs.patch # PATCH-FIX-UPSTREAM - CVE-2018-10893 Patch1: 0001-lz-Avoid-buffer-reading-overflow-checking-for-image-.patch Patch2: 0002-lz-More-checks-on-image-sizes.patch # PATCH-FIX-UPSTREAM - CVE-2018-10873 Patch3: bb15d481-Fix-flexible-array-buffer-overflow.patch Patch4: 0001-quic-Check-we-have-some-data-to-start-decoding-quic-.patch Patch5: 0002-quic-Check-image-size-in-quic_decode_begin.patch Patch6: 0003-quic-Check-RLE-lengths.patch Patch7: 0004-quic-Avoid-possible-buffer-overflow-in-find_bucket.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: cyrus-sasl-devel BuildRequires: gstreamer-plugins-bad BuildRequires: gstreamer-plugins-good BuildRequires: intltool BuildRequires: libacl-devel BuildRequires: libjpeg-devel BuildRequires: libtool BuildRequires: python3-pyparsing BuildRequires: python3-six BuildRequires: vala BuildRequires: perl(Text::CSV) BuildRequires: pkgconfig(cairo) >= 1.2.0 BuildRequires: pkgconfig(celt051) >= 0.5.1.1 BuildRequires: pkgconfig(gio-2.0) >= 2.10.0 BuildRequires: pkgconfig(glib-2.0) >= 2.43.90 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(gstreamer-audio-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gthread-2.0) >= 2.0.0 BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.3 BuildRequires: pkgconfig(gudev-1.0) %if 0%{?is_opensuse} BuildRequires: pkgconfig(libcacard) >= 0.1.2 BuildRequires: pkgconfig(liblz4) %endif #BuildRequires: pkgconfig(libphodav-2.0) BuildRequires: pkgconfig(libpulse-mainloop-glib) BuildRequires: pkgconfig(libsoup-2.4) >= 2.49.91 BuildRequires: pkgconfig(libusb-1.0) >= 1.0.9 BuildRequires: pkgconfig(libusbredirhost) >= 0.4.2 BuildRequires: pkgconfig(libusbredirparser-0.5) >= 0.4 BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(pixman-1) >= 0.17.7 BuildRequires: pkgconfig(polkit-gobject-1) >= 0.96 # spice-protocol is bundled, but we still need the system-wide .pc file for the pkgconfig() requires magic BuildRequires: pkgconfig(spice-protocol) >= 0.12.13 BuildRequires: pkgconfig(usbutils) Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): permissions %description A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n libspice-client-glib-2_0-8 Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries Requires: libspice-client-glib-helper %description -n libspice-client-glib-2_0-8 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n libspice-client-glib-helper Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries %description -n libspice-client-glib-helper A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows). Contains helpers needed by the spice glib client library. %package -n libspice-client-gtk-3_0-5 Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries %description -n libspice-client-gtk-3_0-5 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n libspice-controller0 Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries %description -n libspice-controller0 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n typelib-1_0-SpiceClientGtk-3_0 Summary: Gtk client and libraries for SPICE remote desktop servers - gi-bindings Group: System/Libraries %description -n typelib-1_0-SpiceClientGtk-3_0 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n typelib-1_0-SpiceClientGlib-2_0 Summary: Gtk client and libraries for SPICE remote desktop servers - gi-bindings Group: System/Libraries %description -n typelib-1_0-SpiceClientGlib-2_0 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package devel Summary: Devel Group: Development/Languages/C and C++ Requires: libspice-client-glib-2_0-8 = %{version} Requires: libspice-client-gtk-3_0-5 = %{version} Requires: libspice-controller0 = %{version} Requires: typelib-1_0-SpiceClientGlib-2_0 = %{version} Requires: typelib-1_0-SpiceClientGtk-3_0 = %{version} %description devel A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %lang_package %prep %setup -q %patch0 -p1 pushd spice-common %patch1 -p1 %patch2 -p1 %patch3 -p1 popd %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %build autoreconf -fi export PYTHON=/usr/bin/python3 %configure \ --disable-static \ --enable-vala \ %if 0%{?is_opensuse} == 0 --disable-lz4 \ --disable-smartcard \ %endif --disable-silent-rules \ %{nil} make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %post -n libspice-client-glib-helper %set_permissions %{_bindir}/spice-client-glib-usb-acl-helper %verifyscript -n libspice-client-glib-helper %verify_permissions -e %{_bindir}/spice-client-glib-usb-acl-helper %post -n libspice-client-glib-2_0-8 -p /sbin/ldconfig %postun -n libspice-client-glib-2_0-8 -p /sbin/ldconfig %post -n libspice-client-gtk-3_0-5 -p /sbin/ldconfig %postun -n libspice-client-gtk-3_0-5 -p /sbin/ldconfig %post -n libspice-controller0 -p /sbin/ldconfig %postun -n libspice-controller0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc README COPYING %{_bindir}/spicy %{_bindir}/spicy-screenshot %{_bindir}/spicy-stats %files lang -f %{name}.lang %files -n libspice-client-glib-2_0-8 %defattr(-, root, root) %{_libdir}/libspice-client-glib-2.0.so.* %files -n libspice-client-glib-helper %defattr(-, root, root) %if 0%{?suse_version} >= 1500 %verify(not mode) %attr(4750,root,kvm) %{_bindir}/spice-client-glib-usb-acl-helper %else %attr(755,root,root) %{_bindir}/spice-client-glib-usb-acl-helper %endif %{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy %files -n typelib-1_0-SpiceClientGlib-2_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib %files -n libspice-client-gtk-3_0-5 %defattr(-, root, root) %{_libdir}/libspice-client-gtk-3.0.so.* %files -n typelib-1_0-SpiceClientGtk-3_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/SpiceClientGtk-3.0.typelib %files -n libspice-controller0 %defattr(-, root, root) %{_libdir}/libspice-controller.so.* %files devel %defattr(-, root, root) %{_mandir}//man1/spice-client.1%{?ext_man} %{_includedir}/spice-client-glib-2.0/ %{_includedir}/spice-client-gtk-3.0/ %{_includedir}/spice-controller/ %{_libdir}/libspice-client-glib-2.0.so %{_libdir}/libspice-client-gtk-3.0.so %{_libdir}/libspice-controller.so %{_datadir}/gir-1.0/SpiceClientGLib-2.0.gir %{_datadir}/gir-1.0/SpiceClientGtk-3.0.gir %{_datadir}/gtk-doc/html/spice-gtk/ %{_datadir}/vala/vapi/* %{_libdir}/pkgconfig/spice-client-glib-2.0.pc %{_libdir}/pkgconfig/spice-client-gtk-3.0.pc %{_libdir}/pkgconfig/spice-controller.pc %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