# Spec File Version $Id: taxbird.spec.in,v 1.6 2005/07/29 16:08:24 stesie Exp $ # neededforbuild gtk2-devel openssl-devel # # Define vendor and version # %if "%{_vendor}" == "suse" || "%{_vendor}" == "pc" %define VENDOR SuSE %define VENDOR_VERS %{suse_version} %else %define VENDOR %{_vendor} %define VENDOR_VERS %define suse_version 0 %endif Summary: ophcrack - a Windows password cracker based on rainbow tables Name: ophcrack Version: 2.3.4 Release: 0.rauch.1.%{VENDOR}%{VENDOR_VERS} Distribution: %{VENDOR} %{VENDOR_VERS} URL: http://ophcrack.sourceforge.net/ Source0: %{name}-%{version}.tar.gz License: GPL Group: Applications/Security Vendor: Ophcrack Team Packager: Rauch Christian BuildRoot: %{_tmppath}/%{name}-%(id -un) BuildRequires: gtk2-devel openssl-devel Requires: gtk2 openssl # # Description # %description Ophcrack is a Windows password cracker based on rainbow tables. It is a very efficient implementation of rainbow tables done by the inventors of the method. It comes with a GTK+ Graphical User Interface and runs on Windows, Mac OS X (Intel CPU) as well as on Linux. # # Prepare to build # %prep %setup -q # # configure & build section # %build %configure %__make # # Installation section # %install [ %{buildroot} != "/" ] && rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} # # Copy documentation files # mkdir -p %{buildroot}/%{_prefix}/share/doc/packages/%{name}/ for A in AUTHORS ChangeLog COPYING COPYING.OpenSSL_exception NEWS README \ README.OpenSSL README.vendor-id THANKS; do test -e $A && /usr/bin/install -c -m 644 $A \ %{buildroot}/%{_prefix}/share/doc/packages/%{name}/ done # # Clean section # %clean [ %{buildroot} != "/" ] && rm -rf %{buildroot} # # Post install section # %post # # Pre uninstall section # %preun # # Post uninstall section # %postun # # Files section # %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/%{name}/* %{_prefix}/share/doc/packages/%{name}/* %changelog