|
|
96c9519 |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
96c9519 |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
|
96c9519 |
|
|
|
96c9519 |
%if 0%{?fedora} > 12
|
|
|
96c9519 |
%global with_python3 1
|
|
|
96c9519 |
%endif
|
|
|
75dd6bf |
|
|
|
75dd6bf |
Name: python-smbpasswd
|
|
|
75dd6bf |
Version: 1.0.1
|
|
|
1c76ad6 |
Release: 38%{?dist}
|
|
|
75dd6bf |
Summary: Python SMB Password Hash Generator Module
|
|
|
75dd6bf |
|
|
|
75dd6bf |
Group: Development/Languages
|
|
|
0ac4b3f |
License: GPLv2
|
|
|
75dd6bf |
URL: http://barryp.org/software/py-smbpasswd
|
|
|
75dd6bf |
Source0: http://barryp.org/software/py-smbpasswd/files/py-smbpasswd-%{version}.tar.gz
|
|
|
96c9519 |
Patch1: python-smbpasswd-1.0.1-py3.patch
|
|
|
75dd6bf |
|
|
|
96c9519 |
BuildRequires: python3-devel
|
|
|
96c9519 |
BuildRequires: python2-devel
|
|
|
75dd6bf |
|
|
|
e90c4a6 |
%global _description\
|
|
|
e90c4a6 |
This package contains a python module, which is able to generate LANMAN and\
|
|
|
75dd6bf |
NT password hashes suiteable to us with Samba.
|
|
|
75dd6bf |
|
|
|
e90c4a6 |
%description %_description
|
|
|
e90c4a6 |
|
|
|
e90c4a6 |
%package -n python2-smbpasswd
|
|
|
e90c4a6 |
Summary: %summary
|
|
|
e90c4a6 |
%{?python_provide:%python_provide python2-smbpasswd}
|
|
|
e90c4a6 |
|
|
|
e90c4a6 |
%description -n python2-smbpasswd %_description
|
|
|
e90c4a6 |
|
|
|
96c9519 |
%if 0%{?with_python3}
|
|
|
96c9519 |
%package -n python3-smbpasswd
|
|
|
96c9519 |
Summary: Python SMB Password Hst Generator Module for Python 3
|
|
|
96c9519 |
Group: Development/Languages
|
|
|
96c9519 |
|
|
|
96c9519 |
%description -n python3-smbpasswd
|
|
|
96c9519 |
This package contains a python module, which is able to generate LANMAN and
|
|
|
96c9519 |
NT password hashes suiteable to us with Samba.
|
|
|
96c9519 |
|
|
|
96c9519 |
This is a ported release for python 3.1
|
|
|
96c9519 |
%endif
|
|
|
96c9519 |
|
|
|
75dd6bf |
%prep
|
|
|
75dd6bf |
%setup -q -n py-smbpasswd-%{version}
|
|
|
96c9519 |
%if 0%{?with_python3}
|
|
|
96c9519 |
rm -rf %{py3dir}
|
|
|
96c9519 |
cp -a . %{py3dir}
|
|
|
96c9519 |
cd %{py3dir}
|
|
|
96c9519 |
%patch1 -p1 -b .org
|
|
|
96c9519 |
%endif
|
|
|
75dd6bf |
|
|
|
75dd6bf |
%build
|
|
|
96c9519 |
CFLAGS="$RPM_OPT_FLAGS"
|
|
|
6cb82ed |
%py2_build
|
|
|
96c9519 |
|
|
|
96c9519 |
%if 0%{?with_python3}
|
|
|
96c9519 |
cd %{py3dir}
|
|
|
96c9519 |
%{__python3} setup.py build
|
|
|
96c9519 |
%endif
|
|
|
75dd6bf |
|
|
|
75dd6bf |
%install
|
|
|
75dd6bf |
rm -rf $RPM_BUILD_ROOT
|
|
|
75dd6bf |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
96c9519 |
|
|
|
96c9519 |
%if 0%{?with_python3}
|
|
|
96c9519 |
cd %{py3dir}
|
|
|
96c9519 |
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
96c9519 |
%endif
|
|
|
96c9519 |
|
|
|
e90c4a6 |
%files -n python2-smbpasswd
|
|
|
882a804 |
%{python2_sitearch}/smbpasswd.so
|
|
|
882a804 |
%{python2_sitearch}/*egg-info
|
|
|
96c9519 |
|
|
|
96c9519 |
%doc COPYING README.txt
|
|
|
96c9519 |
|
|
|
96c9519 |
%if 0%{?with_python3}
|
|
|
96c9519 |
%files -n python3-smbpasswd
|
|
|
26d977d |
%{python3_sitearch}/smbpasswd.cpython-3*.so
|
|
|
96c9519 |
%{python3_sitearch}/*egg-info
|
|
|
96c9519 |
%endif
|
|
|
75dd6bf |
|
|
|
75dd6bf |
%doc COPYING README.txt
|
|
|
75dd6bf |
|
|
|
75dd6bf |
%changelog
|
|
|
1c76ad6 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-38
|
|
|
1c76ad6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
1c76ad6 |
|
|
|
eec3b3f |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-37
|
|
|
eec3b3f |
- Rebuilt for Python 3.7
|
|
|
eec3b3f |
|
|
|
f1926f6 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-36
|
|
|
f1926f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f1926f6 |
|
|
|
e90c4a6 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.1-35
|
|
|
e90c4a6 |
- Python 2 binary package renamed to python2-smbpasswd
|
|
|
e90c4a6 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
e90c4a6 |
|
|
|
0c809f6 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-34
|
|
|
0c809f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
0c809f6 |
|
|
|
190608a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-33
|
|
|
190608a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
190608a |
|
|
|
d24fbc9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-32
|
|
|
d24fbc9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d24fbc9 |
|
|
|
7b18a22 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-31
|
|
|
7b18a22 |
- Rebuild for Python 3.6
|
|
|
7b18a22 |
|
|
|
f512a2a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-30
|
|
|
f512a2a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
f512a2a |
|
|
|
3e989f7 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-29
|
|
|
3e989f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3e989f7 |
|
|
|
4c04416 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-28
|
|
|
4c04416 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
4c04416 |
|
|
|
87bc174 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-27
|
|
|
87bc174 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
87bc174 |
|
|
|
aa6950f |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-26
|
|
|
aa6950f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
aa6950f |
|
|
|
e59398e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-25
|
|
|
e59398e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e59398e |
|
|
|
d4be26f |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.0.1-24
|
|
|
d4be26f |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
d4be26f |
|
|
|
171b4a2 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-23
|
|
|
171b4a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
171b4a2 |
|
|
|
ed15d10 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-22
|
|
|
ed15d10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ed15d10 |
|
|
|
c80ba86 |
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.1-21
|
|
|
c80ba86 |
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
c80ba86 |
|
|
|
26d977d |
* Thu Jul 26 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.1-20
|
|
|
26d977d |
- generalize file globbing to ease transition to Python 3.3
|
|
|
26d977d |
|
|
|
4a898f7 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-19
|
|
|
4a898f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4a898f7 |
|
|
|
91d9da6 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-18
|
|
|
91d9da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
91d9da6 |
|
|
|
f834afc |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-17
|
|
|
f834afc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f834afc |
|
|
|
639c8ed |
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.1-16
|
|
|
639c8ed |
- rework python3-smbpasswd manifest for PEP 3149, and rebuild for the newer
|
|
|
639c8ed |
python3
|
|
|
639c8ed |
|
|
Jochen Schmitt |
30f1921 |
* Sun Aug 22 2010 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-15
|
|
Jochen Schmitt |
30f1921 |
- Rebuild to fix brocken dependencies on rawhide
|
|
Jochen Schmitt |
30f1921 |
|
|
Jochen Schmitt |
30f1921 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> 1.0.1-14
|
|
|
e60d64f |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
e60d64f |
|
|
|
96c9519 |
* Tue Feb 2 2010 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-13
|
|
|
96c9519 |
- Port for python-3
|
|
|
96c9519 |
|
|
|
9f3ef13 |
* Mon Aug 3 2009 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-12
|
|
|
9f3ef13 |
- Rebuild for python-2.6.2
|
|
|
9f3ef13 |
|
|
|
5d68867 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-11
|
|
|
5d68867 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5d68867 |
|
|
|
32e23d2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-10
|
|
|
32e23d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
32e23d2 |
|
|
|
050dbcf |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.1-9
|
|
|
050dbcf |
- Rebuild for Python 2.6
|
|
|
050dbcf |
|
|
|
0a25785 |
* Sun Feb 10 2008 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-8
|
|
|
0a25785 |
- Rebuild for gcc-4.3
|
|
|
0a25785 |
|
|
|
36a799a |
* Sun Jan 6 2008 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-7
|
|
|
36a799a |
- Add .egg-info file into package
|
|
|
36a799a |
|
|
|
0ac4b3f |
* Wed Aug 8 2007 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-6
|
|
|
0ac4b3f |
- Changing license tag
|
|
|
0ac4b3f |
|
|
|
9c5af8b |
* Mon Dec 11 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-5
|
|
|
9c5af8b |
- New Build to solve broken deps
|
|
|
9c5af8b |
|
|
|
f7cf13c |
* Sun Sep 3 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-4
|
|
|
f7cf13c |
- Rebuild for FC-6
|
|
|
f7cf13c |
|
|
|
75dd6bf |
* Mon Jul 24 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-3
|
|
|
75dd6bf |
- Change Permissions of smbwasswd.c
|
|
|
75dd6bf |
|
|
|
75dd6bf |
* Sun Jul 23 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-2
|
|
|
75dd6bf |
- Remove Python(ABI) Require.
|
|
|
75dd6bf |
|
|
|
75dd6bf |
* Tue Jun 27 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.0.1-1
|
|
|
75dd6bf |
- Initial RPM
|