mirror of
https://abf.rosa.ru/djam/xpra.git
synced 2025-02-24 06:02:57 +00:00
Automatic import for version 0.7.0-1
This commit is contained in:
commit
dd38c89fc1
3 changed files with 84 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
"xpra-0.7.0.tar.xz": 65cfd5f9e4be51f19f6248d82f4a7054ec4f56ce
|
13
libavcdc_lx11.patch
Normal file
13
libavcdc_lx11.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/setup.py b/setup.py
|
||||
index f4e328a..7f94557 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -193,7 +193,7 @@ def pkgconfig(*packages_options, **ekw):
|
||||
WARN_ALL = True
|
||||
if WARN_ALL:
|
||||
add_to_keywords(kw, 'extra_compile_args', "-Wall")
|
||||
- add_to_keywords(kw, 'extra_link_args', "-Wall")
|
||||
+ add_to_keywords(kw, 'extra_link_args', "-Wall", "-lX11", "-lm", "-lavformat", "-lavcodec", "-lavutil")
|
||||
PIC = True
|
||||
if PIC:
|
||||
add_to_keywords(kw, 'extra_compile_args', "-fPIC")
|
69
xpra.spec
Normal file
69
xpra.spec
Normal file
|
@ -0,0 +1,69 @@
|
|||
%define module xpra
|
||||
%define name python-%{module}
|
||||
%define version 0.7.0
|
||||
%define release 1
|
||||
|
||||
|
||||
Summary: Persistent remote applications for X
|
||||
Vendor: http://code.google.com/p/partiwm/wiki/xpra
|
||||
Name: xpra
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
License: GPLv2+
|
||||
Requires: pygtk2, xorg-x11-server-utils, xorg-x11-server-Xvfb, python-imaging, dbus-python, python-uuid
|
||||
Group: Networking/Other
|
||||
URL: http://xpra.org/
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-cython
|
||||
BuildRequires: pkgconfig(pygobject-2.0)
|
||||
BuildRequires: pkgconfig(gdk-x11-2.0)
|
||||
BuildRequires: pkgconfig(x264)
|
||||
BuildRequires: pkgconfig(libswscale)
|
||||
BuildRequires: pygtk2.0-devel
|
||||
Source0: http://xpra.org/src/%{name}-%{version}.tar.xz
|
||||
|
||||
Patch0: libavcdc_lx11.patch
|
||||
|
||||
%description
|
||||
Xpra gives you "persistent remote applications" for X. That is, unlike normal
|
||||
X applications, applications run with xpra are "persistent" -- you can run
|
||||
them remotely, and they don't die if your connection does. You can detach them,
|
||||
and reattach them later -- even from another computer -- with no loss of state.
|
||||
And unlike VNC or RDP, xpra is for remote applications, not remote desktops --
|
||||
individual applications show up as individual windows on your screen, managed
|
||||
by your window manager. They're not trapped in a box. So basically it's screen
|
||||
for remote X apps.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
|
||||
sed -e "s:libwebp.so.2:libwebp.so.4:" \
|
||||
-i "xpra/webm/__init__.py" || die
|
||||
|
||||
python make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install -O1 --prefix /usr --skip-build --root %{buildroot}
|
||||
|
||||
%files
|
||||
%{_sysconfdir}/%{name}/xorg.conf
|
||||
%{_sysconfdir}/%{name}/xpra.conf
|
||||
%{_bindir}/parti
|
||||
%{_bindir}/parti-repl
|
||||
%{_bindir}/xpra*
|
||||
%{_iconsdir}/%{name}.png
|
||||
%{_mandir}/man1/xpra_launcher.1.*
|
||||
%{_datadir}/applications/xpra_launcher.desktop
|
||||
%{python_sitearch}/xpra
|
||||
%{python_sitearch}/parti
|
||||
%{python_sitearch}/wimpiggy
|
||||
%{python_sitearch}/parti_all-*.egg-info
|
||||
/usr/share/xpra
|
||||
/usr/share/parti
|
||||
/usr/share/wimpiggy
|
||||
/usr/share/man/man1/xpra.*
|
||||
/usr/share/man/man1/parti.*
|
Loading…
Add table
Reference in a new issue