2012-07-14 23:51:40 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Module-Metadata
|
|
|
|
#
|
2023-05-03 15:20:06 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-07-14 23:51:40 +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-19 09:17:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-07-14 23:51:40 +00:00
|
|
|
#
|
|
|
|
|
2014-01-17 21:09:21 +00:00
|
|
|
|
2023-05-03 15:20:06 +00:00
|
|
|
%define cpan_name Module-Metadata
|
2012-07-14 23:51:40 +00:00
|
|
|
Name: perl-Module-Metadata
|
2023-05-03 15:20:06 +00:00
|
|
|
Version: 1.000038
|
2014-01-17 21:09:21 +00:00
|
|
|
Release: 0
|
2019-04-19 09:17:26 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2023-05-03 15:20:06 +00:00
|
|
|
Summary: Gather package and POD information from perl module files
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-04-19 09:17:26 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
2016-08-01 14:58:07 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:15:34 +02:00
|
|
|
Source100: README.md
|
2012-07-14 23:51:40 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2019-04-19 09:17:26 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2012-07-14 23:51:40 +00:00
|
|
|
BuildRequires: perl(version) >= 0.87
|
|
|
|
Requires: perl(version) >= 0.87
|
2015-02-08 21:38:40 +00:00
|
|
|
%{perl_requires}
|
2012-07-14 23:51:40 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module provides a standard way to gather metadata about a .pm file
|
2015-02-08 21:38:40 +00:00
|
|
|
through (mostly) static analysis and (some) code execution. When
|
|
|
|
determining the version of a module, the '$VERSION' assignment is 'eval'ed,
|
|
|
|
as is traditional in the CPAN toolchain.
|
2012-07-14 23:51:40 +00:00
|
|
|
|
|
|
|
%prep
|
2023-05-03 15:20:06 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2012-07-14 23:51:40 +00:00
|
|
|
|
|
|
|
%build
|
2019-04-19 09:17:26 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2023-05-03 15:20:06 +00:00
|
|
|
%make_build
|
2012-07-14 23:51:40 +00:00
|
|
|
|
|
|
|
%check
|
2019-04-19 09:17:26 +00:00
|
|
|
make test
|
2012-07-14 23:51:40 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2019-04-19 09:17:26 +00:00
|
|
|
%doc Changes CONTRIBUTING README
|
|
|
|
%license LICENCE
|
2012-07-14 23:51:40 +00:00
|
|
|
|
|
|
|
%changelog
|