2015-04-17 11:52:13 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Data-Unixish
|
|
|
|
#
|
2019-04-03 07:03:50 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-04-17 11:52:13 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-04-03 07:03:50 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-17 11:52:13 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Data-Unixish
|
2019-12-13 20:08:17 +00:00
|
|
|
Version: 1.572
|
2015-04-17 11:52:13 +00:00
|
|
|
Release: 0
|
|
|
|
%define cpan_name Data-Unixish
|
|
|
|
Summary: Implementation for Unixish, a data transformation framework
|
2019-04-03 07:03:50 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2015-04-17 11:52:13 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2019-04-03 07:03:50 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
2017-07-11 09:48:25 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
|
2015-09-04 18:38:06 +00:00
|
|
|
Source1: cpanspec.yml
|
2015-04-17 11:52:13 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(File::Which)
|
|
|
|
BuildRequires: perl(IPC::Cmd) >= 0.52
|
2016-06-24 04:55:19 +00:00
|
|
|
BuildRequires: perl(JSON::MaybeXS)
|
2019-04-03 07:03:50 +00:00
|
|
|
BuildRequires: perl(List::Util) >= 1.45
|
2019-12-13 20:08:17 +00:00
|
|
|
BuildRequires: perl(Log::ger) >= 0.027
|
2016-06-24 04:55:19 +00:00
|
|
|
BuildRequires: perl(Module::Load)
|
2015-04-17 11:52:13 +00:00
|
|
|
BuildRequires: perl(Number::Format)
|
|
|
|
BuildRequires: perl(Number::Format::Metric)
|
2019-04-03 07:03:50 +00:00
|
|
|
BuildRequires: perl(Package::Util::Lite)
|
2019-12-13 20:08:17 +00:00
|
|
|
BuildRequires: perl(Sort::Sub) >= 0.111
|
2015-04-17 11:52:13 +00:00
|
|
|
BuildRequires: perl(String::Pad)
|
|
|
|
BuildRequires: perl(String::ShellQuote)
|
|
|
|
BuildRequires: perl(Syntax::Feature::EachOnArray)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.98
|
2016-06-24 04:55:19 +00:00
|
|
|
BuildRequires: perl(Text::ANSI::Util) >= 0.22
|
|
|
|
BuildRequires: perl(Text::ANSI::WideUtil)
|
2015-04-17 11:52:13 +00:00
|
|
|
BuildRequires: perl(Text::WideChar::Util) >= 0.03
|
|
|
|
BuildRequires: perl(Text::sprintfn)
|
|
|
|
BuildRequires: perl(Tie::Simple)
|
2016-06-24 04:55:19 +00:00
|
|
|
Requires: perl(File::Which)
|
2015-04-17 11:52:13 +00:00
|
|
|
Requires: perl(IPC::Cmd) >= 0.52
|
2016-06-24 04:55:19 +00:00
|
|
|
Requires: perl(JSON::MaybeXS)
|
2019-04-03 07:03:50 +00:00
|
|
|
Requires: perl(List::Util) >= 1.45
|
2019-12-13 20:08:17 +00:00
|
|
|
Requires: perl(Log::ger) >= 0.027
|
2016-06-24 04:55:19 +00:00
|
|
|
Requires: perl(Module::Load)
|
2015-04-17 11:52:13 +00:00
|
|
|
Requires: perl(Number::Format)
|
|
|
|
Requires: perl(Number::Format::Metric)
|
2019-04-03 07:03:50 +00:00
|
|
|
Requires: perl(Package::Util::Lite)
|
2019-12-13 20:08:17 +00:00
|
|
|
Requires: perl(Sort::Sub) >= 0.111
|
2015-04-17 11:52:13 +00:00
|
|
|
Requires: perl(String::Pad)
|
2016-06-24 04:55:19 +00:00
|
|
|
Requires: perl(String::ShellQuote)
|
2015-04-17 11:52:13 +00:00
|
|
|
Requires: perl(Syntax::Feature::EachOnArray)
|
2016-06-24 04:55:19 +00:00
|
|
|
Requires: perl(Test::More) >= 0.98
|
|
|
|
Requires: perl(Text::ANSI::Util) >= 0.22
|
|
|
|
Requires: perl(Text::ANSI::WideUtil)
|
2015-04-17 11:52:13 +00:00
|
|
|
Requires: perl(Text::WideChar::Util) >= 0.03
|
|
|
|
Requires: perl(Text::sprintfn)
|
|
|
|
Requires: perl(Tie::Simple)
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2016-06-24 04:55:19 +00:00
|
|
|
This distribution implements Unixish, a data transformation framework
|
|
|
|
inspired by Unix toolbox philosophy.
|
2015-04-17 11:52:13 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2019-04-03 07:03:50 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2015-04-17 11:52:13 +00:00
|
|
|
|
|
|
|
%check
|
2019-04-03 07:03:50 +00:00
|
|
|
make test
|
2015-04-17 11:52:13 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2017-07-11 09:48:25 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2015-04-17 11:52:13 +00:00
|
|
|
|
|
|
|
%changelog
|