Name: perl-Mon Version: 0.11 Release: 3%{?dist} Summary: Mon Perl module License: GPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/Mon/ Source0: http://www.cpan.org/authors/id/T/TR/TROCKIJ/Mon-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %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 INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES COPYING COPYRIGHT monperl.prj README VERSION %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Jul 26 2009 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Jul 13 2008 Lubomir Rintel (Good Data) 0.11-1 - Specfile autogenerated by cpanspec 1.75. - Fixed License tag