Name: perl-Net-Prometheus Version: 0.12 Release: 1%{?dist} Summary: Export monitoring metrics for prometheus License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-Prometheus/ Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Net-Prometheus-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 0:5.010 BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(HTTP::Request) BuildRequires: perl(List::Util) >= 1.29 BuildRequires: perl(Module::Build) BuildRequires: perl(Ref::Util) BuildRequires: perl(Struct::Dumb) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(URI) Requires: perl(List::Util) >= 1.33 Requires: perl(Ref::Util) Requires: perl(Struct::Dumb) Requires: perl(URI) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides the ability for a program to collect monitoring metrics and export them to the prometheus.io monitoring server. %prep %setup -q -n Net-Prometheus-%{version} %build %{__perl} Build.PL --installdirs=vendor --optimize="%{optflags}" ./Build %install rm -rf %{buildroot} ./Build install --destdir=%{buildroot} --create_packlist=0 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check ./Build test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes examples LICENSE META.json README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Net* %{_mandir}/man3/* %changelog * Fri Jan 27 2023 Vadim Raskhozhev 0.12-1 - Specfile autogenerated by cpanspec 1.78.