/[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.1 - (hide annotations) (download)
Wed Feb 27 17:53:47 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
Remove version from spec

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     Release: %{release}
8     License: GPL
9     Group: Applications/System
10     URL: http://www.my-plugin.de/wiki/doku.php
11     Source: %{name}-%{version}.tar.gz
12     Packager: Michael Weinberger <mweinber@neddix.de>
13     BuildRoot: /var/tmp/%{name}-buildroot/
14     BuildArch: noarch
15     Requires: smeserver-release >= 7.1.3
16     Requires: perl-Nagios-Plugin
17     AutoReq: no
18    
19     %changelog
20     * Sat Nov 24 2007 Michael Weinberger <mweinber@neddix.de>
21     Version 1.0.2
22     added Response Time
23     replaced mysqladmin status call by a 'show status' query
24     * Sat Nov 17 2007 Michael Weinberger <mweinber@neddix.de>
25     requires perl-Nagios-Plugin
26     * Thu Nov 9 2007 Michael Weinberger <mweinber@neddix.de>
27     - Initial release
28    
29     %description
30     This plugin checks the mysqld service on smeserver
31     %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     %pre
51    
52     %post
53    
54     %preun
55    
56     %postun
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