Name: vanityhash Version: 1.1 Release: 1%{?dist} Summary: Hexadecimal hash fragment creation tool Group: Applications/Engineering License: GPLv2+ URL: http://www.finnie.org/software/%{name}/ Source0: %{url}%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Digest::MD2) Requires: perl(Digest::MD4) Requires: perl(Digest::MD5) Requires: perl(Digest::SHA) Requires: perl(Digest::CRC) %description This is a tool that can discover data to be added to the end of a file to produce a desired hexadecimal hash fragment. It searches a message space and runs a hashing algorithm against the original data plus the appended data to determine if the desired hash fragment is present. vanityhash can run multiple parallel workers to effectively make use of multiple processors/cores/ threads, and supports multiple hash digest types (MD5, SHA-1, SHA-256, etc). %prep %setup -q %build make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} PREFIX=%{_prefix} %files %doc ChangeLog COPYING README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Fri Jun 28 2013 Petr Pisar <ppisar@redhat.com> - 1.1-1 - Version 1.1 packaged