]> git.pld-linux.org Git - packages/perl-Mon.git/blame - perl-Mon.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Mon.git] / perl-Mon.spec
CommitLineData
8bc82eaf 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
a0c82eb5 5Summary: perl-Mon module
a66d6337 6Summary(pl.UTF-8): Moduł Perla Mon
cd720796 7Name: perl-Mon
0ec74f40 8Version: 0.11
31fa7fa8 9Release: 7
8bc82eaf 10License: GPL v2+
934649b9 11Group: Development/Languages/Perl
a56a6cc9 12Source0: http://www.cpan.org/modules/by-module/Mon/Mon-%{version}.tar.gz
f771353d 13# Source0-md5: 762a8c6f845f8f1482a696e6f95f4492
a0c82eb5 14URL: http://www.kernel.org/software/mon/
2a9fe82e 15BuildRequires: perl-devel >= 1:5.8.0
e5defb28 16BuildArch: noarch
a0c82eb5 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cd720796 18
a0c82eb5 19%description
20This is the Perl5 module for interfacing with the Mon system
21monitoring package. Currently only the client interface is
22implemented, but more things like special logging routines and
23persistent monitors are being considered.
24
4f2049df
JR
25%description -l pl.UTF-8
26To jest moduł Perla do komunikacji z systemem monitorującym Mon.
3b1a1c5a
JB
27Aktualnie zaimplementowany jest tylko interfejs klienta.
28
a0c82eb5 29%prep
3b1a1c5a 30%setup -q -n Mon-%{version}
a0c82eb5 31
32%build
ce34d3bb 33%{__perl} Makefile.PL \
cd720796 34 INSTALLDIRS=vendor
a0c82eb5 35%{__make}
36
8bc82eaf 37%{?with_tests:%{__make} test}
38
a0c82eb5 39%install
40rm -rf $RPM_BUILD_ROOT
41
e5defb28
JB
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
a0c82eb5 44
5d8adfa3 45%clean
46rm -rf $RPM_BUILD_ROOT
47
a0c82eb5 48%files
49%defattr(644,root,root,755)
474152e1 50%doc CHANGES README
ce34d3bb 51%{perl_vendorlib}/Mon
a0c82eb5 52%{_mandir}/man3/*
This page took 0.071007 seconds and 4 git commands to generate.