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

Contents 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.3 - (show annotations) (download)
Wed Apr 2 15:03:58 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.2: +4 -0 lines
Add Id, Authority, Name

1 # $Id$
2 # Authority: mweinber
3 # Name: Michael Weinberger
4
5 Summary: Nagios plugin check_mysql_smeserver
6 %define name smeserver-nagios-plugins-mysql
7 Name: %{name}
8 %define version 1.0.2
9 %define release 0
10 Version: %{version}
11 Release: %{release}%{?dist}
12 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 Requires: smeserver-release >= 7.1.3
19 Requires: perl-Nagios-Plugin
20 AutoReq: no
21
22 %changelog
23 * Sat Nov 24 2007 Michael Weinberger <mweinber@neddix.de>
24 Version 1.0.2
25 added Response Time
26 replaced mysqladmin status call by a 'show status' query
27 * Sat Nov 17 2007 Michael Weinberger <mweinber@neddix.de>
28 requires perl-Nagios-Plugin
29 * Thu Nov 9 2007 Michael Weinberger <mweinber@neddix.de>
30 - Initial release
31
32 %description
33 This plugin checks the mysqld service on smeserver
34
35 %prep
36 %setup -q -n %{name}-%{version}
37
38 %build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
43 rm -f %{name}-%{version}-filelist
44 find $RPM_BUILD_ROOT -depth -type f -print |\
45 sed -e "s@^$RPM_BUILD_ROOT@@g" \
46 -e "s@^/usr/lib/nagios/plugins/@%attr(0550,nagios,root) &@"\
47 >> %{name}-%{version}-filelist
48 find $RPM_BUILD_ROOT -depth -type l -print |\
49 sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}-%{version}-filelist
55 %defattr(-,root,root)

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