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