Name: mkrdns Version: 3.3 Release: 1%{?dist} Summary: Automatic reverse DNS zone generator Group: Applications/System License: GPLv2+ URL: https://sites.google.com/a/kluge.net/mkrdns Source0: https://sites.google.com/a/kluge.net/mkrdns/mkrdns-3_3.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch %description mkrdns automates the tedious procedure of editing both forward and reverse zones when making changes to your DNS zones. mkrdns does this by reading through all of the primary/secondary (master/slave) zones in your configuration file (either named.boot or named.conf). It will then automatically generate the reverse zone entries (IN PTR) for the networks for which you are the primary/master. mkrdns also acts as a limited lint-like program, issuing warnings and errors if there are problems with your configuration or zone files. %prep %setup -q -T -c zcat %{SOURCE0} > mkrdns touch -r %{SOURCE0} mkrdns %build # Nothing to build %install rm -rf $RPM_BUILD_ROOT install -Dp -m 0755 mkrdns $RPM_BUILD_ROOT%{_bindir}/mkrdns mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 pod2man mkrdns $RPM_BUILD_ROOT%{_mandir}/man1/mkrdns.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/mkrdns %{_mandir}/man1/mkrdns.1.gz %changelog * Wed Dec 13 2010 Xavier Bachelot 3.3-1 - Initial package.