3 %bcond_without tests # do not perform "make test"
5 Summary: perl-Mon module
6 Summary(pl.UTF-8): Moduł Perla Mon
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/Mon/Mon-%{version}.tar.gz
13 # Source0-md5: 762a8c6f845f8f1482a696e6f95f4492
14 URL: http://www.kernel.org/software/mon/
15 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This is the Perl5 module for interfacing with the Mon system
21 monitoring package. Currently only the client interface is
22 implemented, but more things like special logging routines and
23 persistent monitors are being considered.
25 %description -l pl.UTF-8
26 To jest moduł Perla do komunikacji z systemem monitorującym Mon.
27 Aktualnie zaimplementowany jest tylko interfejs klienta.
30 %setup -q -n Mon-%{version}
33 %{__perl} Makefile.PL \
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)