]> git.pld-linux.org Git - packages/msmtp.git/blobdiff - msmtp.spec
up to 1.8.26
[packages/msmtp.git] / msmtp.spec
index b521342d4ac126a621e5dc35b34560231a384093..89b4b9cedb80c1c42b833602a9867fba39ad8dc0 100644 (file)
@@ -1,18 +1,29 @@
 Summary:       SMTP "plugin" for MUAs
 Summary(pl.UTF-8):     "Wtyczka" SMTP dla klientów pocztowych (MUA)
 Name:          msmtp
-Version:       1.4.24
+Version:       1.8.26
 Release:       1
 License:       GPL v3+
 Group:         Networking/Utilities
-Source0:       http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
-# Source0-md5: 3ed704fbd3e7419cab5c65bb7928d9ba
+#Source0Download: https://marlam.de/msmtp/download/
+Source0:       https://marlam.de/msmtp/releases/%{name}-%{version}.tar.xz
+# Source0-md5: 9fbc266d7420bde7cdd1f0b876abc369
 Patch0:                %{name}-home_etc.patch
+Patch1:                %{name}-info.patch
 Source1:       %{name}rc
-URL:           http://msmtp.sourceforge.net/
-BuildRequires: gnutls-devel >= 1.2.0
+URL:           https://marlam.de/msmtp/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1:1.11.1
+BuildRequires: gettext-tools
+# with AI_IDN support (or libidn2-devel)
+BuildRequires: glibc-devel >= 6:2.4
+BuildRequires: gnutls-devel >= 3.4
 BuildRequires: gsasl-devel
+BuildRequires: libsecret-devel
 BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: texinfo
+BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,7 +66,6 @@ Summary:      msmtp sendmail compatible wrapper
 Summary(pl.UTF-8):     msmtp - dowiązania symboliczne do sendmaila
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
-Obsoletes:     /usr/lib/sendmail
 
 %description sendmail
 msmtp sendmail compatible wrapper.
@@ -66,9 +76,20 @@ Dowiązania symboliczne msmtp do sendmaila.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-%configure
+%{__gettextize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+%configure \
+       --disable-silent-rules \
+       --with-libgsasl \
+       --with-libidn \
+       --with-libsecret \
+       --with-tls=gnutls
 %{__make}
 
 %install
@@ -98,13 +119,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example scripts
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/msmtp*
-%{_infodir}/msmtp*
+%doc AUTHORS ChangeLog NEWS README THANKS doc/msmtprc-{system,user}.example scripts
+%attr(755,root,root) %{_bindir}/msmtp
+%attr(755,root,root) %{_bindir}/msmtpd
+%{_mandir}/man1/msmtp.1*
+%{_mandir}/man1/msmtpd.1*
+%{_infodir}/msmtp.info*
 
 %files sendmail
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-%attr(755,root,root) %{_sbindir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/msmtprc
+%attr(755,root,root) %{_sbindir}/sendmail
 /usr/lib/sendmail
This page took 0.094244 seconds and 4 git commands to generate.