SPECS: msmtp.spec - sendmail links released in subpackage msmtp-se...
twittner
twittner at pld-linux.org
Tue Oct 31 22:12:18 CET 2006
Author: twittner Date: Tue Oct 31 21:12:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 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
---- Files affected:
SPECS:
msmtp.spec (1.56 -> 1.57)
---- Diffs:
================================================================
Index: SPECS/msmtp.spec
diff -u SPECS/msmtp.spec:1.56 SPECS/msmtp.spec:1.57
--- SPECS/msmtp.spec:1.56 Mon Aug 21 14:50:28 2006
+++ SPECS/msmtp.spec Tue Oct 31 22:12:13 2006
@@ -3,7 +3,7 @@
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
@@ -16,8 +16,6 @@
BuildRequires: gnutls-devel >= 1.2.0
BuildRequires: gsasl-devel
BuildRequires: pkgconfig
-Provides: smtpdaemon
-Obsoletes: smtpdaemon
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -56,6 +54,23 @@
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
@@ -70,13 +85,13 @@
%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}
@@ -95,12 +110,15 @@
%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
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -108,6 +126,15 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.57 2006/10/31 21:12:13 twittner
+- 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
+
Revision 1.56 2006/08/21 12:50:28 charles
- updated to 1.4.7
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/msmtp.spec?r1=1.56&r2=1.57&f=u
More information about the pld-cvs-commit
mailing list