forked from PowerDNS/pdns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdns.spec
75 lines (66 loc) · 1.8 KB
/
pdns.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
BuildRoot: /tmp/pdns
Name: pdns-static
Version: 3.3
Release: 1
Summary: extremely powerful and versatile nameserver
License: GPLv2
Distribution: Neutral
Vendor: PowerDNS.COM BV
Group: System/DNS
%define _rpmdir ../
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%description
PowerDNS is a versatile nameserver which supports a large number
of different backends ranging from simple zonefiles to relational
databases and load balancing/failover algorithms.
This RPM is statically compiled and should work on all Linux distributions.
It comes with support for MySQL, PostgreSQL, Bind zonefiles and the 'pipe
backend'.
%files
%defattr(-,root,root)
%{_sbindir}/pdns_server
%{_bindir}/pdns_control
%{_bindir}/zone2sql
%{_bindir}/zone2json
%{_bindir}/pdnssec
%{_mandir}/man1/pdns_control.1
%{_mandir}/man1/pdns_server.1
%{_mandir}/man1/zone2sql.1
%{_mandir}/man1/pdnssec.1
%{_datadir}/doc/pdns/*.sql
%dir %{_sysconfdir}/powerdns/
%config(noreplace) %{_sysconfdir}/powerdns/pdns.conf
%config %{_sysconfdir}/init.d/pdns
%post
echo Remember to create a 'pdns' user before starting pdns
%package -n pdns-tools
Summary: extremely powerful and versatile nameserver
License: GPLv2
Distribution: Neutral
Vendor: PowerDNS.COM BV
Group: System/DNS
%description -n pdns-tools
These are the tools
%files -n pdns-tools
%defattr(-,root,root)
%{_bindir}/dnsbulktest
%{_bindir}/dnsgram
%{_bindir}/dnsreplay
%{_bindir}/dnsscan
%{_bindir}/dnsscope
%{_bindir}/dnstcpbench
%{_bindir}/dnswasher
%{_bindir}/notify
%{_bindir}/nproxy
%{_bindir}/nsec3dig
%{_bindir}/saxfr
%{_mandir}/man1/dnsbulktest.1
%{_mandir}/man1/dnsdist.1
%{_mandir}/man1/dnsgram.1
%{_mandir}/man1/dnsreplay.1
%{_mandir}/man1/dnsscan.1
%{_mandir}/man1/dnsscope.1
%{_mandir}/man1/dnstcpbench.1
%{_mandir}/man1/dnswasher.1
%{_mandir}/man1/nsec3dig.1
%{_mandir}/man1/saxfr.1