SPECS: monit-rc-sendmail.spec (NEW) - separated from sendmail.spec

qboosh qboosh at pld-linux.org
Thu Jun 12 22:20:05 CEST 2008


Author: qboosh                       Date: Thu Jun 12 20:20:05 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated from sendmail.spec

---- Files affected:
SPECS:
   monit-rc-sendmail.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/monit-rc-sendmail.spec
diff -u /dev/null SPECS/monit-rc-sendmail.spec:1.1
--- /dev/null	Thu Jun 12 22:20:05 2008
+++ SPECS/monit-rc-sendmail.spec	Thu Jun 12 22:19:59 2008
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+Summary:	monitrc file for monitoring Sendmail mail server
+Summary(pl.UTF-8):	Plik monitrc do monitorowania serwera poczty Sendmail
+Name:		monit-rc-sendmail
+Version:	1.2
+Release:	1
+License:	GPL
+Group:		Applications/System
+Source0:	sendmail.monitrc
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires(post,postun):	monit
+Requires:	monit
+Requires:	sendmail >= 8.14.3-2
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+monitrc file for monitoring Sendmail mail server.
+
+%description -l pl.UTF-8
+Plik monitrc do monitorowania serwera poczty Sendmail.
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/monit
+install %{SOURCE0} $RPM_BUILD_ROOT%{_sysconfdir}/monit
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%service -q monit restart
+
+%postun
+%service -q monit restart
+
+%files
+%defattr(644,root,root,755)
+%{_sysconfdir}/monit/*.monitrc
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-06-12 20:19:59  qboosh
+- separated from sendmail.spec
================================================================


More information about the pld-cvs-commit mailing list