From 8301eed50923a8b9a09e19f4b4700e3def3f85d9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:21:48 +0100 Subject: [PATCH] automatic rebuild by autodist [release 0.11-4mamba;Wed Nov 05 2008] --- README.md | 3 +++ perl-Mon.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 perl-Mon.spec diff --git a/README.md b/README.md index f756682..35df965 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-Mon +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. + diff --git a/perl-Mon.spec b/perl-Mon.spec new file mode 100644 index 0000000..486adfb --- /dev/null +++ b/perl-Mon.spec @@ -0,0 +1,61 @@ +%define PERL_VERSION %(eval `perl -V:version`; echo $version) +Name: perl-Mon +Version: 0.11 +Release: 4mamba +Summary: A Perl5 module for interfacing with the Mon system monitoring package +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +Source: http://www.cpan.org/authors/id/T/TR/TROCKIJ/Mon-%{version}.tar.gz +URL: http://www.cpan.org +License: GPL +BuildRoot: %{_tmppath}/perl-root +Requires: perl >= %PERL_VERSION +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-Convert-BER +BuildRequires: perl-devel >= %PERL_VERSION +## AUTOBUILDREQ-END + +%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. + +%prep +%setup -q -n Mon-%{version} + +%build +perl Makefile.PL +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%make pure_install DESTDIR=%{buildroot} + +%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch) +cat $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Mon/.packlist | \ + sed "s@$RPM_BUILD_ROOT@@g;s@.*/man/.*@&.gz@g" | \ + sort -u > .packlist +rm -f $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Mon/.packlist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Wed Nov 05 2008 Silvan Calarco 0.11-4mamba +- automatic rebuild by autodist + +* Wed Jun 25 2008 Tiziana Ferro 0.11-3mamba +- update specfile macros +- update Vendor, Distribution, mantainer + +* Tue Feb 01 2005 Silvan Calarco 0.11-2qilnx +- make a less strict perl version check (>=) + +* Fri Apr 30 2004 Silvan Calarco 0.11-1qilnx +- First build