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