2015-12-07 08:39:38 +01:00
|
|
|
#
|
|
|
|
# spec file for package hashcat
|
|
|
|
#
|
2018-10-15 09:44:34 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-12-07 08:39:38 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-15 09:44:34 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-12-07 08:39:38 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: hashcat
|
2018-10-15 09:44:34 +02:00
|
|
|
Version: 4.2.1
|
2015-12-07 08:39:38 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: CPU-based password recovery utility
|
|
|
|
License: MIT
|
|
|
|
Group: Productivity/Security
|
|
|
|
Url: https://hashcat.net/
|
|
|
|
|
|
|
|
#Git-Clone: git://github.com/hashcat/hashcat
|
2016-07-01 01:23:24 +02:00
|
|
|
Source: https://github.com/hashcat/hashcat/archive/v%version.tar.gz
|
2015-12-07 08:39:38 +01:00
|
|
|
BuildRequires: gmp-devel
|
2016-07-01 01:23:24 +02:00
|
|
|
BuildRequires: opencl-headers
|
2015-12-07 08:39:38 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExclusiveArch: %ix86 x86_64
|
|
|
|
|
|
|
|
%description
|
|
|
|
Hashcat is an advanced CPU-based password recovery utility,
|
|
|
|
supporting seven unique modes of testing for over 100 optimized
|
|
|
|
hashing algorithms.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2016-07-01 09:58:54 +02:00
|
|
|
make %{?_smp_mflags} COMPTIME=0 our_CFLAGS="%optflags" PREFIX="%_prefix"
|
2015-12-07 08:39:38 +01:00
|
|
|
|
|
|
|
%install
|
2016-07-01 09:58:54 +02:00
|
|
|
%make_install PREFIX="%_prefix" DOCUMENT_FOLDER="%_docdir/%name"
|
2015-12-07 08:39:38 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README.md docs/license.txt
|
|
|
|
%_bindir/hashcat
|
2016-07-01 09:58:54 +02:00
|
|
|
%_datadir/%name/
|
|
|
|
%_docdir/%name/
|
2015-12-07 08:39:38 +01:00
|
|
|
|
|
|
|
%changelog
|