1 Summary: autodns - configuration of secondary DNS via email
2 Summary(pl): autodns - konfiguracja secondary DNS poprzez e-mail
7 Group: Applications/Networking
8 Source0: http://www.earth.li/projectpurple/files/%{name}-%{version}.tar.gz
9 # Source0-md5: 03c6a8a4d6447b99ed18d40c627733d3
11 Patch0: %{name}-config.patch
12 URL: http://www.earth.li/projectpurple/progs/autodns.html
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 autodns is an easy way to enable configuration of secondary DNS via
18 email. It's used by the author in conjunction with BIND, but with
19 minimal effort should work with any DNS server.
22 autodns umo¿liwia ³atw± konfiguracjê secondary DNS-a poprzez e-mail.
23 Jest u¿ywany przez autora w po³±czeniu z BINDem, ale minimalny wk³ad
24 pracy powinien umo¿liwiæ jego wspó³pracê z dowolnym serwerem DNS.
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},/var/lib/%{name},/etc/%{name}}
34 install autodns.pl contrib/add-dns.pl $RPM_BUILD_ROOT%{_bindir}
35 install autodns.users $RPM_BUILD_ROOT/etc/%{name}
37 install %{SOURCE1} $RPM_BUILD_ROOT/etc/%{name}.conf
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
44 %doc ACKNOWLEDGEMENTS HISTORY README TODO
45 %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
46 %attr(751,root,named) %dir /etc/%{name}
47 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}/autodns.users
48 %attr(755,root,root) %{_bindir}/*
49 %attr(751,root,named) %dir /var/lib/%{name}