90 lines
3.0 KiB
RPMSpec
90 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package perl-Acme-CPANAuthors
|
|
#
|
|
# Copyright (c) 2024 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 Acme-CPANAuthors
|
|
Name: perl-Acme-CPANAuthors
|
|
Version: 0.270.0
|
|
Release: 0
|
|
# 0.27 -> normalize -> 0.270.0
|
|
%define cpan_version 0.27
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: We are CPAN authors
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(CPAN::DistnameInfo)
|
|
BuildRequires: perl(Class::Accessor::Fast)
|
|
BuildRequires: perl(ExtUtils::MakeMaker::CPANfile) >= 0.09
|
|
BuildRequires: perl(HTTP::Tiny)
|
|
BuildRequires: perl(IO::Uncompress::Gunzip) >= 2.008
|
|
BuildRequires: perl(JSON::PP)
|
|
BuildRequires: perl(Module::Find)
|
|
BuildRequires: perl(Test::Deep)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::UseAllModules) >= 0.15
|
|
BuildRequires: perl(Try::Tiny)
|
|
BuildRequires: perl(version) >= 0.74
|
|
Requires: perl(CPAN::DistnameInfo)
|
|
Requires: perl(Class::Accessor::Fast)
|
|
Requires: perl(HTTP::Tiny)
|
|
Requires: perl(IO::Uncompress::Gunzip) >= 2.008
|
|
Requires: perl(JSON::PP)
|
|
Requires: perl(Module::Find)
|
|
Requires: perl(Try::Tiny)
|
|
Requires: perl(version) >= 0.74
|
|
Provides: perl(Acme::CPANAuthors) = %{version}
|
|
Provides: perl(Acme::CPANAuthors::Factory)
|
|
Provides: perl(Acme::CPANAuthors::Register)
|
|
Provides: perl(Acme::CPANAuthors::Utils) = %{version}
|
|
Provides: perl(Acme::CPANAuthors::Utils::Authors)
|
|
Provides: perl(Acme::CPANAuthors::Utils::CPANIndex)
|
|
Provides: perl(Acme::CPANAuthors::Utils::Kwalitee)
|
|
Provides: perl(Acme::CPANAuthors::Utils::Packages)
|
|
%undefine __perllib_provides
|
|
Recommends: perl(Gravatar::URL)
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Sometimes we just want to know something to confirm we're not alone, or to
|
|
see if we're doing right things, or to look for someone we can rely on.
|
|
This module provides you some basic information on us.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%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
|
|
|
|
%changelog
|