Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-mysql-health
> nagios-plugins-mysql-health.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-mysql-health.spec of Package nagios-plugins-mysql-health
%define pkg_name check_mysql_health Name: nagios-plugins-mysql-health Version: 2.2.2 Release: 1 Summary: MySQL health check plugins for Nagios Group: Applications/System License: GPL URL: http://www.consol.de/opensource/nagios/check-mysql-health Source0: http://www.consol.de/fileadmin/opensource/Nagios/%{pkg_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Prefix: %{_prefix}/lib/nagios/plugins Provides: check-mysql-health Provides: check_mysql_health PreReq: sed BuildRequires: perl-DBI perl-DBD-mysql %description check_mysql_health is a plugin to check different paramenters of an mysql database. %description(de) check_mysql_health ist ein Plugin, mit dem unterschiedliche Parameter einer MySQL-Datenbank überprüft werden können. %prep %setup -n %{pkg_name}-%{version} ./configure \ --prefix=%{_prefix} \ --exec-prefix=%{_prefix} \ --libexecdir=%{_prefix}/lib/nagios/plugins \ --sysconfdir=%{_sysconfdir}/nagios \ --datadir=%{_datadir} %build %__make %install mkdir -p %{buildroot}%{_prefix}/lib/nagios/plugins %__make DESTDIR=%{buildroot} install chmod -x AUTHORS ChangeLog README COPYING cd ${RPM_BUILD_ROOT}%{_prefix}/lib/nagios/plugins for PLUGIN in check_mysql_health ; do sed -i s@"nagios/plugins"@"%{_prefix}/lib/nagios/plugins"@g ${PLUGIN} done %clean rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{_prefix}/lib/nagios %dir %{_prefix}/lib/nagios/plugins %{_prefix}/lib/nagios/plugins/check_mysql_health %doc AUTHORS ChangeLog README COPYING %changelog * Thu Apr 14 2011 Carsten Schoene <cs@linux-administrator.com> - 2.1.5.1-1 - update to release 2.1.5.1 * Tue Dec 21 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.5-1 - update to release 2.1.5 * Sat Oct 02 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.3-1 - update to release 2.1.3 * Mon Jun 14 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.2-1 - update to release 2.1.2 * Sat Oct 10 2009 Carsten Schoene <cs@linux-administrator.com> - 2.1-1 - update to release 2.1 * Sun May 17 2009 Carsten Schoene <cs@linux-administrator.com> - 2.0.4-1 - initial version 2.0.4