diff --git a/.cvsignore b/.cvsignore index e69de29..fa2e7f9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +msmtp-1.4.12.tar.bz2 diff --git a/msmtp.spec b/msmtp.spec new file mode 100644 index 0000000..2d715f1 --- /dev/null +++ b/msmtp.spec @@ -0,0 +1,102 @@ +Name: msmtp +Version: 1.4.12 +Release: 7%{?dist} +Summary: SMTP client +Group: System Environment/Base +License: GPL +URL: http://msmtp.sourceforge.net +Source0: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gnutls-devel +BuildRequires: libidn-devel +BuildRequires: gettext +BuildRequires: libgsasl-devel + +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info + + +%description +It forwards messages to an SMTP server which does the delivery. +Features include: + * Sendmail compatible interface (command line options and exit codes). + * Authentication methods PLAIN,LOGIN,CRAM-MD5,DIGEST-MD5,GSSAPI,and NTLM + * TLS/SSL both in SMTP-over-SSL mode and in STARTTLS mode. + * Fast SMTP implementation using command pipelining. + * Support for Internationalized Domain Names (IDN). + * DSN (Delivery Status Notification) support. + * RMQS (Remote Message Queue Starting) support (ETRN keyword). + * IPv6 support. + + +%prep +%setup -q + +%build +%configure --disable-rpath +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +%find_lang %{name} +rm -f $RPM_BUILD_ROOT%{_infodir}/dir + +%post +/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : + +%preun +if [ $1 = 0 ]; then +/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : +fi + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README THANKS +%doc doc/msmtp.html doc/msmtprc-system.example doc/msmtprc-user.example doc/Mutt+msmtp.txt +%{_bindir}/msmtp +%{_infodir}/msmtp.info* +%{_mandir}/man1/msmtp.1* + + +%changelog +* Sat Jun 30 2007 Nikolay Vladimirov - 1.4.12-7 +- timestamps fix + +* Sat Jun 30 2007 Nikolay Vladimirov - 1.4.12-6 +- minor spec fixes + +* Thu Jun 28 2007 Nikolay Vladimirov - 1.4.12-5 +- removed provides for sendmail +- added BuildRequires for libgsasl + +* Fri Jun 22 2007 Nikolay Vladimirov - 1.4.12-4 +- not using alternatives + +* Wed Jun 20 2007 Nikolay Vladimirov - 1.4.12-3 +- now using alternatives +- added provides for sendmail +- edited description + +* Tue Jun 19 2007 Nikolay Vladimirov - 1.4.12-2 +- fixed source0 +- removed openssl-devel from BuildRequires +- added BuildRequires for gettext +- added more doc files + +* Tue Jun 19 2007 Nikolay Vladimirov - 1.4.12-1 +- new version +- changed Summary and description + +* Mon Jun 11 2007 Nikolay Vladimirov - 1.4.11-2 +- fixed URL, Summary and description + +* Mon Jun 11 2007 Nikolay Vladimirov - 1.4.11-1 +- initial release diff --git a/sources b/sources index e69de29..f48d762 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ba5b61d5f7667d288f1cfadccfff8ac5 msmtp-1.4.12.tar.bz2