!2 Init package with version 0.0801
From: @desert-sailor Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
62802b55fc
BIN
File-Read-0.0801.tar.gz
Normal file
BIN
File-Read-0.0801.tar.gz
Normal file
Binary file not shown.
56
perl-File-Read.spec
Normal file
56
perl-File-Read.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
Name: perl-File-Read
|
||||||
|
Version: 0.0801
|
||||||
|
Release: 1
|
||||||
|
Summary: Unique interface for reading one or more files
|
||||||
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
|
URL: https://metacpan.org/release/File-Read
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/S/SA/SAPER/File-Read-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
# Build
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
# Runtime
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Errno)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(File::Slurp)
|
||||||
|
# Tests only
|
||||||
|
BuildRequires: perl(Cwd)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
# Optional tests only
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(Test::Distribution)
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
|
BuildRequires: perl(Test::Portability::Files)
|
||||||
|
BuildRequires: perl(Text::Unidecode)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module mainly proposes functions for reading one or more files, with
|
||||||
|
different options.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n File-Read-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README eg
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Feb 20 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.0801-1
|
||||||
|
- Initial package
|
||||||
Loading…
x
Reference in New Issue
Block a user