/[smecontribs]/rpms/smeserver-nagios-plugins-mysql/contribs7/smeserver-nagios-plugins-mysql.spec
ViewVC logotype

Annotation of /rpms/smeserver-nagios-plugins-mysql/contribs7/smeserver-nagios-plugins-mysql.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (hide annotations) (download)
Mon Dec 6 20:56:48 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-nagios-plugins-mysql-2_0_0-1_el4_sme, HEAD
Changes since 1.5: +9 -5 lines
* Tue Nov 18 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
  added performance data output

1 slords 1.6 # $Id: smeserver-nagios-plugins-mysql.spec,v 1.5 2008/11/25 16:20:27 slords Exp $
2 slords 1.3 # Authority: mweinber
3     # Name: Michael Weinberger
4    
5 slords 1.1 Summary: Nagios plugin check_mysql_smeserver
6     %define name smeserver-nagios-plugins-mysql
7     Name: %{name}
8 slords 1.6 %define version 2.0.0
9     %define release 1
10 slords 1.1 Version: %{version}
11 slords 1.2 Release: %{release}%{?dist}
12 slords 1.1 License: GPL
13     Group: Applications/System
14     URL: http://www.my-plugin.de/wiki/doku.php
15     Source: %{name}-%{version}.tar.gz
16     BuildRoot: /var/tmp/%{name}-buildroot/
17     BuildArch: noarch
18 slords 1.6 Requires: smeserver-release >= 7.3
19 slords 1.1 Requires: perl-Nagios-Plugin
20 slords 1.6 BuildRequires: e-smith-devtools
21 slords 1.1 AutoReq: no
22    
23     %changelog
24 slords 1.6 * Tue Nov 18 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
25     added performance data output
26    
27 slords 1.1 * Sat Nov 24 2007 Michael Weinberger <mweinber@neddix.de>
28     Version 1.0.2
29     added Response Time
30     replaced mysqladmin status call by a 'show status' query
31     * Sat Nov 17 2007 Michael Weinberger <mweinber@neddix.de>
32     requires perl-Nagios-Plugin
33     * Thu Nov 9 2007 Michael Weinberger <mweinber@neddix.de>
34     - Initial release
35    
36     %description
37     This plugin checks the mysqld service on smeserver
38 slords 1.2
39 slords 1.1 %prep
40 slords 1.6 %setup
41 slords 1.1
42     %build
43    
44     %install
45     rm -rf $RPM_BUILD_ROOT
46     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
47     rm -f %{name}-%{version}-filelist
48     find $RPM_BUILD_ROOT -depth -type f -print |\
49     sed -e "s@^$RPM_BUILD_ROOT@@g" \
50     -e "s@^/usr/lib/nagios/plugins/@%attr(0550,nagios,root) &@"\
51     >> %{name}-%{version}-filelist
52     find $RPM_BUILD_ROOT -depth -type l -print |\
53     sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
54    
55     %clean
56     rm -rf $RPM_BUILD_ROOT
57    
58     %files -f %{name}-%{version}-filelist
59     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed