]> git.pld-linux.org Git - packages/dnscap.git/blob - dnscap.spec
Up to 2.1.0
[packages/dnscap.git] / dnscap.spec
1 #
2 %define         _snap   080302
3 Summary:        Network capture utility for DNS traffic
4 Summary(pl.UTF-8):      Zamiennik tcpdumpa dla ruchu DNS
5 Name:           dnscap
6 Version:        0.%{_snap}
7 Release:        1
8 License:        BSD-like/distributable
9 Group:          Networking/Utilities
10 Source0:        %{name}-%{_snap}.tar.gz
11 # Source0-md5:  e5451875e01551568e46a3c461641311
12 URL:            http://public.oarci.net/tools/dnscap/
13 BuildRequires:  bind-devel
14 BuildRequires:  groff
15 BuildRequires:  libpcap-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Network capture utility designed specifically for DNS traffic. It is
20 expected to be used for gathering continuous research or audit traces.
21
22 %prep
23 %setup -q -n %{name}
24
25 %build
26 %{__make} \
27         BINDLIB="-lbind9" \
28         PORTCFLAGS="%{rpmcppflags} %{rpmcflags}" \
29         PORTLDFLAGS="%{rpmldflags}" \
30         GCCWARN="-Wall" \
31         CDEBUG=""
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36
37 install dnscap $RPM_BUILD_ROOT%{_bindir}
38 install dnscap.1 $RPM_BUILD_ROOT%{_mandir}/man1
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_bindir}/*
46 %{_mandir}/man1/*.1*
This page took 0.104146 seconds and 3 git commands to generate.