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

qboosh qboosh at pld-linux.org
Tue Nov 21 13:24:07 CET 2006


Author: qboosh                       Date: Tue Nov 21 12:24:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated from mysql.spec

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

---- Diffs:

================================================================
Index: SPECS/monit-rc-mysql.spec
diff -u /dev/null SPECS/monit-rc-mysql.spec:1.1
--- /dev/null	Tue Nov 21 13:24:07 2006
+++ SPECS/monit-rc-mysql.spec	Tue Nov 21 13:24:01 2006
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+Summary:	monitrc file for monitoring MySQL database server
+Summary(pl):	Plik monitrc do monitorowania serwera baz danych MySQL
+Name:		monit-rc-mysql
+Version:	1.3
+Release:	1
+License:	GPL
+Group:		Applications/System
+Source0:	mysql.monitrc
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires(post,postun):	monit
+Requires:	monit
+Requires:	mysql >= 5.0.27-2
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+monitrc file for monitoring MySQL database server.
+
+%description -l pl
+Plik monitrc do monitorowania serwera baz danych MySQL.
+
+%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  2006/11/21 12:24:01  qboosh
+- separated from mysql.spec
================================================================


More information about the pld-cvs-commit mailing list