!1 init package
From: @leeffo Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
81ca68ffb9
BIN
CPAN-Common-Index-0.010.tar.gz
Normal file
BIN
CPAN-Common-Index-0.010.tar.gz
Normal file
Binary file not shown.
74
perl-CPAN-Common-Index.spec
Normal file
74
perl-CPAN-Common-Index.spec
Normal file
@ -0,0 +1,74 @@
|
||||
Name: perl-CPAN-Common-Index
|
||||
Version: 0.010
|
||||
Release: 1
|
||||
Summary: Common library for searching CPAN modules, authors and distributions
|
||||
License: Apache-2.0
|
||||
URL: https://metacpan.org/release/CPAN-Common-Index
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Common-Index-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Class::Tiny)
|
||||
BuildRequires: perl(CPAN::DistnameInfo)
|
||||
BuildRequires: perl(CPAN::Meta::YAML)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Fetch)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::stat)
|
||||
BuildRequires: perl(File::Temp) >= 0.19
|
||||
BuildRequires: perl(HTTP::Tiny)
|
||||
BuildRequires: perl(Module::Load)
|
||||
BuildRequires: perl(parent)
|
||||
BuildRequires: perl(Search::Dict) >= 1.07
|
||||
BuildRequires: perl(Tie::Handle::SkipHeader)
|
||||
BuildRequires: perl(URI)
|
||||
# Optional run-time:
|
||||
BuildRequires: perl(IO::Uncompress::Gunzip)
|
||||
# Tests only
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::FailWarnings)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
Recommends: perl(IO::Uncompress::Gunzip)
|
||||
|
||||
%description
|
||||
This module provides a common library for working with a variety of CPAN
|
||||
index services. It is intentionally minimalist, trying to use as few non-
|
||||
core modules as possible.
|
||||
|
||||
%prep
|
||||
%setup -q -n CPAN-Common-Index-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes CONTRIBUTING.mkdn README Todo examples
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 12 2023 leeffo <liweiganga@uniontech.com> - 0.010-1
|
||||
- init package
|
||||
4
perl-CPAN-Common-Index.yaml
Normal file
4
perl-CPAN-Common-Index.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: metacpan
|
||||
src_repo: CPAN-Common-Index
|
||||
tag_prefix: ^v
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user