Files
perl-Dist-Zilla-Role-Tempdir/perl-Dist-Zilla-Role-Tempdir.spec

90 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Dist-Zilla-Role-Tempdir
#
# 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 Dist-Zilla-Role-Tempdir
Name: perl-Dist-Zilla-Role-Tempdir
Version: 1.1.3
Release: 0
%define cpan_version 1.001003
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Shell Out and collect the result in a DZ plug-in
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KE/KENTNL/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:13:47 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Digest::SHA) >= 5.47
BuildRequires: perl(Dist::Zilla) >= 2.0
BuildRequires: perl(Dist::Zilla::File::FromCode)
BuildRequires: perl(Dist::Zilla::File::InMemory)
BuildRequires: perl(Dist::Zilla::Role::FileInjector)
BuildRequires: perl(Dist::Zilla::Role::InstallTool)
BuildRequires: perl(Dist::Zilla::Role::Plugin)
BuildRequires: perl(Dist::Zilla::Tester)
BuildRequires: perl(File::chdir) >= 0.1002
BuildRequires: perl(Moose) >= 0.92
BuildRequires: perl(Moose::Role)
BuildRequires: perl(MooseX::LazyRequire)
BuildRequires: perl(Path::Iterator::Rule)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(namespace::autoclean) >= 0.09
Requires: perl(Digest::SHA) >= 5.47
Requires: perl(Dist::Zilla) >= 2.0
Requires: perl(Dist::Zilla::File::InMemory)
Requires: perl(File::chdir) >= 0.1002
Requires: perl(Moose) >= 0.92
Requires: perl(Moose::Role)
Requires: perl(MooseX::LazyRequire)
Requires: perl(Path::Iterator::Rule)
Requires: perl(Path::Tiny)
Requires: perl(namespace::autoclean) >= 0.09
Provides: perl(Dist::Zilla::Role::Tempdir) = %{version}
Provides: perl(Dist::Zilla::Tempdir::Dir) = %{version}
Provides: perl(Dist::Zilla::Tempdir::Item) = %{version}
Provides: perl(Dist::Zilla::Tempdir::Item::State) = %{version}
%undefine __perllib_provides
Recommends: perl(Moose) >= 2.000
Recommends: perl(Path::Tiny) >= 0.058
%{perl_requires}
%description
Shell Out and collect the result in a DZ plug-in.
%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
%license LICENSE
%changelog