SPECS: perl-Mon-Client.spec (NEW) - perl modules used by mon.spec
sls
sls at pld-linux.org
Wed Jan 3 22:12:24 CET 2007
Author: sls Date: Wed Jan 3 21:12:24 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- perl modules used by mon.spec
---- Files affected:
SPECS:
perl-Mon-Client.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Mon-Client.spec
diff -u /dev/null SPECS/perl-Mon-Client.spec:1.1
--- /dev/null Wed Jan 3 22:12:24 2007
+++ SPECS/perl-Mon-Client.spec Wed Jan 3 22:12:19 2007
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+# TODO:
+# pl description & summary
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define _rc pre2
+%define _realname mon-client
+Summary: Perl modules for interfacing with the mon package
+Name: perl-Mon-Client
+Version: 1.0.0
+Release: 0.%{_rc}.0.2
+License: GPL v2+
+Group: Development/Languages/Perl
+Source0: ftp://ftp.kernel.org/pub/software/admin/mon/devel/%{_realname}-%{version}%{_rc}.tar.bz2
+# Source0-md5: fecf57b02fd35bddcd242c5f4a303359
+URL: http://www.kernel.org/software/mon/
+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 is the Perl5 module for interfacing with the Mon system
+monitoring package. Currently only the client interface is
+implemented, but more things like special logging routines and
+persistent monitors are being considered.
+
+"mon" is a tool for monitoring the availability of services. More
+information can be found at http://www.kernel.org/software/mon/ and
+https://sourceforge.net/projects/mon/.
+
+%prep
+%setup -q -n %{_realname}-%{version}%{_rc}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Mon/.packlist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{_mandir}/man3/Mon::Client.3pm*
+%{_mandir}/man3/Mon::Config.3pm*
+%{_mandir}/man3/Mon::Protocol.3pm*
+%{_mandir}/man3/Mon::SNMP.3pm*
+%dir %{perl_vendorlib}/Mon/
+%{perl_vendorlib}/Mon/Client.pm
+%{perl_vendorlib}/Mon/Config.pm
+%{perl_vendorlib}/Mon/Protocol.pm
+%{perl_vendorlib}/Mon/SNMP.pm
+
+
+%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 2007/01/03 21:12:19 sls
+- perl modules used by mon.spec
+
================================================================
More information about the pld-cvs-commit
mailing list