]> git.pld-linux.org Git - packages/perl-Mon.git/blob - perl-Mon.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Mon.git] / perl-Mon.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 Summary:        perl-Mon module
6 Summary(pl.UTF-8):      Moduł Perla Mon
7 Name:           perl-Mon
8 Version:        0.11
9 Release:        7
10 License:        GPL v2+
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
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
24
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.
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
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -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.788216 seconds and 3 git commands to generate.