Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > c38e938c21e69c855027e7427f9d0d19 > files > 2

perl-Nagios-Cmd-0.50.0-2.mga3.src.rpm

%define upstream_name    Nagios-Cmd
%define upstream_version 0.05

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Take care of the logistics involved in submitting a command to Nagios's command pipe
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Nagios/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::More)
BuildRequires: perl(Module::Build)
BuildArch: noarch

%description
Nagios::Cmd is a module to take care of the logistics involved in
submitting a command to Nagios's command pipe. flock(2) is used to insure
that parallel calls to this module don't corrupt each other (unlikely in
any case).

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Build.PL installdirs=vendor

./Build

%check
./Build test

%install
./Build install destdir=%{buildroot}

%files
%doc README META.yml
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.50.0-2.mga3
+ Revision: 370445
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Dec 10 2011 kharec <kharec> 0.50.0-1.mga2
+ Revision: 180118
- imported package perl-Nagios-Cmd