From 00d0ad614f569517990acfbae53666c9655d63cc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:50:04 +0100 Subject: [PATCH] remove broken requirement for libxbra [release 0.15.1-2mamba;Thu Aug 13 2015] --- README.md | 2 ++ xpra.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 xpra.spec diff --git a/README.md b/README.md index 00d0dc4..df5970d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xpra +Xpra is 'screen for X' -- it allows you to run X programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine, without losing any state. + diff --git a/xpra.spec b/xpra.spec new file mode 100644 index 0000000..812bc02 --- /dev/null +++ b/xpra.spec @@ -0,0 +1,86 @@ +Name: xpra +Version: 0.15.1 +Release: 2mamba +Summary: A tool like screen for X allowing to direct X programs display to another X host +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://xpra.org/ +Source: http://xpra.org/src/xpra-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXrandr-devel +BuildRequires: libXtst-devel +BuildRequires: libatk-devel +BuildRequires: libavcodec-ffmpeg-devel +BuildRequires: libavutil-ffmpeg-devel +BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk2-devel +BuildRequires: libpango-devel +BuildRequires: libpython-devel +BuildRequires: libpython27-devel +BuildRequires: libswscale-ffmpeg-devel +BuildRequires: libvpx-devel +BuildRequires: libwebp-devel +BuildRequires: libx264-devel +BuildRequires: libxkbfile-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Xpra is 'screen for X' -- it allows you to run X programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine, without losing any state. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%debug_package + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -f %{name}.filelist +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/xpra/xpra.conf +%doc COPYING + +%changelog +* Thu Aug 13 2015 Silvan Calarco 0.15.1-2mamba +- remove broken requirement for libxbra + +* Wed Jun 24 2015 Silvan Calarco 0.15.1-1mamba +- package created using the webbuild interface