forked from pool/python-smbprotocol
Accepting request 633777 from home:mnhauke
Initial package for python-smbprotocol OBS-URL: https://build.opensuse.org/request/show/633777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
python-smbprotocol-0.1.0.tar.gz
Normal file
3
python-smbprotocol-0.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3070837255861e8197e6278eec6397ac7e785625c97a0792ca87187ef0c9658e
|
||||||
|
size 93786
|
4
python-smbprotocol.changes
Normal file
4
python-smbprotocol.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 6 17:42:06 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Initial package, version 0.1.0
|
82
python-smbprotocol.spec
Normal file
82
python-smbprotocol.spec
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-smbprotocol
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-smbprotocol
|
||||||
|
Version: 0.1.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Interact with a server using the SMB 2/3 Protocol
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/jborean93/smbprotocol
|
||||||
|
#Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz
|
||||||
|
Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-cryptography >= 2.0
|
||||||
|
Requires: python-ntlm-auth
|
||||||
|
Requires: python-pyasn1
|
||||||
|
Requires: python-six
|
||||||
|
Suggests: python-gssapi >= 1.4.1
|
||||||
|
Suggests: python-ordereddict
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: %{python_module cryptography >= 2.0}
|
||||||
|
BuildRequires: %{python_module ntlm-auth}
|
||||||
|
BuildRequires: %{python_module pyasn1}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
SMBv2 and v3 Client for both Python 2 and 3.
|
||||||
|
This library implements the SMBv2 and SMBv3 protocol.
|
||||||
|
|
||||||
|
Features
|
||||||
|
--------
|
||||||
|
- Negotiation of the SMB 2.0.2 protocol to SMB 3.1.1 (Windows 10/Server
|
||||||
|
2016)
|
||||||
|
- Authentication with both NTLM and Kerberos
|
||||||
|
- Message signing
|
||||||
|
- Message encryption (SMB 3.x.x+)
|
||||||
|
- Connect to a Tree/Share
|
||||||
|
- Opening of files, pipes and directories
|
||||||
|
- Set create contexts when opening files
|
||||||
|
- Read and writing of files and pipes
|
||||||
|
- Sending IOCTL commands
|
||||||
|
- Sending of multiple messages in one packet (compounding)
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n smbprotocol-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc CHANGELOG.md README.md
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user