2013-01-23 10:05:30 +00:00
|
|
|
#define _version_suffix
|
2011-01-27 21:18:26 +00:00
|
|
|
|
2011-01-09 20:59:47 +00:00
|
|
|
Name: spice-gtk
|
2022-07-04 15:14:32 +00:00
|
|
|
Version: 0.41
|
2022-07-04 15:11:21 +00:00
|
|
|
Release: %autorelease
|
2012-01-17 13:43:28 +00:00
|
|
|
Summary: A GTK+ widget for SPICE clients
|
2011-01-09 20:59:47 +00:00
|
|
|
|
|
|
|
License: LGPLv2+
|
2018-06-11 08:20:19 +00:00
|
|
|
URL: https://www.spice-space.org/spice-gtk.html
|
2012-08-22 22:18:03 +00:00
|
|
|
#VCS: git:git://anongit.freedesktop.org/spice/spice-gtk
|
2020-03-16 12:58:20 +00:00
|
|
|
Source0: https://www.spice-space.org/download/gtk/%{name}-%{version}%{?_version_suffix}.tar.xz
|
2022-07-04 15:14:32 +00:00
|
|
|
#Source1: https://www.spice-space.org/download/gtk/%{name}-%{version}%{?_version_suffix}.tar.xz.sig
|
|
|
|
#Source2: victortoso-E37A484F.keyring
|
2019-01-16 20:40:38 +00:00
|
|
|
|
2017-02-13 07:41:14 +00:00
|
|
|
BuildRequires: git-core
|
2019-01-16 20:40:38 +00:00
|
|
|
BuildRequires: meson
|
2011-01-09 20:59:47 +00:00
|
|
|
BuildRequires: intltool
|
2019-05-16 09:06:25 +00:00
|
|
|
BuildRequires: usbredir-devel >= 0.7.1
|
2020-03-16 12:58:20 +00:00
|
|
|
BuildRequires: libusb1-devel >= 1.0.21
|
2016-10-25 13:39:24 +00:00
|
|
|
BuildRequires: pixman-devel libjpeg-turbo-devel
|
2019-01-16 20:40:38 +00:00
|
|
|
BuildRequires: opus-devel
|
2016-06-21 15:04:20 +00:00
|
|
|
BuildRequires: zlib-devel
|
2011-05-24 08:59:03 +00:00
|
|
|
BuildRequires: cyrus-sasl-devel
|
2011-07-25 16:05:23 +00:00
|
|
|
BuildRequires: libcacard-devel
|
2011-01-09 20:59:47 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2012-01-17 13:43:28 +00:00
|
|
|
BuildRequires: libacl-devel
|
2019-04-09 13:57:36 +00:00
|
|
|
%if ! 0%{?flatpak}
|
2012-01-17 13:43:28 +00:00
|
|
|
BuildRequires: polkit-devel
|
2019-04-09 13:57:36 +00:00
|
|
|
%endif
|
2011-01-09 20:59:47 +00:00
|
|
|
BuildRequires: gtk-doc
|
2019-02-04 12:13:02 +00:00
|
|
|
BuildRequires: vala
|
2012-03-20 20:49:29 +00:00
|
|
|
BuildRequires: usbutils
|
2022-07-04 15:16:34 +00:00
|
|
|
BuildRequires: libsoup3-devel
|
2022-07-04 18:39:00 +00:00
|
|
|
BuildRequires: libphodav-devel >= 3.0
|
2014-12-12 10:55:08 +00:00
|
|
|
BuildRequires: lz4-devel
|
2011-01-27 21:18:26 +00:00
|
|
|
BuildRequires: gtk3-devel
|
2019-01-16 20:40:38 +00:00
|
|
|
BuildRequires: json-glib-devel
|
2020-03-16 12:58:20 +00:00
|
|
|
BuildRequires: spice-protocol >= 0.14.1
|
2019-05-16 09:06:25 +00:00
|
|
|
BuildRequires: gstreamer1-devel >= 1.10 gstreamer1-plugins-base-devel >= 1.10
|
2019-01-16 20:40:38 +00:00
|
|
|
BuildRequires: python3-six
|
|
|
|
BuildRequires: python3-pyparsing
|
|
|
|
BuildRequires: openssl-devel
|
2019-05-16 12:00:25 +00:00
|
|
|
BuildRequires: gnupg2
|
2020-12-01 16:38:00 +00:00
|
|
|
BuildRequires: libcap-ng-devel
|
2022-01-27 11:58:51 +00:00
|
|
|
BuildRequires: wayland-protocols-devel
|
2019-01-16 20:40:38 +00:00
|
|
|
|
2016-06-22 14:08:34 +00:00
|
|
|
Obsoletes: spice-gtk-python < 0.32
|
2015-03-04 15:13:41 +00:00
|
|
|
|
2012-01-17 13:43:28 +00:00
|
|
|
Requires: spice-glib%{?_isa} = %{version}-%{release}
|
2011-01-09 20:59:47 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Client libraries for SPICE desktop servers.
|
|
|
|
|
2011-01-27 21:18:26 +00:00
|
|
|
%package -n spice-glib
|
|
|
|
Summary: A GObject for communicating with Spice servers
|
|
|
|
|
|
|
|
%description -n spice-glib
|
|
|
|
spice-client-glib-2.0 is a SPICE client library for GLib2.
|
|
|
|
|
|
|
|
%package -n spice-glib-devel
|
|
|
|
Summary: Development files to build Glib2 applications with spice-glib-2.0
|
2012-01-17 13:43:28 +00:00
|
|
|
Requires: spice-glib%{?_isa} = %{version}-%{release}
|
2011-01-27 21:18:26 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: glib2-devel
|
|
|
|
|
|
|
|
%description -n spice-glib-devel
|
|
|
|
spice-client-glib-2.0 is a SPICE client library for GLib2.
|
|
|
|
|
|
|
|
Libraries, includes, etc. to compile with the spice-glib-2.0 libraries
|
|
|
|
|
|
|
|
%package -n spice-gtk3
|
2011-11-14 17:58:10 +00:00
|
|
|
Summary: A GTK3 widget for SPICE clients
|
2012-01-17 13:43:28 +00:00
|
|
|
Requires: spice-glib%{?_isa} = %{version}-%{release}
|
2011-01-27 21:18:26 +00:00
|
|
|
|
|
|
|
%description -n spice-gtk3
|
|
|
|
spice-client-glib-3.0 is a SPICE client library for Gtk3.
|
|
|
|
|
|
|
|
%package -n spice-gtk3-devel
|
2011-11-14 17:58:10 +00:00
|
|
|
Summary: Development files to build GTK3 applications with spice-gtk-3.0
|
2012-01-17 13:43:28 +00:00
|
|
|
Requires: spice-gtk3%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: spice-glib-devel%{?_isa} = %{version}-%{release}
|
2011-01-27 21:18:26 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: gtk3-devel
|
2016-06-22 14:08:34 +00:00
|
|
|
Obsoletes: spice-gtk-devel < 0.32
|
2011-01-27 21:18:26 +00:00
|
|
|
|
|
|
|
%description -n spice-gtk3-devel
|
|
|
|
spice-client-gtk-3.0 provides a SPICE viewer widget for GTK3.
|
2011-01-09 20:59:47 +00:00
|
|
|
|
2011-01-27 21:18:26 +00:00
|
|
|
Libraries, includes, etc. to compile with the spice-gtk3 libraries
|
2012-01-17 13:43:28 +00:00
|
|
|
|
|
|
|
%package -n spice-gtk3-vala
|
|
|
|
Summary: Vala bindings for the spice-gtk-3.0 library
|
|
|
|
Requires: spice-gtk3%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: spice-gtk3-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n spice-gtk3-vala
|
|
|
|
A module allowing use of the spice-gtk-3.0 widget from vala
|
2011-01-09 20:59:47 +00:00
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Spice-gtk tools
|
2014-09-24 10:40:18 +00:00
|
|
|
Requires: spice-gtk3%{?_isa} = %{version}-%{release}
|
2011-01-09 20:59:47 +00:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
Simple clients for interacting with SPICE servers.
|
|
|
|
spicy is a client to a SPICE desktop server.
|
2013-04-11 09:29:14 +00:00
|
|
|
spicy-screenshot is a tool to capture screen-shots of a SPICE desktop.
|
2011-01-09 20:59:47 +00:00
|
|
|
|
2012-01-17 13:43:28 +00:00
|
|
|
|
2011-01-09 20:59:47 +00:00
|
|
|
%prep
|
2022-07-04 15:14:32 +00:00
|
|
|
#gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
2016-07-11 09:19:25 +00:00
|
|
|
%autosetup -S git_am
|
2011-02-11 16:58:25 +00:00
|
|
|
|
2011-01-09 20:59:47 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
2019-01-16 20:40:38 +00:00
|
|
|
# meson macro has --auto-features=enabled
|
2011-01-09 20:59:47 +00:00
|
|
|
|
2019-01-16 20:40:38 +00:00
|
|
|
%meson \
|
2022-01-27 11:11:47 +00:00
|
|
|
-Dbuiltin-mjpeg=false \
|
2020-03-16 15:01:07 +00:00
|
|
|
%ifarch s390x # https://gitlab.freedesktop.org/spice/spice-gtk/issues/120
|
|
|
|
-Dusbredir=disabled \
|
|
|
|
%endif
|
2019-05-16 12:33:22 +00:00
|
|
|
%if 0%{?flatpak}
|
|
|
|
-Dpolkit=disabled
|
|
|
|
%else
|
2019-01-16 20:40:38 +00:00
|
|
|
-Dusb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/
|
2019-05-16 12:33:22 +00:00
|
|
|
%endif
|
2011-01-27 21:18:26 +00:00
|
|
|
|
2019-01-16 20:40:38 +00:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
2012-08-08 11:48:51 +00:00
|
|
|
|
|
|
|
|
2011-01-09 20:59:47 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2018-02-03 17:09:22 +00:00
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets -n spice-glib
|
|
|
|
%ldconfig_scriptlets -n spice-gtk3
|
2012-01-17 13:43:28 +00:00
|
|
|
|
|
|
|
|
2011-01-09 20:59:47 +00:00
|
|
|
%files
|
2016-06-21 15:04:20 +00:00
|
|
|
%doc AUTHORS
|
|
|
|
%doc COPYING
|
2019-05-16 09:06:25 +00:00
|
|
|
%doc README.md
|
|
|
|
%doc CHANGELOG.md
|
2014-10-29 17:27:25 +00:00
|
|
|
%{_mandir}/man1/spice-client.1*
|
2011-01-09 20:59:47 +00:00
|
|
|
|
2011-01-27 21:18:26 +00:00
|
|
|
%files -n spice-glib -f %{name}.lang
|
|
|
|
%{_libdir}/libspice-client-glib-2.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib
|
2019-04-04 06:57:41 +00:00
|
|
|
%if ! 0%{?flatpak}
|
2013-01-23 10:04:53 +00:00
|
|
|
%dir %{_libexecdir}/spice-gtk-%{_arch}/
|
2013-08-28 09:41:36 +00:00
|
|
|
%attr(4755, root, root) %{_libexecdir}/spice-gtk-%{_arch}/spice-client-glib-usb-acl-helper
|
2012-01-17 13:43:28 +00:00
|
|
|
%{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
|
2019-04-04 06:57:41 +00:00
|
|
|
%endif
|
2011-01-27 21:18:26 +00:00
|
|
|
|
|
|
|
%files -n spice-glib-devel
|
|
|
|
%{_libdir}/libspice-client-glib-2.0.so
|
|
|
|
%{_includedir}/spice-client-glib-2.0
|
|
|
|
%{_libdir}/pkgconfig/spice-client-glib-2.0.pc
|
|
|
|
%{_datadir}/gir-1.0/SpiceClientGLib-2.0.gir
|
2011-01-09 20:59:47 +00:00
|
|
|
%doc %{_datadir}/gtk-doc/html/*
|
|
|
|
|
2011-01-27 21:18:26 +00:00
|
|
|
%files -n spice-gtk3
|
|
|
|
%{_libdir}/libspice-client-gtk-3.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0/SpiceClientGtk-3.0.typelib
|
|
|
|
|
|
|
|
%files -n spice-gtk3-devel
|
|
|
|
%{_libdir}/libspice-client-gtk-3.0.so
|
|
|
|
%{_includedir}/spice-client-gtk-3.0
|
|
|
|
%{_libdir}/pkgconfig/spice-client-gtk-3.0.pc
|
|
|
|
%{_datadir}/gir-1.0/SpiceClientGtk-3.0.gir
|
2012-01-17 13:43:28 +00:00
|
|
|
|
|
|
|
%files -n spice-gtk3-vala
|
|
|
|
%{_datadir}/vala/vapi/spice-client-glib-2.0.deps
|
|
|
|
%{_datadir}/vala/vapi/spice-client-glib-2.0.vapi
|
|
|
|
%{_datadir}/vala/vapi/spice-client-gtk-3.0.deps
|
|
|
|
%{_datadir}/vala/vapi/spice-client-gtk-3.0.vapi
|
2011-01-27 21:18:26 +00:00
|
|
|
|
|
|
|
%files tools
|
2011-01-09 20:59:47 +00:00
|
|
|
%{_bindir}/spicy
|
2013-04-11 09:29:14 +00:00
|
|
|
%{_bindir}/spicy-screenshot
|
2011-07-25 15:17:47 +00:00
|
|
|
%{_bindir}/spicy-stats
|
2011-01-09 20:59:47 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-07-04 15:11:21 +00:00
|
|
|
%autochangelog
|