]> git.pld-linux.org Git - packages/perl-Mon.git/blame_incremental - perl-Mon.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Mon.git] / perl-Mon.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5Summary: perl-Mon module
6Summary(pl.UTF-8): Moduł Perla Mon
7Name: perl-Mon
8Version: 0.11
9Release: 7
10License: GPL v2+
11Group: Development/Languages/Perl
12Source0: http://www.cpan.org/modules/by-module/Mon/Mon-%{version}.tar.gz
13# Source0-md5: 762a8c6f845f8f1482a696e6f95f4492
14URL: http://www.kernel.org/software/mon/
15BuildRequires: perl-devel >= 1:5.8.0
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
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
25%description -l pl.UTF-8
26To jest moduł Perla do komunikacji z systemem monitorującym Mon.
27Aktualnie zaimplementowany jest tylko interfejs klienta.
28
29%prep
30%setup -q -n Mon-%{version}
31
32%build
33%{__perl} Makefile.PL \
34 INSTALLDIRS=vendor
35%{__make}
36
37%{?with_tests:%{__make} test}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc CHANGES README
51%{perl_vendorlib}/Mon
52%{_mandir}/man3/*
This page took 0.081221 seconds and 4 git commands to generate.