2011-01-17 16:17:18 +00:00
|
|
|
#
|
2011-12-11 09:18:34 +00:00
|
|
|
# spec file for package perl-CPAN-Meta
|
2011-01-17 16:17:18 +00:00
|
|
|
#
|
2024-08-24 22:22:31 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-01-17 16:17:18 +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.
|
|
|
|
|
2024-08-24 22:22:31 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-01-17 16:17:18 +00:00
|
|
|
#
|
|
|
|
|
2012-01-09 10:34:46 +00:00
|
|
|
|
2024-08-24 22:22:31 +00:00
|
|
|
%define cpan_name CPAN-Meta
|
2011-01-17 16:17:18 +00:00
|
|
|
Name: perl-CPAN-Meta
|
2017-10-08 08:53:38 +00:00
|
|
|
Version: 2.150010
|
2011-12-11 09:18:34 +00:00
|
|
|
Release: 0
|
2024-08-24 22:22:31 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
Summary: The distribution metadata for a CPAN dist
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
|
2017-10-08 08:53:38 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:45 +02:00
|
|
|
Source100: README.md
|
2011-04-01 17:35:34 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2012-01-09 10:34:09 +00:00
|
|
|
BuildRequires: perl-macros
|
2024-08-24 22:22:31 +00:00
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
2017-10-08 08:53:38 +00:00
|
|
|
BuildRequires: perl(CPAN::Meta::YAML) >= 0.011
|
2011-01-17 16:17:18 +00:00
|
|
|
BuildRequires: perl(File::Temp) >= 0.20
|
2024-08-24 22:22:31 +00:00
|
|
|
BuildRequires: perl(JSON::PP) >= 2.27
|
2011-12-11 09:28:17 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2012-06-25 11:37:04 +00:00
|
|
|
BuildRequires: perl(version) >= 0.88
|
2024-08-24 22:22:31 +00:00
|
|
|
Requires: perl(CPAN::Meta::Requirements) >= 2.121
|
2017-10-08 08:53:38 +00:00
|
|
|
Requires: perl(CPAN::Meta::YAML) >= 0.011
|
2024-08-24 22:22:31 +00:00
|
|
|
Requires: perl(JSON::PP) >= 2.27
|
2012-06-25 11:37:04 +00:00
|
|
|
Requires: perl(version) >= 0.88
|
2011-01-17 16:17:18 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Software distributions released to the CPAN include a _META.json_ or, for
|
|
|
|
older distributions, _META.yml_, which describes the distribution, its
|
|
|
|
contents, and the requirements for building and installing the
|
|
|
|
distribution. The data structure stored in the _META.json_ file is
|
2017-10-08 08:53:38 +00:00
|
|
|
described in CPAN::Meta::Spec.
|
2011-01-17 16:17:18 +00:00
|
|
|
|
|
|
|
CPAN::Meta provides a simple class to represent this distribution metadata
|
|
|
|
(or _distmeta_), along with some helpful methods for interrogating that
|
|
|
|
data.
|
|
|
|
|
|
|
|
The documentation below is only for the methods of the CPAN::Meta object.
|
|
|
|
For information on the meaning of individual fields, consult the spec.
|
|
|
|
|
|
|
|
%prep
|
2024-08-24 22:22:31 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2011-06-05 01:58:26 +00:00
|
|
|
|
2011-01-17 16:17:18 +00:00
|
|
|
%build
|
2024-08-24 22:22:31 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2011-01-17 16:17:18 +00:00
|
|
|
|
|
|
|
%check
|
2024-08-24 22:22:31 +00:00
|
|
|
make test
|
2011-01-17 16:17:18 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2024-08-24 22:22:31 +00:00
|
|
|
%doc Changes CONTRIBUTING.mkdn README Todo
|
|
|
|
%license LICENSE
|
2011-01-17 16:17:18 +00:00
|
|
|
|
|
|
|
%changelog
|