]> git.pld-linux.org Git - packages/msmtp.git/blobdiff - msmtp.spec
- sendmail links released in subpackage msmtp-sendmail to avoid
[packages/msmtp.git] / msmtp.spec
index 1a3c5b14c6f91a2a6bda18fb71bdcdc32e0a3d8b..f8ace1d1cca77cfc4832616920697450d2b91682 100644 (file)
@@ -1,21 +1,20 @@
 Summary:       SMTP "plugin" for MUAs
 Summary(pl):   "Wtyczka" SMTP dla klientów pocztowych (MUA)
 Name:          msmtp
-Version:       1.4.6
-Release:       1
+Version:       1.4.7
+Release:       2       
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
-# Source0-md5: 0f76ca980151db88d5c26dda995c8701
+# Source0-md5: 9c87a1f40e05dae4896622b56ec71b56
 Patch0:                %{name}-home_etc.patch
 Source1:       %{name}rc
 URL:           http://msmtp.sourceforge.net/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: gsasl-devel >= 0.2.4
+BuildRequires: gnutls-devel >= 1.2.0
+BuildRequires: gsasl-devel
 BuildRequires: pkgconfig
-Provides:      smtpdaemon
-Obsoletes:     smtpdaemon
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -54,6 +53,23 @@ Wystarczy przekaza
 konfiguracyjnym) lub zrobienie dowi±zania symbolicznego do
 /usr/sbin/sendmail.
 
+%package sendmail
+Summary:       msmtp - sendmail symlinks
+Summary(pl):   msmtp - dowi±zania symboliczne do sendmail'a
+Group:         Networking/Daemons
+# Should be replaced with sth like P/O sendmail-wrapper
+Provides:      smtpdaemon
+Obsoletes:     smtpdaemon
+# Provides: sendmail-wrapper
+# Obsoletes: sendmail-wrapper
+Requires:      %{name} = %{version}-%{release}
+
+%description sendmail
+msmtp sendmail symlinks.
+
+%description -l pl sendmail
+Dowi±zania symboliczne msmtp do sendmaila.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -68,13 +84,13 @@ konfiguracyjnym) lub zrobienie dowi
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man1,%{_prefix}/lib,%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_prefix}/lib,%{_sysconfdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/msmtprc
-ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_prefix}/lib/sendmail
+ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT/usr/lib/sendmail
 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_sbindir}/sendmail
 
 %find_lang %{name}
@@ -93,9 +109,12 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man1/msmtp*
 %{_infodir}/msmtp*
-%{_prefix}/lib/sendmail
+
+%files sendmail
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%attr(755,root,root) %{_sbindir}/*
+/usr/lib/sendmail
This page took 0.059477 seconds and 4 git commands to generate.