From be3f2ddb1a285e6fc0d23279381b52464b71cd1f Mon Sep 17 00:00:00 2001 From: Jonathan Underwood Date: Feb 29 2016 18:12:40 +0000 Subject: Properly enable opencl support on Fedora 23 Change PyOpenGL requires to python2-opengl on f24 and higher --- diff --git a/xpra.spec b/xpra.spec index 7a5b2d8..d605847 100644 --- a/xpra.spec +++ b/xpra.spec @@ -50,16 +50,18 @@ BuildRequires: x264-devel %if 0%{fedora} >= 24 Requires: python2-pillow Requires: python2-cups +Requires: python2-pyopengl %else Requires: python-pillow Requires: python-cups +Requires: PyOpenGL %endif Requires: dbus-python Requires: dbus-x11 Requires: xorg-x11-server-utils Requires: xorg-x11-drv-dummy Requires: xorg-x11-xauth -Requires: PyOpenGL pygtkglext +Requires: pygtkglext Requires: numpy Requires: python-gobject Requires: gstreamer1 @@ -117,7 +119,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build \ %{?_with_enc_x264} \ %{?_with_dec_avcodec2} \ %{?_with_csc_swscale} \ -%if 0%{?fedora} >= 24 +%if 0%{?fedora} >= 23 --with-csc_opencl \ %endif --with-Xdummy \ @@ -133,7 +135,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build \ %{?_with_enc_x264} \ %{?_with_dec_avcodec2} \ %{?_with_csc_swscale} \ -%if 0%{?fedora} >= 24 +%if 0%{?fedora} >= 23 --with-csc_opencl \ %endif --with-Xdummy \ @@ -233,6 +235,10 @@ fi %{_datadir}/xpra/www %changelog +* Mon Feb 29 2016 Jonathan Underwood - 0.16.2-8 +- Properly enable opencl support on Fedora 23 +- Change PyOpenGL requires to python2-opengl on f24 and higher + * Sun Feb 28 2016 Jonathan Underwood - 0.16.2-7 - Change python-imaging dep to python[2]-pillow - Change python-cups to python2-cups of F24 and higher