[packages/xpra] add cups-backend-xpra
glen
glen at pld-linux.org
Sat Jan 30 12:21:38 CET 2016
commit 48f224e54ac2c245a5980fbf4b378b5e39a58e15
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Jan 30 13:21:29 2016 +0200
add cups-backend-xpra
xpra.spec | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
---
diff --git a/xpra.spec b/xpra.spec
index ddde8c7..83971be 100644
--- a/xpra.spec
+++ b/xpra.spec
@@ -23,7 +23,7 @@ Summary: Xpra gives you "persistent remote applications" for X
Summary(pl.UTF-8): Xpra - "stałe zdalne aplikacje" dla X
Name: xpra
Version: 0.15.7
-Release: 5
+Release: 6
License: GPL v2+
Group: X11/Applications/Networking
Source0: http://xpra.org/src/%{name}-%{version}.tar.xz
@@ -65,6 +65,9 @@ Suggests: python-numpy
Suggests: python-pygtkglext
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# currently lib, not %{_lib} (see cups.spec)
+%define cupsdir /usr/lib/cups/backend
+
%description
Xpra gives you "persistent remote applications" for X. That is, unlike
normal X applications, applications run with xpra are "persistent" --
@@ -90,6 +93,19 @@ zarządcę okien.
W uproszczeniu xpra to "screen" dla zdalnych aplikacji X-owych.
+%package -n cups-backend-xpra
+Summary: Xpra backend for CUPS
+Summary(pl.UTF-8): Backend Xpra dla CUPS-a
+Group: Applications/Printing
+Requires: %{name} = %{version}-%{release}
+Requires: cups
+
+%description -n cups-backend-xpra
+Xpra backend for CUPS.
+
+%description -n cups-backend-xpra -l pl.UTF-8
+Backend Xpra dla CUPS-a.
+
%prep
%setup -q
%patch0 -p1
@@ -231,5 +247,6 @@ rm -rf $RPM_BUILD_ROOT
%{py_sitedir}/xpra/*.py[co]
%{py_sitedir}/xpra-%{version}-py*.egg-info
-#%files -n cups-backend-xpra ?
-%attr(756,root,root) %{_prefix}/lib/cups/backend/xpraforwarder
+%files -n cups-backend-xpra
+%defattr(644,root,root,755)
+%attr(756,root,root) %{cupsdir}/xpraforwarder
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xpra.git/commitdiff/48f224e54ac2c245a5980fbf4b378b5e39a58e15
More information about the pld-cvs-commit
mailing list