5699c08
%global pypi_name hashID
5699c08
5699c08
Name:           hashid
5699c08
Version:        3.1.4
666015b
Release:        12%{?dist}
cca23d5
Summary:        Tool to identify different types of hashes
5699c08
5699c08
License:        GPLv3+
5699c08
URL:            https://github.com/psypanda/hashID
cca23d5
Source0:        %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
5699c08
BuildArch:      noarch
5699c08
5699c08
BuildRequires:  python3-devel
cca23d5
BuildRequires:  python3-setuptools
5699c08
5699c08
%description
5699c08
Identify the different types of hashes used to encrypt data and especially
5699c08
passwords. hashID is a tool which supports the identification of over 220
f348454
unique hash types using regular expressions.
5699c08
5699c08
It is able to identify a single hash, parse a file or read multiple files in
5699c08
a directory and identify the hashes within them.
5699c08
5699c08
%prep
5699c08
%autosetup -n %{pypi_name}-%{version}
5699c08
sed -i -e '/^#!\//, 1d' hashid.py
5699c08
5699c08
%build
5699c08
%py3_build
5699c08
5699c08
%install
5699c08
%py3_install
5699c08
install -Dp -m 0644 doc/man/%{name}.7 %{buildroot}%{_mandir}/man7/%{name}.7
5699c08
5699c08
%files
5699c08
%doc README.rst doc/CHANGELOG
5699c08
%license doc/LICENSE
5699c08
%{_mandir}/man*/%{name}*.*
5699c08
%{_bindir}/%{name}
5699c08
%{python3_sitelib}/*.egg-info
5699c08
%{python3_sitelib}/%{name}.py
5699c08
%{python3_sitelib}/__pycache__/*
5699c08
5699c08
%changelog
666015b
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-12
666015b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
666015b
d8b13ab
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-11
d8b13ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d8b13ab
b499b64
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.1.4-10
b499b64
- Rebuilt for Python 3.10
b499b64
79389ec
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-9
79389ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
79389ec
f708cea
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-8
f708cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f708cea
cca23d5
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.1.4-7
cca23d5
- Add python3-setuptools as BR
cca23d5
7aee8e9
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.1.4-6
7aee8e9
- Rebuilt for Python 3.9
7aee8e9
1d27638
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-5
1d27638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1d27638
a0b148a
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1.4-4
a0b148a
- Rebuilt for Python 3.8.0rc1 (#1748018)
a0b148a
9d40c4c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1.4-3
9d40c4c
- Rebuilt for Python 3.8
9d40c4c
b0b2690
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-2
b0b2690
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b0b2690
5699c08
* Sat May 25 2019 Fabian Affolter <mail@fabian-affolter.ch> - 3.1.4-1
5699c08
- Initial package for Fedora