X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=msmtp.spec;h=b1352b21bcf684dd58e3816f766613a5bad0dbb7;hb=b69b5faa8c31d15b447c33c7586286c58560d6b9;hp=3b49021540677cd050385c07df2dba13c785e39d;hpb=a3c8dcd640b0984e4e3c4da7c2e69bbf33fbdf03;p=packages%2Fmsmtp.git diff --git a/msmtp.spec b/msmtp.spec index 3b49021..b1352b2 100644 --- a/msmtp.spec +++ b/msmtp.spec @@ -1,17 +1,15 @@ 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 @@ -54,10 +52,9 @@ konfiguracyjnym). %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 @@ -71,10 +68,6 @@ Dowiązania symboliczne msmtp do sendmaila. %patch0 -p1 %build -%{__aclocal} -I gnulib/m4 -%{__autoconf} -%{__autoheader} -%{__automake} %configure %{__make} @@ -92,19 +85,20 @@ ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_sbindir}/sendmail %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*