Name: spice-gtk Version: 0.36.43 Release: 201902222002.spice.nightly%{?dist} Summary: A GTK+ widget for SPICE clients Group: User Interface/Desktops License: LGPLv2+ URL: https://www.spice-space.org/ Source0: spice-gtk-0.36.43-9944-dirty.tar.bz2 BuildRequires: gcc BuildRequires: intltool BuildRequires: usbredir-devel >= 0.5.2 BuildRequires: libusb1-devel >= 1.0.9 BuildRequires: libgudev1-devel BuildRequires: pixman-devel openssl-devel libjpeg-turbo-devel BuildRequires: celt051-devel pulseaudio-libs-devel opus-devel BuildRequires: zlib-devel BuildRequires: cyrus-sasl-devel BuildRequires: libcacard-devel BuildRequires: gobject-introspection-devel BuildRequires: libacl-devel BuildRequires: polkit-devel BuildRequires: gtk-doc BuildRequires: vala-tools BuildRequires: usbutils BuildRequires: libsoup-devel >= 2.49.91 BuildRequires: libphodav-devel BuildRequires: libepoxy-devel BuildRequires: lz4-devel BuildRequires: gtk3-devel BuildRequires: spice-protocol >= 0.12.11 BuildRequires: gstreamer1-devel gstreamer1-plugins-base-devel BuildRequires: json-glib-devel Obsoletes: spice-gtk-python < 0.32 Requires: spice-glib%{?_isa} = %{version}-%{release} %description Client libraries for SPICE desktop servers. %package -n spice-glib Summary: A GObject for communicating with Spice servers Group: Development/Libraries %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 Group: Development/Libraries Requires: spice-glib%{?_isa} = %{version}-%{release} 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 Summary: A GTK3 widget for SPICE clients Group: Development/Libraries Requires: spice-glib%{?_isa} = %{version}-%{release} %description -n spice-gtk3 spice-client-glib-3.0 is a SPICE client library for Gtk3. %package -n spice-gtk3-devel Summary: Development files to build GTK3 applications with spice-gtk-3.0 Group: Development/Libraries Requires: spice-gtk3%{?_isa} = %{version}-%{release} Requires: spice-glib-devel%{?_isa} = %{version}-%{release} Requires: pkgconfig Requires: gtk3-devel Obsoletes: spice-gtk-devel < 0.32 %description -n spice-gtk3-devel spice-client-gtk-3.0 provides a SPICE viewer widget for GTK3. Libraries, includes, etc. to compile with the spice-gtk3 libraries %package -n spice-gtk3-vala Summary: Vala bindings for the spice-gtk-3.0 library Group: Development/Libraries 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 %package tools Summary: Spice-gtk tools Group: Applications/Internet Requires: spice-gtk3%{?_isa} = %{version}-%{release} %description tools Simple clients for interacting with SPICE servers. spicy is a client to a SPICE desktop server. spicy-screenshot is a tool to capture screen-shots of a SPICE desktop. %prep %setup -q -n spice-gtk-0.36.43-9944-dirty find . -name '*.stamp' -exec touch {} \; %build %configure --enable-gtk-doc --enable-webdav --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ --enable-lz4 --enable-vala --disable-werror --disable-celt051 make %{?_smp_mflags} V=1 %install make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.a rm -f %{buildroot}%{_libdir}/*.la %find_lang %{name} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n spice-glib -p /sbin/ldconfig %postun -n spice-glib -p /sbin/ldconfig %post -n spice-gtk3 -p /sbin/ldconfig %postun -n spice-gtk3 -p /sbin/ldconfig %files %doc AUTHORS %doc COPYING %doc README %doc NEWS %{_mandir}/man1/spice-client.1* %files -n spice-glib -f %{name}.lang %{_libdir}/libspice-client-glib-2.0.so.* %{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib %dir %{_libexecdir}/spice-gtk-%{_arch}/ %attr(4755, root, root) %{_libexecdir}/spice-gtk-%{_arch}/spice-client-glib-usb-acl-helper %{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy %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 %doc %{_datadir}/gtk-doc/html/* %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 %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 %files tools %{_bindir}/spicy %{_bindir}/spicy-screenshot %{_bindir}/spicy-stats %changelog * Fri Feb 22 2019 SPICE Development Team - 0.36.43-201902222002.spice.nightly - Build from git commmit 994435ce843798451fcd1af40d094dd9ce045829 in @spice/nightly copr