automatic version update by autodist [release 4.0.6-1mamba;Thu Feb 25 2021]

This commit is contained in:
Automatic Build System 2024-01-05 19:50:05 +01:00
parent 00d0ad614f
commit bcbd8f5aa3

View File

@ -1,12 +1,12 @@
Name: xpra
Version: 0.15.1
Release: 2mamba
Version: 4.0.6
Release: 1mamba
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 <silvan.calarco@mambasoft.it>
URL: http://xpra.org/
URL: https://xpra.org/
Source: http://xpra.org/src/xpra-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
@ -36,7 +36,7 @@ BuildRequires: libwebp-devel
BuildRequires: libx264-devel
BuildRequires: libxkbfile-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python3
%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.
@ -54,18 +54,18 @@ This package contains shared libraries for %{name}.
%setup -q
%build
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -76,9 +76,29 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/xpra/xpra.conf
%config(noreplace) %{_sysconfdir}/sysconfig/xpra
%dir %{_sysconfdir}/xpra/conf.d
%{_sysconfdir}/xpra/conf.d/*.conf
%{_sysconfdir}/xpra/xorg-uinput.conf
%{_sysconfdir}/xpra/xorg.conf
%{_sysconfdir}/pam.d/xpra
%{_sysconfdir}/X11/xorg.conf.d/90-xpra-virtual.conf
%{_sysconfdir}/dbus-1/system.d/xpra.conf
%{_unitdir}/xpra.service
%{_unitdir}/xpra.socket
%{_prefix}/lib/cups/backend/xpraforwarder
%dir %{_datadir}/xpra
%dir %{_datadir}/xpra/www
%{_datadir}/xpra/www/*
%doc COPYING
%changelog
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 4.0.6-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
- automatic version update by autodist
* Thu Aug 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-2mamba
- remove broken requirement for libxbra