54 lines
1.4 KiB
RPMSpec
54 lines
1.4 KiB
RPMSpec
|
Name: esmtp
|
||
|
Version: 1.2
|
||
|
Release: 1mamba
|
||
|
Summary: A user configurable relay-only MTA with a sendmail-compatible syntax
|
||
|
Group: System/Servers
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://esmtp.sourceforge.net/
|
||
|
Source: http://downloads.sourceforge.net/project/esmtp/esmtp/%{version}/esmtp-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libesmtp-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
ESMTP MTA is a user configurable relay-only MTA with a sendmail-compatible syntax, based on libESMTP and supporting the AUTH (including the CRAM-MD5 and NTLM SASL mechanisms) and the StartTLS SMTP extensions.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make CFLAGS="%{optflags} -lesmtp"
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/esmtp
|
||
|
%{_bindir}/mailq
|
||
|
%{_bindir}/newaliases
|
||
|
%{_libdir}/sendmail
|
||
|
%{_sbindir}/sendmail
|
||
|
%{_mandir}/man1/esmtp.1.gz
|
||
|
%{_mandir}/man1/mailq.1.gz
|
||
|
%{_mandir}/man1/newaliases.1.gz
|
||
|
%{_mandir}/man1/sendmail.1.gz
|
||
|
%{_mandir}/man5/esmtprc.5.gz
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%changelog
|
||
|
* Sat Jan 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
||
|
- package created by silvan using the webbuild interface
|