1 |
Name: perl-Zabbix-Check |
2 |
Version: 1.12 |
3 |
Release: 1 |
4 |
Summary: Lookup the username on the remote end of a TCP/IP connection |
5 |
License: Artistic |
6 |
Group: Development/Libraries |
7 |
URL: http://search.cpan.org/dist/Zabbix-Check/ |
8 |
Source0: https://cpan.metacpan.org/authors/id/O/OR/ORKUN/Zabbix-Check-1.12.tar.gz |
9 |
|
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
11 |
BuildArch: noarch |
12 |
BuildRequires: perl(Carp) |
13 |
BuildRequires: perl(Config) |
14 |
BuildRequires: perl(Exporter) |
15 |
BuildRequires: perl(ExtUtils::MakeMaker) |
16 |
BuildRequires: perl(Socket) |
17 |
BuildRequires: perl(Test::More) |
18 |
Requires: perl(Carp) |
19 |
Requires: perl(Config) |
20 |
Requires: perl(Exporter) |
21 |
Requires: perl(Socket) |
22 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
23 |
Requires: perl-Lazy-Utils |
24 |
|
25 |
%description |
26 |
System and service checks for Zabbix |
27 |
|
28 |
%prep |
29 |
%setup -q -n Zabbix-Check-%{version} |
30 |
|
31 |
%build |
32 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
33 |
make %{?_smp_mflags} |
34 |
|
35 |
%install |
36 |
rm -rf $RPM_BUILD_ROOT |
37 |
|
38 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
39 |
|
40 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
41 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
42 |
|
43 |
%{_fixperms} $RPM_BUILD_ROOT/* |
44 |
|
45 |
#%check |
46 |
#make test |
47 |
|
48 |
%clean |
49 |
rm -rf $RPM_BUILD_ROOT |
50 |
|
51 |
%files |
52 |
%defattr(-,root,root,-) |
53 |
%doc Changes README.md |
54 |
%{perl_vendorlib}/* |
55 |
%{_mandir}/man3/* |
56 |
|
57 |
%changelog |
58 |
* Sat Apr 24 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.12-1-sme |
59 |
First import to contribs [SME: 11580] |
60 |
|