summaryrefslogtreecommitdiff
path: root/hunt.spec
blob: c982566e076c91f999386b3634886247835f3342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Summary:	Connection intruder
Summary(pl):	Przechwytywasz/sniffer połączeń
Name:		hunt
Version:	1.5
Release:	1
License:	GPL
Group:		Networking/Utilities
Group(de):	Netzwerkwesen/Werkzeuge
Group(es):	Red/Utilitarios
Group(pl):	Sieciowe/Narzędzia
Group(pt_BR):	Rede/Utilitários
Source0:	ftp://ftp.gncz.cz/pub/linux/hunt/%{name}-%{version}.tgz
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Hunt is a program for intruding into a connection, watching it and
resetting it.

%description -l pl
Hunt to program do przechwytywania, podglądania oraz przerywania
połączeń sieciowych.

%prep
%setup -q

%build
%{__make} CFLAGS="%{rpmcflags} -Wall -D_REENTRANT"

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}

install man/hunt.1 $RPM_BUILD_ROOT%{_mandir}/man1
install hunt $RPM_BUILD_ROOT%{_bindir}

gzip -9nf README*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README*
%attr(755,root,root) %{_bindir}/hunt
%{_mandir}/man1/*