source: projects/specs/trunk/d/dma/dma-vl.spec @ 10254

Revision 10254, 2.3 KB checked in by iwaim, 8 years ago (diff)

dma 0.11-1

Line 
1%define ver 0.11
2%define rel 1
3
4Summary: a small Mail Transport Agent (MTA)
5Summary(ja): 小さなメール転送エージェント(MTA)
6Name: dma
7Version: %{ver}
8Release: %{rel}%{?_dist_release}
9Source0: https://github.com/corecode/dma/archive/v%{ver}.tar.gz#/%{name}-%{version}.tar.gz
10Source1: dma-aliases
11Patch0: dma-0.10_owners.patch
12License: BSD
13Group: System Environment/Daemons
14Provides: smtpdaemon
15URL: https://github.com/corecode/dma/
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: byacc
19BuildRequires: flex
20BuildRequires: openssl-devel
21Conflicts: postfix sendmail exim
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: iwaim
26
27
28%description
29dma (DragonFly Mail Agent) is a small Mail Transport Agent (MTA), designed
30for home and office use.  It accepts mails from locally installed
31Mail User Agents (MUA) and delivers the mails either locally or to
32a remote destination.
33Remote delivery includes several features like TLS/SSL support and
34SMTP authentication.
35
36dma is not intended as a replacement for real, big MTAs like sendmail(8)
37or postfix(1).  Consequently, dma does not listen on port 25 for
38incoming connections.
39
40
41%prep
42%setup -q
43%patch0 -p1
44
45%build
46%{__make} %{?_smp_mflags} PREFIX=%{_prefix}  LIBEXEC=%{_libexecdir} \
47                          CONFDIR=%{_sysconfdir}/dma MAN=%{_mandir} VAR=%{_var}
48
49
50%install
51%{__rm} -rf ${RPM_BUILD_ROOT}
52%{__make} install sendmail-link mailq-link install-spool-dirs install-etc \
53          DESTDIR=${RPM_BUILD_ROOT} PREFIX=%{_prefix} LIBEXEC=%{_libexecdir} \
54          CONFDIR=%{_sysconfdir}/dma MAN=%{_mandir} VAR=%{_var}
55
56%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/aliases
57
58%clean
59%{__rm} -rf ${RPM_BUILD_ROOT}
60
61
62%files
63%defattr(-,root,root)
64%doc LICENSE README.* TODO
65%attr(-,root,mail) %{_sbindir}/dma
66%{_sbindir}/mailq
67%{_sbindir}/sendmail
68%attr(-,root,mail) %{_libexecdir}/dma-mbox-create
69%dir %{_sysconfdir}/dma
70%attr(-,root,mail) %config(noreplace) %{_sysconfdir}/dma/auth.conf
71%attr(-,root,mail) %config(noreplace) %{_sysconfdir}/dma/dma.conf
72%config(noreplace) %{_sysconfdir}/aliases
73%{_mandir}/man8/dma.8*
74%attr(-,root,mail) %dir %{_var}/spool/dma
75
76%changelog
77* Fri Apr 29 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 0.11-1
78- update to 0.11
79
80* Sun Dec 27 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.10-1
81- initial build for Vine Linux
82
Note: See TracBrowser for help on using the repository browser.