]> git.pld-linux.org Git - packages/dnswalk.git/blob - dnswalk.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dnswalk.git] / dnswalk.spec
1 #
2 # Conditional build:
3 %bcond_without  autodeps        # don't BR packages needed only for resolving deps
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        The dnswalk DNS database debugger
7 Summary(pl.UTF-8):      Narzędzie do diagnostyki baz danych DNS
8 Name:           dnswalk
9 Version:        2.0.2
10 Release:        0.2
11 License:        Artistic
12 Group:          Applications/Networking
13 Source0:        http://www.visi.com/~barr/dnswalk/%{name}-%{version}.tar.gz
14 # Source0-md5:  62b9302822353fad71d51aefdae1cad1
15 Patch0:         %{name}-perlpath.patch
16 Patch1:         %{name}-delete-filterout.patch
17 URL:            http://www.visi.com/~barr/dnswalk/
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with autodeps}
20 BuildRequires:  perl-Net-DNS
21 %endif
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 dnswalk is a DNS debugger. It performs zone transfers of specified
27 domains, and checks the database in numerous ways for internal
28 consistency, as well as accuracy.
29
30 %description -l pl.UTF-8
31 dnswalk to narzędzie do diagnostyki DNS-ów. Wykonuje transfery stref
32 dla podanych domen i sprawdza bazę danych w różny sposób pod kątem
33 wewnętrznej spójności oraz dokładności.
34
35 %prep
36 %setup -q -c
37 %patch0 -p1
38 %patch1 -p0
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
44 install %{name} $RPM_BUILD_ROOT%{_sbindir}
45 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc CHANGES README TODO makereports sendreports rfc1912.txt do-dnswalk
53 %attr(755,root,root) %{_sbindir}/%{name}
54 %{_mandir}/man1/%{name}.1*
This page took 0.072829 seconds and 3 git commands to generate.