Blob Blame History Raw
Name:           ophcrack
Version:        3.6.1
Release:        1%{?dist}
Summary:        Free Windows password cracker based on rainbow tables
Group:          Applications/System
License:        GPLv2+ with exceptions
URL:            http://ophcrack.sourceforge.net
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2

# upstreamable
BuildRequires: automake libtool
BuildRequires:  qt4-devel >= 4.3
BuildRequires:  openssl-devel
BuildRequires:  expat-devel
BuildRequires:  desktop-file-utils
%if 0%{?fedora} > 17
BuildRequires:  pkgconfig(qwt5-qt4)
%else
BuildRequires:  qwt-devel
%endif


%description
Ophcrack is a free 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 Graphical User Interface and 
runs on multiple platforms. 

Features:

    * Runs on Windows, Linux/Unix, Mac OS X, ...
    * Cracks LM and NTLM hashes.
    * Free tables available for Windows XP and Vista.
    * Brute-force module for simple passwords.
    * Audit mode and CSV export.
    * Real-time graphs to analyze the passwords.
    * LiveCD available to simplify the cracking.
    * Loads hashes from encrypted SAM recovered from a Windows partition,
      Vista included.
    * Free and open source software (GPL).


%prep
%setup -q
# FIXME? to not require reauto-foo -- rex
autoreconf -f -i


%build
%configure
make %{?_smp_mflags}


%install
make install DESTDIR=%{buildroot}

install -Dp -m0644 src/gui/pixmaps/os.png %{buildroot}%{_datadir}/pixmaps/ophcrack.png
install -dm0755 %{buildroot}%{_datadir}/applications

cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF
[Desktop Entry]
Type=Application
Exec=%{name}
Name=Ophcrack
Comment=Windows password cracker
GenericName=Windows password cracker
Icon=ophcrack
Terminal=false
Categories=System;Security;
StartupNotify=true
EOF

desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop


%files
%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.OpenSSL NEWS README
%{_bindir}/%{name}
%{_datadir}/pixmaps/ophcrack.png
%{_datadir}/applications/%{name}.desktop

%changelog
* Mon Dec 05 2016 Filipe Rosset <rosset.filipe@gmail.com> - 3.6.1-1
- Rebuilt for new upstream release 3.6.1, fixes rhbz #1365143

* Mon Dec 05 2016 Filipe Rosset <rosset.filipe@gmail.com> - 3.6.0-8
- Spec clean up

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.6.0-5
- Rebuilt for GCC 5 C++11 ABI change

* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Fri Jun 07 2013 Adam Miller <maxamillion@fedoraproject.org> - 3.6.0-1
- Update to latest upstream (BZ#971711)

* Wed May 29 2013 Adam Miller <maxamillion@fedoraproject.org> - 3.5.0-1
- Update to latest upstream (BZ#919553)

* Mon Mar 04 2013 Adam Miller <maxamillion@fedoraproject.org> - 3.4.0-1
- Update to latest upstream (BZ#915223)

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Fri Oct 19 2012 Rex Dieter <rdieter@fedoraproject.org> - 3.3.1-3
- s/qt-devel/qt4-devel/
- rebuild (qwt)
- undo LFLAGS hack (the default flags are legit)

* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Feb 11 2012 Adam Miller <maxamillion@fedoraproject.org> - 3.3.1-1
- Update to latest upstream release.

* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 3.3.0-5
- rebuilt with new openssl

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Tue Jun 02 2009 Adam Miller <maxamillion [AT] gmail.com> - 3.3.0-3
- Added comment for LFLAGS justification, fixed rpmlint warnings

* Tue Jun 02 2009 Adam Miller <maxamillion [AT] gmail.com> - 3.3.0-2
- Fixed licensing field, LFLAGS issue, desktop file guidelines, and doc listing

* Fri May 29 2009 Adam Miller <maxamillion [AT] gmail.com> - 3.3.0-1
- New upstream release fixes some packaging issues with the old makefile

* Thu May 28 2009 Adam Miller <maxamillion [AT] gmail.com> - 3.2.1-3
- Fixed the URL macro problem, also removed unneeded requires.

* Thu May 28 2009 Adam Miller <maxamillion [AT] gmail.com> - 3.2.1-2
- Fixed URL/Source0 mishap, fixed desktop file icon listing, fixed files list
- Got rid of unneeded >> from description listing

* Wed May 27 2009 Adam Miller <maxamillion [AT] gmail.com> - 3.2.1-1
- First build of ophcrack for Fedora