diff --git a/WWW-Splunk-2.08.tar.gz b/WWW-Splunk-2.08.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..17d2cdf10cf82686b9834f4ac6cd21f3941331a0 Binary files /dev/null and b/WWW-Splunk-2.08.tar.gz differ diff --git a/perl-WWW-Splunk.spec b/perl-WWW-Splunk.spec new file mode 100644 index 0000000000000000000000000000000000000000..8a976ebcc73949cadeeae87ea35a42e6780f39e2 --- /dev/null +++ b/perl-WWW-Splunk.spec @@ -0,0 +1,52 @@ +Name: perl-WWW-Splunk +Version: 2.08 +Release: 1 +Summary: Client for Splunk log search engine +License: GPL+ or Artistic +URL: https://metacpan.org/release/WWW-Splunk +Source0: https://cpan.metacpan.org/authors/id/S/SK/SKIM/WWW-Splunk-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Date::Manip) +BuildRequires: perl(HTTP::Request::Common) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(XML::LibXML) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::NoWarnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +WWW::Splunk is a client for Splunk log search engine. It consists of a utility +with command-line interface, sc, and a supporting library. It lets you query +the archived logs or conduct a real-time search. + +%prep +%setup -q -n WWW-Splunk-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* +%{_mandir}/man1/* +%{_bindir}/sc + +%changelog +* 四 6月 17 2021 huanghaitao - 2.08-1 +- package init