update to 1.0.23 [release 1.0.23-1mamba;Mon May 23 2022]
This commit is contained in:
parent
b8ec049308
commit
74eeb7a8e2
@ -1,40 +1,56 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
|
||||
Name: python-smbc
|
||||
Version: 1.0.13
|
||||
Release: 2mamba
|
||||
Version: 1.0.23
|
||||
Release: 1mamba
|
||||
Summary: Python bindings for the libsmbclient API from Samba
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://cyberelk.net/tim/data/pysmbc/
|
||||
Source: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{version}.tar.bz2
|
||||
URL: https://pypi.org/project/pysmbc/
|
||||
Source: https://pypi.debian.net/pysmbc/pysmbc-%{version}.tar.gz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libsmbclient-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
Python bindings for the libsmbclient API from Samba.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n pysmbc-%{version}
|
||||
|
||||
%build
|
||||
%make
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/smbc.so
|
||||
%{python_sitearch}/pysmbc-*-py*.egg-info
|
||||
%doc COPYING NEWS README
|
||||
%dir %{python_sitearch}/pysmbc-%{version}-py*.egg-info
|
||||
%{python_sitearch}/pysmbc-%{version}-py*.egg-info/*
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Mon May 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.23-1mamba
|
||||
- update to 1.0.23
|
||||
|
||||
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.13-2mamba
|
||||
- python 2.7 mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user