]> git.pld-linux.org Git - packages/dnstop.git/blob - dnstop.spec
- initial, nice dns quick-stats
[packages/dnstop.git] / dnstop.spec
1 Summary:        displays various tables of DNS traffic on your network
2 Name:           dnstop
3 Version:        20060517
4 Release:        1
5 License:        BSD-like
6 Group:          Applications/Networking
7 Source0:        http://dns.measurement-factory.com/tools/dnstop/src/%{name}-20060517.tar.gz
8 # Source0-md5:  42181157acfe8e51fd8948ad4de7506d
9 URL:            http://dns.measurement-factory.com/tools/dnstop/
10 BuildRequires:  libpcap-devel
11 BuildRequires:  ncurses-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 dnstop is a libpcap application (ala tcpdump) that displays various
16 tables of DNS traffic on your network, including tables of source and
17 destination IP addresses, query types, top level domains and second
18 level domains.
19
20 %prep
21 %setup -q 
22
23 %build
24 %{__make} \
25         CC="%{__cc}" \
26         CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
31
32 install dnstop $RPM_BUILD_ROOT%{_sbindir}
33 install dnstop.8 $RPM_BUILD_ROOT%{_mandir}/man8
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc CHANGES
41 %attr(755,root,root) %{_sbindir}/*
42 %{_mandir}/man8/*
This page took 0.082876 seconds and 4 git commands to generate.