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