/[smecontribs]/rpms/perl-Nagios-Plugin/contribs7/perl-Nagios-Plugin.spec
ViewVC logotype

Contents of /rpms/perl-Nagios-Plugin/contribs7/perl-Nagios-Plugin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 27 17:41:32 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package perl-Nagios-Plugin-0.17-1.rf.src.rpm

1
2 %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
3 %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
4
5 %define real_name Nagios-Plugin
6
7 Summary: Perl module with common stuff for nagios plugins
8 Name: perl-Nagios-Plugin
9 Version: 0.17
10 Release: 1.rf
11 License: Artistic/GPL
12 Group: Applications/CPAN
13 URL: http://search.cpan.org/dist/Nagios-Plugin/
14
15 Packager: Christoph Maser <cmr@financial.com>
16 Vendor: RPMForge http://www.rpmforge.net/
17
18 Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAVINC/Nagios-Plugin-%{version}.tar.gz
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
20
21 BuildArch: noarch
22 BuildRequires: perl
23
24 Requires: perl-Class-Accessor
25
26 %description
27 Nagios::Plugin and its associated Nagios::Plugin::* modules are a
28 family of perl modules to streamline writing Nagios plugins. The main
29 end user modules are Nagios::Plugin, providing an object-oriented
30 interface to the entire Nagios::Plugin::* collection, and
31 Nagios::Plugin::Functions, providing a simpler functional interface to
32 a useful subset of the available functionality.
33
34 The purpose of the collection is to make it as simple as possible for
35 developers to create plugins that conform the Nagios Plugin guidelines
36 (http://nagiosplug.sourceforge.net/developer-guidelines.html).
37
38
39 %prep
40 %setup -n %{real_name}-%{version}
41
42 %build
43 %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
44 %{__make} %{?_smp_mflags}
45
46 %install
47 %{__rm} -rf %{buildroot}
48 %makeinstall
49 %{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch}
50
51 %clean
52 %{__rm} -rf %{buildroot}
53
54 %files
55 %defattr(-, root, root, 0755)
56 %doc Changes
57 %doc %{_mandir}/man3/*
58 %{perl_vendorlib}/Nagios/Plugin.pm
59 %{perl_vendorlib}/Nagios/Plugin/ExitResult.pm
60 %{perl_vendorlib}/Nagios/Plugin/Functions.pm
61 %{perl_vendorlib}/Nagios/Plugin/Getopt.pm
62 %{perl_vendorlib}/Nagios/Plugin/Performance.pm
63 %{perl_vendorlib}/Nagios/Plugin/Range.pm
64 %{perl_vendorlib}/Nagios/Plugin/Threshold.pm
65 %{perl_vendorlib}/Nagios/Plugin/Config.pm
66
67
68 %changelog
69 * Fri Feb 23 2007 Christoph Maser <cmr@financial.com> - 0.15
70 - Initial package.

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