blob: 140cbca10a1dc744d617c03284b7c6c5cffeca36 (
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
|
Summary: Connection intruder
Summary(pl.UTF-8): Przechwytywasz/sniffer połączeń
Name: hunt
Version: 1.5
Release: 2
License: GPL v2
Group: Networking/Utilities
Source0: ftp://ftp.gncz.cz/pub/linux/hunt/%{name}-%{version}.tgz
# Source0-md5: 5a8886784d1668a8518d5562bfd01ae7
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.UTF-8
Hunt to program do przechwytywania, podglądania oraz przerywania
połączeń sieciowych.
%prep
%setup -q
%build
%{__make} \
CFLAGS="%{rpmcflags} -Wall -D_REENTRANT" \
CC="%{__cc}"
%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}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGES README* TODO
%attr(755,root,root) %{_bindir}/hunt
%{_mandir}/man1/*
|