From: twittner Date: Tue, 31 Oct 2006 21:12:13 +0000 (+0000) Subject: - sendmail links released in subpackage msmtp-sendmail to avoid X-Git-Tag: auto/th/msmtp-1_4_9-1~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmsmtp.git;a=commitdiff_plain;h=062db315a206e23710de72cc49449e35e3828b0b - sendmail links released in subpackage msmtp-sendmail to avoid conflict with full-featured MTAs - note: msmtp-sendmail imo doesn't provide smtpdaemon (for me smtpdaemon it is sth what is: 1. daemon 2. listens on 25 port - rel. 2 Changed files: msmtp.spec -> 1.57 --- diff --git a/msmtp.spec b/msmtp.spec index 58d956c..f8ace1d 100644 --- a/msmtp.spec +++ b/msmtp.spec @@ -2,7 +2,7 @@ Summary: SMTP "plugin" for MUAs Summary(pl): "Wtyczka" SMTP dla klientów pocztowych (MUA) Name: msmtp Version: 1.4.7 -Release: 1 +Release: 2 License: GPL v2 Group: Networking/Daemons Source0: http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2 @@ -15,8 +15,6 @@ BuildRequires: automake BuildRequires: gnutls-devel >= 1.2.0 BuildRequires: gsasl-devel BuildRequires: pkgconfig -Provides: smtpdaemon -Obsoletes: smtpdaemon BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -55,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 @@ -69,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} @@ -94,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