forked from PowerDNS/powermail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
powermail.spec
45 lines (42 loc) · 1.2 KB
/
powermail.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
Buildroot: /tmp/powermail
Name: powermail
Version: 1.8
Release: 2
Summary: extremely powerful and versatile mail receiver
Distribution: Neutral
License: GPL
Vendor: PowerDNS.COM BV
Group: System/MAIL
AutoReqProv: no
%define _rpmdir ../
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%description
PowerMail is a wonderful mailserver. Use it.
This RPM is statically compiled and should work on all Linux distributions.
%files
%defattr(-,root,root)
"/usr/sbin/powersmtp"
"/usr/sbin/powerpop"
"/usr/bin/pptool"
"/usr/sbin/pplistener"
"/usr/bin/mboxdir"
"/usr/sbin/powerimap"
#%dir "/usr/lib/"
#%dir "/usr/lib/powerdns/"
#"/usr/lib/powerdns/libbindbackend.so"
#"/usr/lib/powerdns/libgpgsqlbackend.so"
#"/usr/lib/powerdns/libmysqlbackend.so"
#"/usr/lib/powerdns/libpipebackend.so"
#%dir "/usr/share/doc/pdns/"
%dir "/etc/powermail/"
%config "/etc/powermail/power.conf"
%config "/etc/powermail/powersmtp.conf"
%config "/etc/powermail/powerpop.conf"
%config "/etc/powermail/pplistener.conf"
%config "/etc/powermail/mailboxes"
%config "/etc/init.d/powersmtp"
%config "/etc/init.d/powerpop"
%config "/etc/init.d/pplistener"
%dir "/var/powermail/"
%post
#echo Remember to create a 'pdns' user before starting pdns