Init package with version 1.9019
This commit is contained in:
parent
d5c352fdcb
commit
b4c119e430
BIN
Menlo-1.9019.tar.gz
Normal file
BIN
Menlo-1.9019.tar.gz
Normal file
Binary file not shown.
75
perl-Menlo.spec
Normal file
75
perl-Menlo.spec
Normal file
@ -0,0 +1,75 @@
|
||||
Name: perl-Menlo
|
||||
Version: 1.9019
|
||||
Release: 1
|
||||
Summary: A CPAN client
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/release/Menlo
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Menlo-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: sed
|
||||
# Runtime
|
||||
BuildRequires: perl(Class::Tiny) >= 1.001
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(CPAN::Meta::Requirements)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Getopt::Long) >= 2.36
|
||||
# Tests only
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: git
|
||||
Requires: perl(Class::Tiny) >= 1.001
|
||||
Requires: perl(CPAN::Common::Index) >= 0.006
|
||||
Requires: perl(CPAN::Meta) >= 2.132830
|
||||
Requires: perl(File::pushd)
|
||||
Requires: perl(HTTP::Tiny) >= 0.054
|
||||
Requires: perl(HTTP::Tinyish) >= 0.04
|
||||
Requires: perl(Pod::Man)
|
||||
Requires: perl(String::ShellQuote)
|
||||
Requires: perl(TAP::Harness::Env)
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CPAN::Common::Index\\)$
|
||||
%global __requires_exclude :%__requires_exclude|^perl\\(CPAN::Meta\\)$
|
||||
%global __requires_exclude :%__requires_exclude|^perl\\(Class::Tiny\\)$
|
||||
%global __requires_exclude :%__requires_exclude|^perl\\(HTTP::Tiny\\)$
|
||||
|
||||
%description
|
||||
Menlo is a code name for cpanm 2.0, developed with the goal to
|
||||
replace cpanm and its back-end with a more flexible, extensible and
|
||||
easier to use APIs.
|
||||
|
||||
%prep
|
||||
%setup -q -n Menlo-%{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 README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.9019-1
|
||||
- Initial package
|
||||
Loading…
x
Reference in New Issue
Block a user