SHA256
1
0
forked from pool/xpra

Accepting request 645493 from home:alois:branches:X11:Utilities

- Added python2-paramiko as recommended runtime dependency
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/645493
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=5
This commit is contained in:
Luigi Baldoni 2018-10-30 10:03:07 +00:00 committed by Git OBS Bridge
parent eb5f628dd8
commit 7e10d12909
2 changed files with 27 additions and 22 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 30 09:31:37 UTC 2018 - Luigi Baldoni <aloisio@gmx.com>
- Added python2-paramiko as recommended runtime dependency
- Spec cleanup
-------------------------------------------------------------------
Fri Oct 26 09:24:17 UTC 2018 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -24,19 +24,15 @@ Name: xpra
Version: 2.4
Release: 0
Summary: Remote display server for applications and desktops
License: GPL-2.0+ AND BSD-3-Clause AND LGPL-3.0+ AND MIT
URL: https://www.xpra.org/
License: GPL-2.0-or-later AND BSD-3-Clause AND LGPL-3.0-or-later AND MIT
Group: Productivity/Networking/Other
URL: https://www.xpra.org/
Source0: https://xpra.org/src/%{name}-%{version}.tar.xz
Source1: xpra-icon.png
# Left here for older distros
Source99: xpra-rpmlintrc
# PATCH-FIX-OPENSUSE xpra-paths.patch -- use suse-specific paths
Patch0: %{name}-paths.patch
BuildRequires: python-rpm-macros
BuildRequires: python-Cython >= 0.20.0
BuildRequires: python2-devel
BuildRequires: python-gobject-devel
BuildRequires: ImageMagick
BuildRequires: cups
BuildRequires: cups-devel
@ -45,47 +41,48 @@ BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: pam-devel
BuildRequires: pkgconfig
BuildRequires: python-Cython >= 0.20.0
BuildRequires: python-gobject-devel
BuildRequires: python2-devel
BuildRequires: systemd
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libavcodec) >= 57
BuildRequires: pkgconfig(libavformat) >= 57
BuildRequires: pkgconfig(libswscale) >= 4
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libwebp) >= 0.4
BuildRequires: pkgconfig(pycairo)
BuildRequires: pkgconfig(pygtk-2.0)
#Leap 15 and tumbleweed
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(vpx) >= 1.4.0
%endif
BuildRequires: pkgconfig(libwebp) >= 0.4
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xkbfile)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xtst)
Requires: python2-Pillow
Requires: python2-pycups
Requires: python2-gst
Requires: python2-lz4
Requires: python2-opencv
Requires: python2-opengl
Requires: python2-rencode
Requires: python2-numpy
Requires: dbus-1-python
Requires: dbus-1-x11
Requires: gstreamer-plugins-base
Requires: gstreamer-plugins-good
Requires: pulseaudio
Requires: pulseaudio-utils
Requires: python2-Pillow
Requires: python2-gst
Requires: python2-lz4
Requires: python2-numpy
Requires: python2-opencv
Requires: python2-opengl
Requires: python2-pycups
Requires: python2-rencode
Requires: shared-mime-info
Requires: xf86-video-dummy
Requires: xorg-x11-xauth
Requires(post): %fillup_prereq
%{?systemd_requires}
Recommends: python2-opencv
Recommends: python2-paramiko
%{?systemd_requires}
%description
Xpra is "screen for X": it allows you to run X programs, usually on a remote
@ -134,7 +131,7 @@ sed -i 's|__FILLUPDIR__|%{_fillupdir}|' setup.py
sed -i 's|^#!.*|#!%__python2|' scripts/auth_dialog scripts/xdg-open
%build
%python2_build \
python2 setup.py build \
--verbose \
%if 0%{?suse_version} > 1500
--with-enc_ffmpeg \
@ -157,8 +154,10 @@ sed -i 's|^#!.*|#!%__python2|' scripts/auth_dialog scripts/xdg-open
--with-service
%install
%python2_install \
python2 setup.py install \
--skip-build \
--root %{buildroot} \
--prefix /usr \
--verbose
#Install nvenc.keys file