]> git.pld-linux.org Git - packages/perl-Nagios-Plugin.git/blobdiff - perl-Nagios-Plugin.spec
- pl, use package names where available
[packages/perl-Nagios-Plugin.git] / perl-Nagios-Plugin.spec
index 3b857df67289becf312a928ecedd66ee42d46a38..f8c7be6b422863f896f154584233a8836b6581be 100644 (file)
@@ -5,10 +5,11 @@
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Nagios
 %define        pnam    Plugin
-Summary:       Nagios::Plugin - A family of perl modules to streamline writing Nagios plugins
+Summary:       Nagios::Plugin - A family of Perl modules to streamline writing Nagios plugins
+Summary(pl.UTF-8):     Nagios::Plugin - rodzina modułów Perla ułatwiająca pisanie wtyczek Nagiosa
 Name:          perl-Nagios-Plugin
 Version:       0.23
-Release:       1
+Release:       2
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
@@ -18,12 +19,15 @@ URL:                http://search.cpan.org/dist/Nagios-Plugin/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
-BuildRequires: perl(Class::Accessor)
-BuildRequires: perl(Config::Tiny)
-BuildRequires: perl(Math::Calc::Units)
-BuildRequires: perl(Params::Validate)
+BuildRequires: perl-Class-Accessor
+BuildRequires: perl-Config-Tiny
+BuildRequires: perl-Math-Calc-Units
+BuildRequires: perl-Params-Validate
 BuildRequires: perl(Test::More) >= 0.62
 %endif
+# Not catched by `use base qw(Class::Accessor::Fast)'; construct
+Requires:      perl-Class-Accessor
+Requires:      perl-Config-Tiny
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,6 +43,18 @@ The purpose of the collection is to make it as simple as possible for
 developers to create plugins that conform the Nagios Plugin guidelines
 <http://nagiosplug.sourceforge.net/developer-guidelines.html>.
 
+%description -l pl.UTF-8
+Nagios::Plugin i związane z nim moduły Nagios::Plugin::* to rodzina
+modułów Perla ułatwiająca pisanie wtyczek Nagiosa. Główne moduły dla
+użytkownika końcowego to Nagios::Plugin, udostępniający zorientowany
+obiektowo interfejs do całej kolekcji Nagios::Plugin::*, oraz
+Nagios::Plugin::Functions, udostępniający prostszy, funkcyjny
+interfejs do przydatnego podzbioru dostępnej funkcjonalności.
+
+Celem tej kolekcji jest jak największe ułatwienie programistom
+tworzenia wtyczek zgodnych z zaleceniami dla wtyczek Nagiosa:
+<http://nagiosplug.sourceforge.net/developer-guidelines.html>.
+
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
@@ -61,6 +77,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
+%dir %{perl_vendorlib}/Nagios
 %{perl_vendorlib}/Nagios/*.pm
 %{perl_vendorlib}/Nagios/Plugin
 %{_mandir}/man3/*
This page took 0.088058 seconds and 4 git commands to generate.