]> git.pld-linux.org Git - packages/dnstop.git/blob - dnstop.spec
- rpmcppflags
[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:        20110127
5 Release:        1
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:  e1c6416ad700d2d4d52f176f0827c60d
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
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
40
41 install dnstop $RPM_BUILD_ROOT%{_sbindir}
42 install dnstop.8 $RPM_BUILD_ROOT%{_mandir}/man8
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc CHANGES
50 %attr(755,root,root) %{_sbindir}/*
51 %{_mandir}/man8/*
This page took 0.026908 seconds and 3 git commands to generate.