Summary: SMTP "plugin" for MUAs
Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
Name: msmtp
-Version: 1.4.12
+Version: 1.4.28
Release: 1
-License: GPL v2
-Group: Networking/Daemons
-Source0: http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
-# Source0-md5: ba5b61d5f7667d288f1cfadccfff8ac5
+License: GPL v3+
+Group: Networking/Utilities
+Source0: http://downloads.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
+# Source0-md5: 14740478dc9d1f52ec97a415e3373fc7
Patch0: %{name}-home_etc.patch
Source1: %{name}rc
URL: http://msmtp.sourceforge.net/
-BuildRequires: autoconf >= 2.50
-BuildRequires: automake
BuildRequires: gnutls-devel >= 1.2.0
BuildRequires: gsasl-devel
BuildRequires: pkgconfig
Summary(pl.UTF-8): msmtp - dowiązania symboliczne do sendmaila
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-Provides: /usr/lib/sendmail
Obsoletes: /usr/lib/sendmail
%description sendmail
%patch0 -p1
%build
-%{__aclocal} -I gnulib/m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
%configure
%{__make}
%find_lang %{name}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f scripts/Makefile*
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example
+%doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example scripts
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/msmtp*
%{_infodir}/msmtp*