]> git.pld-linux.org Git - packages/perl-Nagios-Object.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 27 Apr 2006 12:06:51 +0000 (12:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Nagios-Object.spec -> 1.1

perl-Nagios-Object.spec [new file with mode: 0644]

diff --git a/perl-Nagios-Object.spec b/perl-Nagios-Object.spec
new file mode 100644 (file)
index 0000000..54b6a39
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Nagios
+%define                pnam    Object
+Summary:       Nagios::Object - Perl objects to represent Nagios objects
+Summary(pl):   Nagios::Object - obiekty Perla reprezentuj±ce obiekty Nagiosa
+Name:          perl-Nagios-Object
+Version:       0.08
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/T/TO/TOBEYA/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 59cf6e6286abcd26674b4da092e4759b
+URL:           http://search.cpan.org/dist/Nagios-Object/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module contains the code for creating Perl objects to represent
+any of the Nagios objects. All of the Perl classes are auto-generated
+at compile-time, so it's pretty trivial to add new attributes or even
+entire objects.
+
+%description -l pl
+Ten modu³ zawiera kod do tworzenia obiektów Perla reprezentuj±cych
+dowolne obiekty Nagiosa. Wszystkie klasy Perla s± generowane
+automatycznie w czasie kompilacji, wiêc ³atwo dodawaæ nowe atrybuty
+czy nawet ca³e obiekty.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+       installdirs=vendor \
+       destdir=$RPM_BUILD_ROOT
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%{perl_vendorlib}/Nagios
+%{_mandir}/man3/*
This page took 0.104461 seconds and 4 git commands to generate.