]>
Commit | Line | Data |
---|---|---|
8bc82eaf | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
a0c82eb5 | 5 | Summary: perl-Mon module |
a66d6337 | 6 | Summary(pl.UTF-8): Moduł Perla Mon |
cd720796 | 7 | Name: perl-Mon |
0ec74f40 | 8 | Version: 0.11 |
31fa7fa8 | 9 | Release: 7 |
8bc82eaf | 10 | License: GPL v2+ |
934649b9 | 11 | Group: Development/Languages/Perl |
a56a6cc9 | 12 | Source0: http://www.cpan.org/modules/by-module/Mon/Mon-%{version}.tar.gz |
f771353d | 13 | # Source0-md5: 762a8c6f845f8f1482a696e6f95f4492 |
a0c82eb5 | 14 | URL: http://www.kernel.org/software/mon/ |
2a9fe82e | 15 | BuildRequires: perl-devel >= 1:5.8.0 |
e5defb28 | 16 | BuildArch: noarch |
a0c82eb5 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cd720796 | 18 | |
a0c82eb5 | 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 | ||
4f2049df JR |
25 | %description -l pl.UTF-8 |
26 | To jest moduł Perla do komunikacji z systemem monitorującym Mon. | |
3b1a1c5a JB |
27 | Aktualnie 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 |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
e5defb28 JB |
42 | %{__make} install \ |
43 | DESTDIR=$RPM_BUILD_ROOT | |
a0c82eb5 | 44 | |
5d8adfa3 | 45 | %clean |
46 | rm -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/* |