588a0e9
%global pypi_name pypykatz
588a0e9
588a0e9
Name:           %{pypi_name}
8922f7b
Version:        0.3.8
bd88215
Release:        1%{?dist}
588a0e9
Summary:        A Python implementation of Mimikatz
588a0e9
588a0e9
License:        MIT
588a0e9
URL:            https://github.com/skelsec/pypykatz
588a0e9
Source0:        %pypi_source
588a0e9
BuildArch:      noarch
588a0e9
588a0e9
BuildRequires:  python3-devel
588a0e9
BuildRequires:  python3-setuptools
588a0e9
588a0e9
%description
588a0e9
Mimikatz implementation in pure Python. It's optimized for offline parsing, 
588a0e9
but has options for live credential dumping as well.
588a0e9
588a0e9
%prep
588a0e9
%autosetup -n %{pypi_name}-%{version}
588a0e9
# Remove shebangs
588a0e9
find ./ -type f -name "*.py" -exec sed -i '/^#!\//, 1d' {} \;
588a0e9
# Fix line endings
588a0e9
sed -i "s|\r||g" README.md
588a0e9
588a0e9
%build
588a0e9
%py3_build
588a0e9
588a0e9
%install
588a0e9
%py3_install
588a0e9
588a0e9
%files
588a0e9
%doc README.md
588a0e9
%license LICENSE
588a0e9
%{_bindir}/*
588a0e9
%{python3_sitelib}/%{pypi_name}/
588a0e9
%{python3_sitelib}/%{pypi_name}*.egg-info
588a0e9
588a0e9
%changelog
8922f7b
* Tue Apr 14 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.8-1
8922f7b
- LICENSE file is now part of the source tarball
8922f7b
- Update to latest upstream release 0.3.7 (rhbz#1800998)
8922f7b
69c9b85
* Fri Mar 27 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.7-1
69c9b85
- Update to latest upstream release 0.3.7 (rhbz#1800998)
69c9b85
69c9b85
* Tue Mar 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.5-1
69c9b85
- Update to latest upstream release 0.3.5 (rhbz#1800998)
69c9b85
84ac6e6
* Fri Feb 28 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.4-1
84ac6e6
- Update to latest upstream release 0.3.4
84ac6e6
bd88215
* Thu Jan 30 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.3-1
bd88215
- Update to latest upstream release 0.3.3 (rhbz#1790234)
bd88215
93f1f37
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-4
93f1f37
- Rebuilt for Python 3.8.0rc1 (#1748018)
93f1f37
7a109be
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-3
7a109be
- Rebuilt for Python 3.8
7a109be
07d6333
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-2
07d6333
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
07d6333
588a0e9
* Sat Jun 15 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.7-1
588a0e9
- Initial package for Fedora