File perl-Spreadsheet-Read.spec of Package perl-Spreadsheet-Read
#
# spec file for package perl-Spreadsheet-Read
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Spreadsheet-Read
Name: perl-Spreadsheet-Read
Version: 0.93
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Meta-Wrapper for reading spreadsheet data
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Peek)
BuildRequires: perl(File::Temp) >= 0.22
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::NoWarnings)
Requires: perl(Data::Peek)
Requires: perl(File::Temp) >= 0.22
Requires: perl(IO::Scalar)
Requires: perl(Test::More) >= 0.88
Requires: perl(Test::NoWarnings)
Recommends: perl(Data::Dumper) >= 2.183
Recommends: perl(Data::Peek) >= 0.53
Recommends: perl(Encode) >= 3.21
Recommends: perl(File::Temp) >= 0.2311
Recommends: perl(IO::Scalar)
%{perl_requires}
%description
Meta-Wrapper for reading spreadsheet data
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes CONTRIBUTING.md examples README SECURITY.md
%changelog