Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 60d314fc06ef60e5b02cc71a20a69048 > files > 2

dnstop-20040309-1mdk.src.rpm

%define	name	dnstop
%define	version	20040309
%define	release	1mdk

Summary:	This displays various tables of DNS traffic on your network.
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	BSD
Group:		Monitoring
URL:		http://dnstop.measurement-factory.com/
Source0:	%{name}-%{version}.tar.bz2
BuildRequires:	libpcap-devel >= 0.7
BuildRequires:	ncurses-devel
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
dnstop is a libpcap application (ala tcpdump) that displays
various tables of DNS traffic on your network, including tables
of source and destination IP addresses, query types, top level
domains and second level domains. 

%prep

%setup -q -n %{name}-%{version}

%build
%make CFLAGS="%{optflags}"

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}%{_sbindir}
install -d %{buildroot}%{_mandir}/man8
install -m755 dnstop %{buildroot}%{_sbindir}/
install -m644 dnstop.8 %{buildroot}%{_mandir}/man8/
						
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc LICENSE
%attr(0755,root,root) %{_sbindir}/dnstop
%attr(0644,root,root) %{_mandir}/man8/dnstop.8*

%changelog
* Sun May 16 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 20040309-1mdk
- 20040309
- fix deps

* Fri Apr 25 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 20030228-2mdk
- fix buildrequires, thanks to Stefan van der Eijks robot

* Wed Mar 26 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 20030228-1mdk
- initial cooker contrib