Name: johnny Version: 1.1.3 Release: 1 Summary: Johnny, the GUI for John the Ripper License: MIT URL: http://openwall.info/wiki/john/johnny # TODO: platform independent, i.e. build from sources. # NOTE: With tabs at the beginning tags do not work. %ifarch x86_64 Source0: http://openwall.info/wiki/_media/john/%{name}%{version}.x86_64.tar.gz %endif %ifarch %ix86 Source0: http://openwall.info/wiki/_media/john/%{name}%{version}.x86.tar.gz %endif # TODO: We do not really handle sources. Just for reference #Source1: http://openwall.info/wiki/_media/john/%{name}%{version}.tar.gz Group: Applications/System Requires: john %description Johnny is a graphical user interface for John the Ripper. John the Ripper is a fast password cracker (password security auditing tool). Its primary purpose is to detect weak Unix passwords, but a number of other hash types are supported as well. %prep %ifarch x86_64 %setup -n %{name}%{version}.x86_64 %endif %ifarch %ix86 %setup -n %{name}%{version}.x86 %endif %ifnarch %ix86 x86_64 echo Not supported arch - %{_arch}. We just repackage binaries. exit 1 %endif %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir}/ cp -p johnny %{buildroot}%{_bindir}/ %files %defattr(-,root,root) %doc LICENSE %{_bindir}/johnny