ba25c9
%global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so)$
ba25c9
84b674
Summary:        Python binding for the libssh2 library
84b674
Name:           libssh2-python
84b674
Version:        0.7.1
58784f
Release:        23%{?dist}
84b674
License:        LGPLv2+
84b674
URL:            https://github.com/wallunit/ssh4py
Chris Lalancette b7c14d
# The source for the package was pulled from upstream's vcs.  Use the
Chris Lalancette b7c14d
# following commands to generate the tarball:
Chris Lalancette b7c14d
#  git clone git://github.com/wallunit/ssh4py.git
Chris Lalancette b7c14d
#  cd ssh4py ; python setup.py sdist
84b674
Source0:        https://github.com/wallunit/ssh4py/zipball/0.7.1/%{name}-%{version}.tar.gz
Chris Lalancette b7c14d
5dd98a
BuildRequires:  gcc
84b674
BuildRequires:  python3-devel
84b674
BuildRequires:  libssh2-devel
84b674
BuildRequires:  openssl-devel
84b674
BuildRequires:  zlib-devel
Chris Lalancette b7c14d
2e7676
%global _description\
2e7676
libssh2-python is a python binding for the libssh2 library\
Chris Lalancette b7c14d
Chris Lalancette b7c14d
2e7676
%description %_description
2e7676
84b674
%package -n python3-libssh2
84b674
Summary:        %summary
84b674
%{?python_provide:%python_provide python3-libssh2}
84b674
84b674
%description -n python3-libssh2 %_description
84b674
84b674
Chris Lalancette b7c14d
%prep
Chris Lalancette b7c14d
%setup -q
Chris Lalancette b7c14d
Chris Lalancette b7c14d
Chris Lalancette b7c14d
%build
84b674
%py3_build
Chris Lalancette b7c14d
Chris Lalancette b7c14d
Chris Lalancette b7c14d
%install
84b674
%py3_install
Chris Lalancette b7c14d
Chris Lalancette b7c14d
84b674
%files -n python3-libssh2
84b674
%doc README.txt COPYING
a0c8cc
%{python3_sitearch}/libssh2.*.so
84b674
%{python3_sitearch}/libssh2*-*.egg-info
84b674
Chris Lalancette b7c14d
Chris Lalancette b7c14d
%changelog
58784f
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-23
58784f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
58784f
a0c8cc
* Mon Nov 12 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7.1-22
a0c8cc
- Remove python2 subpackage (#1627364)
a0c8cc
29fd4c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-21
29fd4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
29fd4c
bf83e4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7.1-20
bf83e4
- Rebuilt for Python 3.7
bf83e4
e6685a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-19
e6685a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e6685a
84b674
*Thu Aug 24 2017 Jan Beran <jberan@redhat.com> - 0.7.1-18
84b674
- Python 3 subpackage
84b674
ea829e
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.1-17
ea829e
- Add Provides for the old name without %%_isa
ea829e
2e7676
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.1-16
2e7676
- Python 2 binary package renamed to python2-libssh2
2e7676
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
2e7676
231157
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-15
231157
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
231157
0a7c5e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-14
0a7c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0a7c5e
c5dd6a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-13
c5dd6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c5dd6a
1936b8
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-12
1936b8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1936b8
77ca45
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-11
77ca45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
77ca45
e6538e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-10
e6538e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6538e
e6ee97
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-9
e6ee97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e6ee97
f1ca14
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-8
f1ca14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f1ca14
e0a2d3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-7
e0a2d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e0a2d3
ec9d00
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-6
ec9d00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ec9d00
df7fe0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-5
df7fe0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
df7fe0
c7efcc
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-4
c7efcc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c7efcc
Chris Lalancette b7c14d
* Fri Jul 08 2011 Chris Lalancette <clalance@redhat.com> - 0.7.1-3
Chris Lalancette b7c14d
- Fix license to LGPLv2+
Chris Lalancette b7c14d
- Add the github zipball location
Chris Lalancette b7c14d
Chris Lalancette b7c14d
* Mon Mar 14 2011 Chris Lalancette <clalance@redhat.com> - 0.7.1-2
Chris Lalancette b7c14d
- Update to the spec file for missing BuildRequires
Chris Lalancette b7c14d
- Update to latest upstream to include missing license files
Chris Lalancette b7c14d
Chris Lalancette b7c14d
* Fri Feb 25 2011 Chris Lalancette <clalance@redhat.com> - 0.7.1-1
Chris Lalancette b7c14d
- Update to latest upstream
Chris Lalancette b7c14d
Chris Lalancette b7c14d
* Fri Jan 28 2011 Chris Lalancette <clalance@redhat.com> - 0.6.9-1
Chris Lalancette b7c14d
- Initial build.