Summary: SMTP "plugin" for MUAs
-Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
+Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
Name: msmtp
-Version: 1.4.10
+Version: 1.4.18
Release: 1
-License: GPL v2
-Group: Networking/Daemons
+License: GPL v3+
+Group: Networking/Utilities
Source0: http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
-# Source0-md5: 38c63aae762d5a31c5f6f5e58961cb52
+# Source0-md5: 74f80b41c058a0ee34819d6bf5ff3b1a
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
%package sendmail
Summary: msmtp sendmail compatible wrapper
-Summary(pl.UTF-8): msmtp - dowiązania symboliczne do sendmaila
+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*