|
|
|
@ -1,11 +1,13 @@
|
|
|
|
|
Name: spice-streaming-agent
|
|
|
|
|
Version: 0.3
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 202004050723.sslv3%{?dist}
|
|
|
|
|
Summary: SPICE streaming agent
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://www.redhat.com
|
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
|
Patch0: %{name}-%{version}-sslv3.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: spice-protocol >= 0.12.16
|
|
|
|
|
BuildRequires: libX11-devel libXfixes-devel
|
|
|
|
|
BuildRequires: libjpeg-turbo-devel
|
|
|
|
@ -15,18 +17,27 @@ BuildRequires: libdrm-devel
|
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: diffutils
|
|
|
|
|
BuildRequires: gstreamer1-devel gstreamer1-plugins-base-devel
|
|
|
|
|
BuildRequires: meson >= 0.49
|
|
|
|
|
BuildRequires: gstreamer1-devel
|
|
|
|
|
BuildRequires: gstreamer1-plugins-base-devel
|
|
|
|
|
BuildRequires: pixman-devel
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: opus-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
|
|
BuildRequires: python36
|
|
|
|
|
BuildRequires: python36-six
|
|
|
|
|
BuildRequires: python36-pyparsing
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: python3-six
|
|
|
|
|
BuildRequires: python3-pyparsing
|
|
|
|
|
%endif
|
|
|
|
|
# we need /usr/sbin/semanage program which is available on different
|
|
|
|
|
# packages depending on distribution
|
|
|
|
|
Requires(post): /usr/sbin/semanage
|
|
|
|
|
Requires(postun): /usr/sbin/semanage
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: x86_64
|
|
|
|
|
|
|
|
|
|
# Downstream: remove H264 and set VP8 as the default codec
|
|
|
|
|
Patch0100: 0100-gst-plugin-make-VP8-the-default-codec-downstream.patch
|
|
|
|
|
Patch0101: 0101-gst-plugin-remove-H264-and-H265-downstream.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
An agent, running on a guest, sending video streams of the X display to a
|
|
|
|
|
remote client (over SPICE).
|
|
|
|
@ -43,21 +54,17 @@ agent plugins.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch100 -p1
|
|
|
|
|
%patch101 -p1
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-tests --with-udevrulesdir=%{_udevrulesdir} --enable-gst-plugin=yes
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
%meson -Dunittests=enabled -Dudevrulesdir=%{_udevrulesdir}
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot} V=1
|
|
|
|
|
if test -d "%{buildroot}/%{_libdir}/%{name}/plugins"; then
|
|
|
|
|
find %{buildroot}/%{_libdir}/%{name}/plugins -name '*.la' -delete
|
|
|
|
|
fi
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
semanage fcontext -a -t xserver_exec_t %{_bindir}/spice-streaming-agent 2>/dev/null || :
|
|
|
|
@ -76,8 +83,7 @@ fi
|
|
|
|
|
%{_sysconfdir}/xdg/autostart/spice-streaming.desktop
|
|
|
|
|
%{_datadir}/gdm/greeter/autostart/spice-streaming.desktop
|
|
|
|
|
%{_mandir}/man1/spice-streaming-agent.1.gz
|
|
|
|
|
%{_libdir}/%{name}/plugins/*.so
|
|
|
|
|
|
|
|
|
|
%{_libdir}/%{name}/plugins/gst-plugin.so
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
@ -85,14 +91,20 @@ fi
|
|
|
|
|
%{_libdir}/pkgconfig
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 12 2019 Uri Lublin <uril@redhat.com> - 0.3-2
|
|
|
|
|
* Fri Aug 23 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 0.3-202004050723.sslv3
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|
* Wed Apr 26 2023 Jean-Marc Liger <ligenix@iscp.fr> - 0.3-202004050723.sslv3
|
|
|
|
|
- Fix SSLv3
|
|
|
|
|
|
|
|
|
|
* Sun Apr 05 2020 Latest Spice <latest@spice> - 0.3-202004050723.spice.latest
|
|
|
|
|
- Update to spice latest
|
|
|
|
|
|
|
|
|
|
* Thu Sep 19 2019 Uri Lublin <uril@redhat.com> - 0.3-1
|
|
|
|
|
- Update to 0.3 release
|
|
|
|
|
- Resolves: rhbz#1774123
|
|
|
|
|
- Resolves: rhbz#1774129
|
|
|
|
|
|
|
|
|
|
* Wed Aug 1 2018 Uri Lublin <uril@redhat.com> - 0.2-3
|
|
|
|
|
- Rebuild for rhel-8
|
|
|
|
|
Related: rhbz#1614485
|
|
|
|
|
* Thu May 31 2018 Uri Lublin <uril@redhat.com> - 0.2-1
|
|
|
|
|
- First release
|
|
|
|
|
|
|
|
|
|
* Wed Aug 16 2017 Frediano Ziglio <fziglio@redhat.com> - 0.1-1
|
|
|
|
|
- Initial package (pre-release)
|
|
|
|
|