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 8)
Currently displaying revision
8
,
show latest
%define pkg_name check_oracle_health Name: nagios-plugins-oracle Version: 1.5.0.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 \ --prefix=%{_prefix} \ --exec-prefix=%{_prefix} \ --libexecdir=%{_prefix}/lib/nagios/plugins \ --sysconfdir=%{_sysconfdir}/nagios \ --datadir=%{_datadir} %build %__make %install mkdir -p %{buildroot}%{_prefix}/lib/nagios/plugins %__make DESTDIR=%{buildroot} install cd ${RPM_BUILD_ROOT}%{_prefix}/lib/nagios/plugins for PLUGIN in check_oracle_health ; do 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 * Tue Oct 28 2008 Carsten Schoene <cs@linux-administrator.com> - update to version 1.5.0.1 * Wed Oct 15 2008 Carsten Schoene <cs@linux-administrator.com> - update to version 1.5 * Thu Oct 02 2008 Carsten Schoene <cs@linux-administrator.com> - initial build