]> git.pld-linux.org Git - packages/autodns.git/blob - autodns.spec
- generated files to /var
[packages/autodns.git] / autodns.spec
1 # TODO:
2 # - fix add-dns.pl - remove hardcoded config entries
3 %include        /usr/lib/rpm/macros.perl
4 Summary:        autodns - configuration of secondary DNS via email
5 Summary(pl):    autodns - konfiguracja secondary DNS poprzez e-mail
6 Name:           autodns
7 Version:        0.0.6
8 Release:        1.3
9 License:        GPL
10 Group:          Applications/Networking
11 Source0:        http://www.earth.li/projectpurple/files/%{name}-%{version}.tar.gz
12 # Source0-md5:  03c6a8a4d6447b99ed18d40c627733d3
13 Source1:        %{name}.conf
14 Patch0:         %{name}-config.patch
15 URL:            http://www.earth.li/projectpurple/progs/autodns.html
16 Requires:       bind
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 autodns is an easy way to enable configuration of secondary DNS via
22 email. It's used by the author in conjunction with BIND, but with
23 minimal effort should work with any DNS server.
24
25 %description -l pl
26 autodns umo¿liwia ³atw± konfiguracjê secondary DNS-a poprzez e-mail.
27 Jest u¿ywany przez autora w po³±czeniu z BINDem, ale minimalny wk³ad
28 pracy powinien umo¿liwiæ jego wspó³pracê z dowolnym serwerem DNS.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},/var/lib/%{name},/etc/%{name}}
37
38 install autodns.pl contrib/add-dns.pl $RPM_BUILD_ROOT%{_bindir}
39 install autodns.users $RPM_BUILD_ROOT/etc/%{name}
40
41 install %{SOURCE1} $RPM_BUILD_ROOT/etc/%{name}.conf
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc ACKNOWLEDGEMENTS HISTORY README TODO
49 %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
50 %attr(751,root,named) %dir /etc/%{name}
51 %attr(640,root,named) %config(noreplace) %verify(not size mtime md5) /etc/%{name}/autodns.users
52 %attr(755,root,root) %{_bindir}/*
53 %attr(771,root,named) %dir /var/lib/%{name}
This page took 0.083699 seconds and 3 git commands to generate.