]> git.pld-linux.org Git - packages/dnstop.git/blame - dnstop.spec
- release 2
[packages/dnstop.git] / dnstop.spec
CommitLineData
bd32dcf9 1Summary: Display various tables of DNS traffic on your network
c674adf4 2Summary(pl.UTF-8): Wyświetlanie różnych zestawień ruchu DNS w sieci
5b7295d2 3Name: dnstop
a8a172a8 4Version: 20110502
c3abe106 5Release: 2
5b7295d2 6License: BSD-like
0d433ab9 7Group: Networking/Utilities
7ddcc6e2 8Source0: http://dns.measurement-factory.com/tools/dnstop/src/%{name}-%{version}.tar.gz
a8a172a8 9# Source0-md5: 28cb54f3780b27e15df8924235e4e37b
5b7295d2
PG
10URL: http://dns.measurement-factory.com/tools/dnstop/
11BuildRequires: libpcap-devel
0d433ab9 12BuildRequires: ncurses-devel
5b7295d2
PG
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16dnstop is a libpcap application (ala tcpdump) that displays various
17tables of DNS traffic on your network, including tables of source and
18destination IP addresses, query types, top level domains and second
19level domains.
20
c5a18d67 21%description -l pl.UTF-8
bd32dcf9 22dnstop to aplikacja oparta na libpcap (podobnie jak tcpdump)
c5a18d67
JR
23wyświetlająca zestawienia ruchu DNS w sieci wraz z tabelami źródłowych
24i docelowych adresów IP, rodzajów zapytań, domen głównych i drugiego
bd32dcf9
JB
25poziomu.
26
5b7295d2
PG
27%prep
28%setup -q
29
30%build
69e58894 31%configure
5b7295d2
PG
32%{__make} \
33 CC="%{__cc}" \
f503b90b 34 CFLAGS="%{rpmcppflags} %{rpmcflags} -I/usr/include/ncurses \
a8a172a8 35 -DUSE_IPV6=1" \
36 LIBS="-lresolv -lnsl -lpcap -lncurses -ltinfo"
5b7295d2
PG
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
41
42install dnstop $RPM_BUILD_ROOT%{_sbindir}
43install dnstop.8 $RPM_BUILD_ROOT%{_mandir}/man8
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc CHANGES
51%attr(755,root,root) %{_sbindir}/*
52%{_mandir}/man8/*
This page took 0.148211 seconds and 4 git commands to generate.