%define upstream_name Mon %define upstream_version 0.11 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl-Mon module License: GPL Group: Development/Perl Url: http://www.kernel.org/software/mon/ Source0: ftp://ftp.kernel.org/pub/software/admin/mon/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch %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 %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES COPYRIGHT COPYING README VERSION %{perl_vendorlib}/Mon %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.110.0-2.mga3 + Revision: 370041 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.110.0-1.mga1 + Revision: 26635 - mageia rebuild - imported package perl-Mon