Skip to content

Commit

Permalink
split the html5 client into its own package so we can update it separ…
Browse files Browse the repository at this point in the history
…ately

git-svn-id: https://xpra.org/svn/Xpra/trunk@14547 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 16, 2016
1 parent 4658aff commit ef94f00
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion rpmbuild/xpra.spec
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ Requires: ffmpeg-xpra
Requires: python2-pynvml
Requires: %{numpy}
Requires: xpra-common = %{version}-%{build_no}%{dist}
Requires: xpra-html5
%if 0%{?el7}
#sshpass is not available!
%else
Expand Down Expand Up @@ -235,7 +236,17 @@ This package contains the files which are common to both the Python 2 and Python
getent group xpra > /dev/null || groupadd -r xpra


#optional python3 package:
%package html5
Summary: Xpra HTML5 client
Group: Networking
BuildArch: noarch
Conflicts: xpra < 2.0

%description html5
This package contains Xpra's HTML5 client.


s#optional python3 package:
%if %{with_python3}
%package -n python3-xpra
Summary: Xpra gives you "persistent remote applications" for X.
Expand Down Expand Up @@ -265,6 +276,7 @@ Requires: libyuv
Requires: x264-xpra
Requires: ffmpeg-xpra
Requires: xpra-common = %{build_no}%{dist}
Requires: xpra-html5
#for running the tests:
BuildRequires: %{py3requires_crypto}
%if 0%{?fedora}
Expand Down Expand Up @@ -365,6 +377,10 @@ rm -fr ${RPM_BUILD_ROOT}/%{python3_sitearch}/unittests
rm -rf $RPM_BUILD_ROOT


%files html5
%defattr(-,root,root)
%{_datadir}/xpra/www

%files common
%defattr(-,root,root)
%{_bindir}/xpra*
Expand Down

0 comments on commit ef94f00

Please sign in to comment.