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