]> git.pld-linux.org Git - packages/dkim-milter.git/blob - dkim-milter.spec
99f7842790997ee8c84fb413bea43b979a2efba8
[packages/dkim-milter.git] / dkim-milter.spec
1 # TODO: Init script
2 # TODO: Devel package
3 Summary:        DomainKeys Identified Mail sender authentication sendmail milter
4 Name:           dkim-milter
5 Version:        2.8.3
6 Release:        0.5
7 License:        Sendmail Open Source License
8 Group:          Applications
9 Source0:        http://downloads.sourceforge.net/dkim-milter/%{name}-%{version}.tar.gz
10 # Source0-md5:  d2043c269f1720cc095a9b4f163cf3df
11 URL:            http://www.dkim.org/
12 BuildRequires:  libmilter-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The dkim-milter package is an open source implementation of the DKIM
17 sender authentication system proposed by the E-mail Signing Technology
18 Group (ESTG), now a proposed standard of the IETF (RFC4871).
19
20 DKIM is an amalgamation of the DomainKeys (DK) proposal by Yahoo!,
21 Inc. and the Internet Identified Mail (IIM) proposal by Cisco.
22
23 This package consists of a library that implements the DKIM service
24 and a milter-based filter application that can plug in to the sendmail
25 MTA to provide that service to sufficiently recent sendmail MTAs and
26 other MTAs that support the milter protocol.
27
28 %prep
29 %setup -q
30
31 cat > devtools/Site/site.config.m4 <<'EOF'
32 define(`confMANROOT', `%{_mandir}/man')
33 define(`confUBINDIR', `%{_sbindir}')
34 define(`confCCOPTS', `%{rpmcflags}')
35 APPENDDEF(`confLIBS', `-lresolv')
36 EOF
37
38 %build
39 %{__make} \
40         CC="%{__cc}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{3,5,8},%{_sysconfdir}/mail/%{name},%{_includedir}}
45
46 %{__make} install \
47         {UBIN,MAN}OWN=$(whoami) \
48         {UBIN,MAN}GRP=$(id -ng) \
49         UBINMODE=755 \
50         MANMODE=644 \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 cp -p dkim-filter/dkim-filter.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/mail/%{name}/dkim-filter.conf
54
55 # no -devel yet
56 %{__rm} $RPM_BUILD_ROOT%{_includedir}/dkim.h
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc README LICENSE RELEASE_NOTES INSTALL KNOWNBUGS FEATURES
64 %attr(755,root,root) %{_sbindir}/dkim-filter
65 %attr(755,root,root) %{_sbindir}/dkim-genkey
66 %attr(755,root,root) %{_sbindir}/dkim-testkey
67 %attr(755,root,root) %{_sbindir}/dkim-testssp
68 %{_mandir}/man3/ar.3*
69 %{_mandir}/man5/dkim-filter.conf.5*
70 %{_mandir}/man8/dkim-filter.8*
71 %{_mandir}/man8/dkim-genkey.8*
72 %{_mandir}/man8/dkim-stats.8*
73 %{_mandir}/man8/dkim-testkey.8*
74 %{_mandir}/man8/dkim-testssp.8*
75 %dir %{_sysconfdir}/mail/dkim-milter
76 %{_sysconfdir}/mail/dkim-milter/dkim-filter.conf
This page took 0.075465 seconds and 2 git commands to generate.