python-seafile: require python-searpc and remove obsolete/unneed py27 requirements [release 8.0.2-2mamba;Sun Apr 25 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:43:09 +01:00
parent 59c6fa814c
commit fa97d32ee4

View File

@ -5,14 +5,13 @@
%define MAJver %(echo %version | cut -d. -f1)
Name: seafile
Version: 8.0.2
Release: 1mamba
Release: 2mamba
Summary: A next-generation open source cloud storage system with advanced support for file syncing
Group: Applications/Web
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://seafile.com/
## GITSOURCE https://github.com/haiwen/seafile.git v3.1.4
Source: https://github.com/haiwen/seafile.git/v%{version}/seafile-%{version}.tar.bz2
Source3: seafile-client.service
Patch0: seafile-3.1.12-delay-start-after-mysql.patch
@ -21,19 +20,21 @@ Patch2: seafile-5.0.5-instance_dir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbrotli-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libe2fs-devel
BuildRequires: libevent-devel
BuildRequires: libglib-devel
BuildRequires: libgsasl-devel
BuildRequires: libgss-devel
BuildRequires: libicu-devel
BuildRequires: libidn-devel
BuildRequires: libidn2-devel
BuildRequires: libjansson-devel
BuildRequires: libkrb5-devel
BuildRequires: libnghttp2-devel
BuildRequires: libntlm-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpsl-devel
@ -46,7 +47,6 @@ BuildRequires: libunistring-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
BuildRequires: python36
## AUTOBUILDREQ-END
#BuildRequires: libevhtp-devel <= 1.2.9
#Requires: libevhtp <= 1.2.9
@ -82,10 +82,8 @@ Group: System/Libraries
Summary: Python bindings to %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: python-ccnet
Requires: python-setuptools
Requires: python-simplejson
Requires: python-Pillow
Requires: python-MySQL
Requires: python-setuptools-py3
Requires: python-searpc
%description -n python-%{name}
This package contains python bindings to %{name}.
@ -99,10 +97,10 @@ This package contains python bindings to %{name}.
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
./autogen.sh
%build
#:<< ___EOF
./autogen.sh
%configure \
--enable-console \
PYTHON=%{__python3}
@ -153,6 +151,9 @@ install -D -m0644 %{SOURCE3} %{buildroot}%{_unitdir}/seafile-client.service
%{python3_sitearch}/seafile/__pycache__/*.py*
%changelog
* Sun Apr 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.0.2-2mamba
- python-seafile: require python-searpc and remove obsolete/unneed py27 requirements
* Thu Apr 15 2021 Automatic Build System <autodist@mambasoft.it> 8.0.2-1mamba
- automatic version update by autodist