|
 |
dfff970 |
%global pypi_name pysmb
|
|
 |
dfff970 |
|
|
 |
dfff970 |
Name: python-%{pypi_name}
|
|
 |
0eada20 |
Version: 1.2.4
|
|
 |
0aef287 |
Release: 10%{?dist}
|
|
 |
dfff970 |
Summary: Python SMB/CIFS library
|
|
 |
dfff970 |
|
|
 |
dfff970 |
# smb/utils/sha256.py is MIT
|
|
 |
dfff970 |
License: zlib and MIT
|
|
 |
dfff970 |
URL: https://github.com/miketeo/pysmb
|
|
 |
dfff970 |
# Upstream source is hard to use
|
|
 |
dfff970 |
# https://github.com/miketeo/pysmb/issues/163
|
|
 |
dfff970 |
Source0: %{pypi_source %{pypi_name} %{version} zip}
|
|
 |
dfff970 |
BuildArch: noarch
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%description
|
|
 |
dfff970 |
pysmb is an experimental SMB/CIFS library written in Python. It implements the
|
|
 |
dfff970 |
client-side SMB/CIFS protocol which allows your Python application to access
|
|
 |
dfff970 |
and transfer files to/from SMB/CIFS shared folders like your Windows file
|
|
 |
dfff970 |
sharing and Samba folders.
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%package -n python3-%{pypi_name}
|
|
 |
dfff970 |
Summary: %{summary}
|
|
 |
dfff970 |
|
|
 |
dfff970 |
BuildRequires: python3-devel
|
|
 |
dfff970 |
BuildRequires: python3dist(pyasn1)
|
|
 |
dfff970 |
BuildRequires: python3dist(setuptools)
|
|
 |
dfff970 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%description -n python3-%{pypi_name}
|
|
 |
dfff970 |
pysmb is an experimental SMB/CIFS library written in Python. It implements the
|
|
 |
dfff970 |
client-side SMB/CIFS protocol which allows your Python application to access
|
|
 |
dfff970 |
and transfer files to/from SMB/CIFS shared folders like your Windows file
|
|
 |
dfff970 |
sharing and Samba folders.
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%prep
|
|
 |
dfff970 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
dfff970 |
rm -rf %{pypi_name}.egg-info
|
|
 |
dfff970 |
sed -i -e '/^#!\//, 1d' python3/smb/utils/sha256.py
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%build
|
|
 |
dfff970 |
%py3_build
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%install
|
|
 |
dfff970 |
%py3_install
|
|
 |
dfff970 |
|
|
 |
dfff970 |
#%%check
|
|
 |
dfff970 |
# https://github.com/miketeo/pysmb/issues/165
|
|
 |
dfff970 |
#%%pytest -v python3/tests
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%files -n python3-%{pypi_name}
|
|
 |
dfff970 |
%license LICENSE
|
|
 |
dfff970 |
%doc CHANGELOG README.txt python3/tests/README_1st.txt
|
|
 |
dfff970 |
%{python3_sitelib}/nmb/
|
|
 |
dfff970 |
%{python3_sitelib}/smb/
|
|
 |
dfff970 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
 |
dfff970 |
|
|
 |
dfff970 |
%changelog
|
|
 |
0aef287 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-10
|
|
 |
0aef287 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
 |
0aef287 |
|
|
 |
a1ac5a1 |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.2.4-9
|
|
 |
a1ac5a1 |
- Rebuilt for Python 3.12
|
|
 |
a1ac5a1 |
|
|
 |
302345c |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-8
|
|
 |
302345c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
302345c |
|
|
 |
3d69f52 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-7
|
|
 |
3d69f52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
3d69f52 |
|
|
 |
a98a24a |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.4-6
|
|
 |
a98a24a |
- Rebuilt for Python 3.11
|
|
 |
a98a24a |
|
|
 |
84db7f9 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-5
|
|
 |
84db7f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
84db7f9 |
|
|
 |
1daecde |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-4
|
|
 |
1daecde |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
1daecde |
|
|
 |
92be41e |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.4-3
|
|
 |
92be41e |
- Rebuilt for Python 3.10
|
|
 |
92be41e |
|
|
 |
c9f59eb |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2
|
|
 |
c9f59eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
c9f59eb |
|
|
 |
0eada20 |
* Fri Oct 09 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.4-1
|
|
 |
0eada20 |
- Update to latest upstream release 1.2.4 (#1879992)
|
|
 |
0eada20 |
|
|
 |
dfff970 |
* Thu Sep 17 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.2-1
|
|
 |
dfff970 |
- Initial package for Fedora
|