Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-oracle
> nagios-plugins-oracle.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-oracle.spec of Package nagios-plugins-oracle (Revision 2)
Currently displaying revision
2
,
show latest
%define pkg_name check_oracle_health Name: nagios-plugins-oracle Version: 1.4.2.1 Release: 1 Summary: Oracle health check plugins for Nagios Group: Applications/System License: GPL URL: http://www.consol.de/opensource/nagios/check-oracle-health Source0: http://www.consol.de/fileadmin/opensource/Nagios/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Prefix: %{_prefix}/lib/nagios/plugins Provides: nagios-plugins-oracle Provides: check-oracle-health Provides: check_oracle_health PreReq: sed BuildRequires: perl-DBI perl-DBD-Oracle %description check_oracle_health is a plugin to check different paramenters of an oracle database. %description(de) check_oracle_health ist ein Plugin, mit dem unterschiedliche Parameter einer Oracle-Datenbank überprüft werden können. %prep %setup -n %{pkg_name}-%{version} %configure %build %__make %install %__make DESTDIR=%{buildroot} install cd ${RPM_BUILD_ROOT}%{_prefix}/lib/nagios/plugins for PLUGIN in check_oracle_health sed -i s@"nagios/plugins"@"%{_prefix}/lib/nagios/plugins"@g ${PLUGIN} done %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_prefix}/lib/nagios/plugins/check-oracle-health %doc AUTHORS ChangeLog README COPYING %changelog * Thu Oct 02 2008 Carsten Schoene <cs@linux-administrator.com> - initial build