python 2.7 mass rebuild [release 1.0.1-4mamba;Fri May 17 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 16:41:12 +01:00
parent 6f82076672
commit e4e56eb3a1
2 changed files with 56 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-smbpasswd # python-smbpasswd
This module can generate both LANMAN and NT password hashes, suitable for use with Samba.

54
python-smbpasswd.spec Normal file
View File

@ -0,0 +1,54 @@
Name: python-smbpasswd
Version: 1.0.1
Release: 4mamba
Summary: SMB Password Hash Generator - suitable for use with Samba
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://barryp.org/software/py-smbpasswd
Source: http://barryp.org/software/py-smbpasswd/files/py-smbpasswd-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This module can generate both LANMAN and NT password hashes, suitable for use with Samba.
%prep
%setup -q -n py-smbpasswd-%{version}
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%{__python} setup.py install \
--root=%{buildroot} \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{python_sitearch}/smbpasswd.so
%{python_sitearch}/smbpasswd-%{version}-py*.egg-info
%changelog
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-4mamba
- python 2.7 mass rebuild
* Thu Apr 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-3mamba
- specfile updated
* Fri Oct 20 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.1-2qilnx
- install the library file in the %%python_sitearch directory
- added missing build requirement for libpython-devel
* Wed Mar 16 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1qilnx
- package created by autospec