]> git.pld-linux.org Git - packages/msmtp.git/blobdiff - msmtp.spec
up to 1.6.3
[packages/msmtp.git] / msmtp.spec
index d40b7b1fabe220917d965b20fddcf2210ad2f9ee..709a9341608037d07f52997b3dfc0216497fb32c 100644 (file)
@@ -1,19 +1,22 @@
 Summary:       SMTP "plugin" for MUAs
-Summary(pl):   "Wtyczka" SMTP dla klientów pocztowych (MUA)
+Summary(pl.UTF-8):     "Wtyczka" SMTP dla klientów pocztowych (MUA)
 Name:          msmtp
-Version:       1.4.9
+Version:       1.6.3
 Release:       1
-License:       GPL v2
-Group:         Networking/Daemons
-Source0:       http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
-# Source0-md5: f98d0e411c868ee679e2f22805434580
+License:       GPL v3+
+Group:         Networking/Utilities
+Source0:       http://downloads.sourceforge.net/msmtp/%{name}-%{version}.tar.xz
+# Source0-md5: 6d9384c09405db9476beaa2237c56705
 Patch0:                %{name}-home_etc.patch
 Source1:       %{name}rc
 URL:           http://msmtp.sourceforge.net/
-BuildRequires: autoconf >= 2.50
-BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: automake >= 1:1.11.1
+BuildRequires: gettext-tools
 BuildRequires: gnutls-devel >= 1.2.0
 BuildRequires: gsasl-devel
+BuildRequires: libidn-devel
+BuildRequires: libsecret-devel
 BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,48 +37,53 @@ Features include:
 Simply tell your MUA to call msmtp instead of /usr/sbin/sendmail (with
 Mutt that's just one additional line in the config file).
 
-%description -l pl
-msmtp to prosty program dzia³aj±cy jako "wtyczka SMTP" dla Mutta i
-innych klientów pocztowych (MUA - mail user agents). Przekierowuje
-wiadomo¶ci do serwera SMTP (na przyk³ad providera darmowych kont
-e-mail), który je dostarcza. Mo¿liwo¶ci obejmuj±:
+%description -l pl.UTF-8
+msmtp to prosty program działający jako "wtyczka SMTP" dla Mutta i
+innych klientów pocztowych (MUA - mail user agents). Przekierowuje
+wiadomości do serwera SMTP (na przykład providera darmowych kont
+e-mail), który je dostarcza. Możliwości obejmują:
 - uwierzytelnianie PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 i NTLM
-- obs³ugê Internationalized Domain Names (IDN)
-- szyfrowane po³±czenia TLS
-- obs³ugê IPv6
-- szczegó³owe komunikaty b³êdów w przypadku niepowodzenia (w³±cznie z
-  pe³n± odpowiedzi± serwera SMTP)
-- kody wyj¶cia kompatybilne z sendmailem (które rozumie wiêkszo¶æ
+- obsługę Internationalized Domain Names (IDN)
+- szyfrowane połączenia TLS
+- obsługę IPv6
+- szczegółowe komunikaty błędów w przypadku niepowodzenia (włącznie z
+  pełną odpowiedzią serwera SMTP)
+- kody wyjścia kompatybilne z sendmailem (które rozumie większość
   MUA).
 
-Wystarczy przekazaæ klientowi pocztowemu, aby wywo³ywa³ msmtp zamiast
+Wystarczy przekazać klientowi pocztowemu, aby wywoływał msmtp zamiast
 /usr/sbin/sendmail (w Mutcie to po prostu dodatkowa linia w pliku
 konfiguracyjnym).
 
 %package sendmail
 Summary:       msmtp sendmail compatible wrapper
-Summary(pl):   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
 msmtp sendmail compatible wrapper.
 
-%description sendmail -l pl
-Dowi±zania symboliczne msmtp do sendmaila.
+%description sendmail -l pl.UTF-8
+Dowiązania symboliczne msmtp do sendmaila.
 
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-%{__aclocal} -I gnulib/m4
-%{__autoconf}
+%{__gettextize}
+%{__aclocal}
 %{__autoheader}
 %{__automake}
-%configure
+%{__autoconf}
+%configure \
+       --disable-silent-rules \
+       --with-libgsasl \
+       --with-libidn \
+       --with-libsecret \
+       --with-ssl=gnutls
 %{__make}
 
 %install
@@ -92,19 +100,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*
This page took 0.073079 seconds and 4 git commands to generate.