SPECS: perl-Nagios-Object.spec (NEW) - new

qboosh qboosh at pld-linux.org
Thu Apr 27 14:06:56 CEST 2006


Author: qboosh                       Date: Thu Apr 27 12:06:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Nagios-Object.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Nagios-Object.spec
diff -u /dev/null SPECS/perl-Nagios-Object.spec:1.1
--- /dev/null	Thu Apr 27 14:06:56 2006
+++ SPECS/perl-Nagios-Object.spec	Thu Apr 27 14:06:51 2006
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# 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/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/27 12:06:51  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list