python-paramiko/python-paramiko.spec

208 lines
7.8 KiB
RPMSpec
Raw Normal View History

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-paramiko
Version: 3.5.0
Release: 1mamba
Summary: Paramiko SSH2 library for Python
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.lag.net/paramiko/
Source: https://github.com/paramiko/paramiko.git/%{version}/paramiko-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(bcrypt)
BuildRequires: python3.11dist(cryptography)
BuildRequires: python3.11dist(pynacl)
## AUTOBUILDREQ-END
%description
Paramiko (a combination of the esperanto words for "paranoid" and "friend") is a module for python 2.3 or greater that implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines. Unlike SSL (aka TLS), the SSH2 protocol does not require heirarchical certificates signed by a powerful central authority. You may know SSH2 as the protocol that replaced telnet and rsh for secure access to remote shells, but the protocol also includes the ability to open arbitrary channels to remote services across an encrypted tunnel. (This is how sftp works, for example.)
%if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-paramiko-py310 < 3.4.0-2mamba
%pyver_package
%endif
%prep
%setup -q -n paramiko-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE
%changelog
* Mon Sep 16 2024 Automatic Build System <autodist@openmamba.org> 3.5.0-1mamba
- automatic version update by autodist
* Mon Aug 12 2024 Automatic Build System <autodist@openmamba.org> 3.4.1-1mamba
- automatic version update by autodist
* Thu Jan 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-2mamba
- removed requirement for python-setuptools-devel, specfile updated using python-build
* Tue Dec 19 2023 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 3.3.1-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Sat Jul 29 2023 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist
* Fri May 26 2023 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic version update by autodist
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
- automatic version update by autodist
* Sun Jan 22 2023 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Sun Nov 06 2022 Automatic Build System <autodist@mambasoft.it> 2.12.0-1mamba
- automatic version update by autodist
* Tue May 17 2022 Automatic Build System <autodist@mambasoft.it> 2.11.0-1mamba
- automatic version update by autodist
* Tue Apr 26 2022 Automatic Build System <autodist@mambasoft.it> 2.10.4-1mamba
- automatic version update by autodist
* Sat Mar 19 2022 Automatic Build System <autodist@mambasoft.it> 2.10.3-1mamba
- automatic version update by autodist
* Tue Mar 15 2022 Automatic Build System <autodist@mambasoft.it> 2.10.2-1mamba
- automatic version update by autodist
* Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
- automatic version update by autodist
* Sun Jan 09 2022 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
- automatic version update by autodist
* Sat Dec 25 2021 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
- automatic version update by autodist
* Fri Dec 24 2021 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
- automatic version update by autodist
* Mon Nov 29 2021 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic version update by autodist
* Mon Oct 11 2021 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
- automatic version update by autodist
* Tue Sep 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.2-2mamba
- rebuilt with py3* packages
* Mon Aug 31 2020 Automatic Build System <autodist@mambasoft.it> 2.7.2-1mamba
- automatic version update by autodist
* Tue Jan 14 2020 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
- automatic version update by autodist
* Mon Aug 05 2019 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Wed Sep 19 2018 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic version update by autodist
* Sat Mar 17 2018 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Wed Nov 15 2017 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* Sat Sep 23 2017 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Tue Sep 19 2017 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Sun Mar 05 2017 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Tue Dec 13 2016 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* Sat Dec 10 2016 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Wed Jul 27 2016 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic version update by autodist
* Wed Jun 22 2016 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic version update by autodist
* Wed Jun 01 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0
* Fri Nov 06 2015 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
- automatic version update by autodist
* Tue Nov 03 2015 Automatic Build System <autodist@mambasoft.it> 1.15.4-1mamba
- automatic version update by autodist
* Sat Oct 03 2015 Automatic Build System <autodist@mambasoft.it> 1.15.3-1mamba
- automatic version update by autodist
* Sun Dec 21 2014 Automatic Build System <autodist@mambasoft.it> 1.15.2-1mamba
- automatic version update by autodist
* Tue Sep 23 2014 Automatic Build System <autodist@mambasoft.it> 1.15.1-1mamba
- automatic version update by autodist
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 1.15.0-1mamba
- automatic version update by autodist
* Tue Aug 26 2014 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
- automatic version update by autodist
* Tue Aug 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.0-1mamba
- update to 1.14.0
* Mon Mar 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- require python-ecdsa
* Tue Mar 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
- update to 1.13
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.7.1-2mamba
- python 2.7 mass rebuild
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 1.7.7.1-1mamba
- automatic version update by autodist
* Mon May 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.6-2mamba
- rebuilt in devel
* Sun Feb 28 2010 gil <puntogil@libero.it> 1.7.6-1mamba
- update to 1.7.6 "Fanny" released
- fixed bug id 411099
* Thu Jan 22 2009 gil <puntogil@libero.it> 1.7.4-1mamba
- package created by autospec