/[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.2 - (hide annotations) (download)
Wed Feb 27 18:23:29 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-nagios-plugins-mysql-1_0_2-0_el4_sme
Changes since 1.1: +2 -10 lines
Fix specfile

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

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