Sisyphus repository
Last update: 18 september 2019 | SRPMs: 17447 | Visits: 15125755
en ru br
ALT Linux repos
S:1.0.15.3-alt1.1.1

Group :: Development/Python
RPM: python-module-smbc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define mname smbc

Name: python-module-%mname
Version: 1.0.15.3
Release: alt1.1

Summary: Python interface for smbclient
Group: Development/Python
License: GPLv2+
URL: https://pypi.python.org/pypi/pysmbc/

%setup_python_module %mname

Source: https://pypi.python.org/packages/source/p/pysmbc//py%mname-%version.tar

BuildRequires: libsmbclient-devel
BuildRequires: rpm-build-python3 python3-devel

%description
The smbc module provides an interface to the Samba client API.

%package -n python3-module-%mname
Summary: Python3 interface for smbclient
Group: Development/Python3

%description -n python3-module-%mname
The smbc module provides an interface to the Samba client API.

%prep
%setup -n py%mname-%version -a0
mv py%mname-%version py3build

%build
CFLAGS=-I/usr/include/samba-4.0/ %python_build
pushd py3build
CFLAGS=-I/usr/include/samba-4.0/ %python3_build
popd

%install
%python_install
pushd py3build
%python3_install
popd

%files
%python_sitelibdir/*
%doc README NEWS PKG-INFO

%files -n python3-module-%mname
%python3_sitelibdir/*
%doc README NEWS PKG-INFO

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin