2012-10-08 05:30:57 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Perinci-Examples
|
|
|
|
#
|
2024-03-08 22:56:01 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2012-10-08 05:30:57 +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.
|
|
|
|
|
2020-11-10 09:15:25 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-10-08 05:30:57 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-04-29 15:09:09 +00:00
|
|
|
%define cpan_name Perinci-Examples
|
2012-10-08 05:30:57 +00:00
|
|
|
Name: perl-Perinci-Examples
|
2024-07-29 13:10:42 +00:00
|
|
|
Version: 0.825.0
|
2012-10-08 05:30:57 +00:00
|
|
|
Release: 0
|
2024-07-29 13:10:42 +00:00
|
|
|
# 0.825 -> normalize -> 0.825.0
|
|
|
|
%define cpan_version 0.825
|
2020-11-10 09:15:25 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-03-26 08:19:51 +00:00
|
|
|
Summary: Various examples of Rinci metadata
|
2020-11-10 09:15:25 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-09-12 15:19:48 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-22 13:58:40 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:25 +02:00
|
|
|
Source100: README.md
|
2012-10-08 05:30:57 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2022-03-26 08:19:51 +00:00
|
|
|
BuildRequires: perl(List::Util) >= 1.54
|
2024-07-29 13:10:42 +00:00
|
|
|
BuildRequires: perl(Log::ger) >= 0.38.0
|
2021-04-29 15:09:09 +00:00
|
|
|
BuildRequires: perl(Perinci::Object) >= 0.311
|
2020-11-10 09:15:25 +00:00
|
|
|
BuildRequires: perl(Perinci::Sub::Property::arg::cmdline)
|
2024-07-29 13:10:42 +00:00
|
|
|
BuildRequires: perl(Perinci::Sub::Util) >= 0.472
|
2020-11-10 09:15:25 +00:00
|
|
|
BuildRequires: perl(Scalar::Util::Numeric)
|
2022-03-26 08:19:51 +00:00
|
|
|
Requires: perl(List::Util) >= 1.54
|
2024-07-29 13:10:42 +00:00
|
|
|
Requires: perl(Log::ger) >= 0.38.0
|
2021-04-29 15:09:09 +00:00
|
|
|
Requires: perl(Perinci::Object) >= 0.311
|
2020-11-10 09:15:25 +00:00
|
|
|
Requires: perl(Perinci::Sub::Property::arg::cmdline)
|
2024-07-29 13:10:42 +00:00
|
|
|
Requires: perl(Perinci::Sub::Util) >= 0.472
|
2020-11-10 09:15:25 +00:00
|
|
|
Requires: perl(Scalar::Util::Numeric)
|
2024-07-29 13:10:42 +00:00
|
|
|
Provides: perl(Perinci::Examples) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::ArgsAs) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::CLI) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::CSV) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::CmdLineResMeta) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::CmdLineSrc) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Coercion) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Completion) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::FilePartial) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::FileStream) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::NoMeta) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::ResultNaked) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::RiapSub) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Stream) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::SubMeta) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Table) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Tiny) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Tiny::Args) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Tiny::Result) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Tx) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::Version) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::rimetadb::ExcludedPackage) = %{version}
|
|
|
|
Provides: perl(Perinci::Examples::rimetadb::IncludedPackage) = %{version}
|
2024-03-08 22:56:01 +00:00
|
|
|
%undefine __perllib_provides
|
2012-10-08 05:30:57 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2015-04-22 13:58:40 +00:00
|
|
|
This distribution contains an odd mix of various functions, variables, and
|
2020-11-10 09:15:25 +00:00
|
|
|
other code entities, along with their Rinci metadata. Mostly used for
|
|
|
|
testing Rinci specification and the various Perinci modules.
|
2015-04-22 13:58:40 +00:00
|
|
|
|
2020-11-10 09:15:25 +00:00
|
|
|
Example scripts are put in a separate distribution (see
|
|
|
|
Perinci::Examples::Bin) to make dependencies for this distribution minimal
|
|
|
|
(e.g. not depending on Perinci::CmdLine::Any) since this example module(s)
|
|
|
|
are usually used in the tests of other modules.
|
2015-04-22 13:58:40 +00:00
|
|
|
|
|
|
|
A sample description
|
|
|
|
|
|
|
|
verbatim
|
|
|
|
line2
|
|
|
|
|
|
|
|
Another paragraph with _bold_, _italic_ text.
|
2012-10-08 05:30:57 +00:00
|
|
|
|
|
|
|
%prep
|
2023-09-12 15:19:48 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2012-10-08 05:30:57 +00:00
|
|
|
|
|
|
|
%build
|
2020-11-10 09:15:25 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-04-29 15:09:09 +00:00
|
|
|
%make_build
|
2012-10-08 05:30:57 +00:00
|
|
|
|
|
|
|
%check
|
2020-11-10 09:15:25 +00:00
|
|
|
make test
|
2012-10-08 05:30:57 +00:00
|
|
|
|
|
|
|
%install
|
2015-04-22 13:58:40 +00:00
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2012-10-08 05:30:57 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2020-11-10 09:15:25 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2012-10-08 05:30:57 +00:00
|
|
|
|
|
|
|
%changelog
|