/[packages]/cauldron/hydra/current/SPECS/hydra.spec
ViewVC logotype

Contents of /cauldron/hydra/current/SPECS/hydra.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1963105 - (show annotations) (download)
Mon Jun 26 07:18:30 2023 UTC (11 months, 4 weeks ago) by guillomovitch
File size: 1771 byte(s)
new version 9.5
1 Name: hydra
2 Version: 9.5
3 Release: %mkrel 1
4 Summary: Network logon cracker
5 License: GPLv3
6 Group: Security
7 URL: https://github.com/vanhauser-thc/thc-hydra
8 Source0: https://github.com/vanhauser-thc/thc-hydra/archive/thc-hydra-%{version}.tar.gz
9 Source1: xhydra.desktop
10 # Upstream provides non-transparent jpeg
11 Source2: xhydra.png
12 BuildRequires: subversion-devel
13 BuildRequires: mysql-devel
14 BuildRequires: postgresql-devel
15 BuildRequires: ncpfs-devel
16 BuildRequires: pkgconfig(openssl)
17 BuildRequires: pkgconfig(libpcre2-8)
18 BuildRequires: pkgconfig(fbclient)
19 BuildRequires: pkgconfig(libssh)
20 BuildRequires: pkgconfig(libidn)
21 BuildRequires: pkgconfig(gtk+-2.0)
22 BuildRequires: pkgconfig(smbclient)
23 BuildRequires: pkgconfig(freerdp2)
24
25 %description
26 A very fast network logon cracker which support many different services.
27
28 %package gui
29 Summary: GUI for %{name}
30 License: GPLv3
31 Group: Security
32 Requires: %{name} = %{version}-%{release}
33
34 %description gui
35 GUI for %{name}.
36
37 %prep
38 %setup -q -n thc-hydra-%{version}
39 chmod 644 LICENSE
40
41 %build
42 %configure --nostrip
43 %make_build
44
45 %install
46 make install DESTDIR="%{buildroot}" PREFIX="" BINDIR="%{_bindir}" MANDIR="%{_mandir}/man1" DATADIR="%{_datadir}/%{name}" PIXDIR="%{_datadir}/pixmaps" APPDIR="%{_datadir}/applications"
47
48 mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps}
49 install -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
50 desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1};
51
52 %files
53 %doc CHANGES README
54 %license LICENSE*
55 %{_bindir}/hydra
56 %{_bindir}/pw-inspector
57 %{_bindir}/hydra-wizard.sh
58 %{_bindir}/dpl4hydra.sh
59 %{_mandir}/man1/hydra.1*
60 %{_mandir}/man1/pw-inspector.1*
61 %{_datadir}/%{name}/
62
63 %files gui
64 %{_bindir}/xhydra
65 %{_mandir}/man1/xhydra.1*
66 %{_datadir}/pixmaps/*
67 %{_datadir}/applications/*

  ViewVC Help
Powered by ViewVC 1.1.30