147 lines
5.8 KiB
RPMSpec
147 lines
5.8 KiB
RPMSpec
#
|
|
# spec file for package perl-Data-Unixish
|
|
#
|
|
# 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 Data-Unixish
|
|
Name: perl-Data-Unixish
|
|
Version: 1.574.0
|
|
Release: 0
|
|
# 1.574 -> normalize -> 1.574.0
|
|
%define cpan_version 1.574
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Implementation for Unixish, a data transformation framework
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(File::Temp) >= 0.2310
|
|
BuildRequires: perl(File::Which)
|
|
BuildRequires: perl(IPC::Cmd) >= 0.52
|
|
BuildRequires: perl(JSON::MaybeXS)
|
|
BuildRequires: perl(List::Util) >= 1.54
|
|
BuildRequires: perl(Log::ger) >= 0.38.0
|
|
BuildRequires: perl(Module::Load)
|
|
BuildRequires: perl(Number::Format)
|
|
BuildRequires: perl(Number::Format::Metric)
|
|
BuildRequires: perl(Package::Util::Lite)
|
|
BuildRequires: perl(Sort::Sub) >= 0.120
|
|
BuildRequires: perl(String::Pad) >= 0.21.0
|
|
BuildRequires: perl(String::ShellQuote)
|
|
BuildRequires: perl(Syntax::Feature::EachOnArray)
|
|
BuildRequires: perl(Test::More) >= 0.98
|
|
BuildRequires: perl(Text::ANSI::Util) >= 0.220
|
|
BuildRequires: perl(Text::ANSI::WideUtil)
|
|
BuildRequires: perl(Text::WideChar::Util) >= 0.30.0
|
|
BuildRequires: perl(Text::sprintfn)
|
|
BuildRequires: perl(Tie::Simple)
|
|
Requires: perl(File::Which)
|
|
Requires: perl(IPC::Cmd) >= 0.52
|
|
Requires: perl(JSON::MaybeXS)
|
|
Requires: perl(List::Util) >= 1.54
|
|
Requires: perl(Log::ger) >= 0.38.0
|
|
Requires: perl(Module::Load)
|
|
Requires: perl(Number::Format)
|
|
Requires: perl(Number::Format::Metric)
|
|
Requires: perl(Package::Util::Lite)
|
|
Requires: perl(Sort::Sub) >= 0.120
|
|
Requires: perl(String::Pad) >= 0.21.0
|
|
Requires: perl(String::ShellQuote)
|
|
Requires: perl(Syntax::Feature::EachOnArray)
|
|
Requires: perl(Test::More) >= 0.98
|
|
Requires: perl(Text::ANSI::Util) >= 0.220
|
|
Requires: perl(Text::ANSI::WideUtil)
|
|
Requires: perl(Text::WideChar::Util) >= 0.30.0
|
|
Requires: perl(Text::sprintfn)
|
|
Requires: perl(Tie::Simple)
|
|
Provides: perl(Data::Unixish) = %{version}
|
|
Provides: perl(Data::Unixish::Apply) = %{version}
|
|
Provides: perl(Data::Unixish::Util) = %{version}
|
|
Provides: perl(Data::Unixish::avg) = %{version}
|
|
Provides: perl(Data::Unixish::bool) = %{version}
|
|
Provides: perl(Data::Unixish::cat) = %{version}
|
|
Provides: perl(Data::Unixish::centerpad) = %{version}
|
|
Provides: perl(Data::Unixish::chain) = %{version}
|
|
Provides: perl(Data::Unixish::cond) = %{version}
|
|
Provides: perl(Data::Unixish::count) = %{version}
|
|
Provides: perl(Data::Unixish::date) = %{version}
|
|
Provides: perl(Data::Unixish::grep) = %{version}
|
|
Provides: perl(Data::Unixish::head) = %{version}
|
|
Provides: perl(Data::Unixish::indent) = %{version}
|
|
Provides: perl(Data::Unixish::join) = %{version}
|
|
Provides: perl(Data::Unixish::lc) = %{version}
|
|
Provides: perl(Data::Unixish::lcfirst) = %{version}
|
|
Provides: perl(Data::Unixish::lins) = %{version}
|
|
Provides: perl(Data::Unixish::linum) = %{version}
|
|
Provides: perl(Data::Unixish::lpad) = %{version}
|
|
Provides: perl(Data::Unixish::ltrim) = %{version}
|
|
Provides: perl(Data::Unixish::map) = %{version}
|
|
Provides: perl(Data::Unixish::num) = %{version}
|
|
Provides: perl(Data::Unixish::pick) = %{version}
|
|
Provides: perl(Data::Unixish::rand) = %{version}
|
|
Provides: perl(Data::Unixish::randstr) = %{version}
|
|
Provides: perl(Data::Unixish::rev) = %{version}
|
|
Provides: perl(Data::Unixish::rins) = %{version}
|
|
Provides: perl(Data::Unixish::rpad) = %{version}
|
|
Provides: perl(Data::Unixish::rtrim) = %{version}
|
|
Provides: perl(Data::Unixish::shuf) = %{version}
|
|
Provides: perl(Data::Unixish::sort) = %{version}
|
|
Provides: perl(Data::Unixish::splice) = %{version}
|
|
Provides: perl(Data::Unixish::split) = %{version}
|
|
Provides: perl(Data::Unixish::sprintf) = %{version}
|
|
Provides: perl(Data::Unixish::sprintfn) = %{version}
|
|
Provides: perl(Data::Unixish::subsort) = %{version}
|
|
Provides: perl(Data::Unixish::sum) = %{version}
|
|
Provides: perl(Data::Unixish::tail) = %{version}
|
|
Provides: perl(Data::Unixish::trim) = %{version}
|
|
Provides: perl(Data::Unixish::trunc) = %{version}
|
|
Provides: perl(Data::Unixish::uc) = %{version}
|
|
Provides: perl(Data::Unixish::ucfirst) = %{version}
|
|
Provides: perl(Data::Unixish::wc) = %{version}
|
|
Provides: perl(Data::Unixish::wrap) = %{version}
|
|
Provides: perl(Data::Unixish::yes) = %{version}
|
|
Provides: perl(Test::Data::Unixish) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This distribution implements Unixish, a data transformation framework
|
|
inspired by Unix toolbox philosophy.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
%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 README
|
|
%license LICENSE
|
|
|
|
%changelog
|