Name: johnny Version: 1.1.2 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. %ifarch x86_64 Source0: http://openwall.info/wiki/_media/john/%{name}%{version}.x86_64.tar.gz %endif # NOTE: the same list is below in 'prep' section. # Fedora wants i386 here, Mageia - i586, others - ? %ifarch i386 i586 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 tool designed to help systems administrators to find weak (easy to guess or crack through brute force) passwords, and even automatically mail users warning them about it, if it is desired. %prep %ifarch x86_64 %setup -n %{name}%{version}.x86_64 %endif %ifarch i386 i586 %setup -n %{name}%{version}.x86 %endif %ifnarch i386 i586 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 %doc LICENSE %{_bindir}/johnny