Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 87a1d91748afd3e8e623100aefbdacab > files > 2

ncsmtp-0.1-2mdk.src.rpm

%define name		ncsmtp
%define version		0.1
%define release		2

Name:		%{name}
Summary:	Null Client SMTP daemon with aliases support
Version:	%{version}
Release: 	%mkrel %{release}
URL:		http://gleh.dyndns.org/ncsmtp/
Source0:	http://gleh.dyndns.org/ncsmtp/ncsmtp-%{version}.tar.bz2
License:	GPL
Group:		System/Servers
Provides:	smtpdaemon, MailTransportAgent
Requires:	python
Requires:	mini_sendmail
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildArch:	noarch
PreReq:          rpm-helper

%description
A null client is a machine that can only send mail. It receives no
mail from the network, and it does not deliver any mail locally.

This program accepts mail and sends it to the mail hub. It can manage
aliases, feature which is useful if mail hub administrator and local host
administrator are not the same person, or if accounts are different on
local host and on mail hub.

Null Client SMTP daemon :
 + manage aliases
 + is easy to configure
 + stores login and password in a file with restricted access
 + logs mail transfers on local host
 + lets you keep the default smtp configuration (localhost:smtp) of
   lots of softs
 + runs with low privileges


%prep
%setup


%build


%install
DESTDIR=%buildroot sh install.sh

%clean
/bin/rm -Rf %buildroot


%files
%defattr(-, root, root, 0755)
%doc COPYING README version
%dir %{_sysconfdir}/ncsmtp
%config(noreplace)  %{_sysconfdir}/ncsmtp/*
%config(noreplace) %{_sysconfdir}/rc.d/init.d/ncsmtp
%{_sbindir}/*


%post
# Install service:
%_post_service ncsmtp


%preun
# Remove service:
%_preun_service ncsmtp



%changelog
* Wed Mar 23 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 0.1-2mdk
- remove sendmail update-alternatives (done in mini_sendmail)
- use mkrel

* Thu Mar 17 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 0.1-1mdk
- initial contrib