LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Dist-Zilla-Plugin-ReportPhase.spec of Package perl-Dist-Zilla-Plugin-ReportPhase (Project devel:languages:perl:CPAN-D)

#
# spec file for package perl-Dist-Zilla-Plugin-ReportPhase
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           perl-Dist-Zilla-Plugin-ReportPhase
Version:        0.03
Release:        0
%define cpan_name Dist-Zilla-Plugin-ReportPhase
Summary:        Report whats going on.
License:        GPL-1.0+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/Dist-Zilla-Plugin-ReportPhase/
Source:         http://www.cpan.org/authors/id/S/SW/SWESTRUP/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Dist::Zilla::Role::AfterBuild)
BuildRequires:  perl(Dist::Zilla::Role::AfterMint)
BuildRequires:  perl(Dist::Zilla::Role::AfterRelease)
BuildRequires:  perl(Dist::Zilla::Role::BeforeArchive)
BuildRequires:  perl(Dist::Zilla::Role::BeforeBuild)
BuildRequires:  perl(Dist::Zilla::Role::BeforeMint)
BuildRequires:  perl(Dist::Zilla::Role::BeforeRelease)
BuildRequires:  perl(Dist::Zilla::Role::BuildRunner)
BuildRequires:  perl(Dist::Zilla::Role::ConfigDumper)
BuildRequires:  perl(Dist::Zilla::Role::FileFinder)
BuildRequires:  perl(Dist::Zilla::Role::FileGatherer)
BuildRequires:  perl(Dist::Zilla::Role::FileMunger)
BuildRequires:  perl(Dist::Zilla::Role::FilePruner)
BuildRequires:  perl(Dist::Zilla::Role::InstallTool)
BuildRequires:  perl(Dist::Zilla::Role::MetaProvider)
BuildRequires:  perl(Dist::Zilla::Role::MintingProfile)
BuildRequires:  perl(Dist::Zilla::Role::ModuleMaker)
BuildRequires:  perl(Dist::Zilla::Role::PrereqSource)
BuildRequires:  perl(Dist::Zilla::Role::Releaser)
BuildRequires:  perl(Dist::Zilla::Role::ShareDir)
BuildRequires:  perl(Dist::Zilla::Role::TestRunner)
BuildRequires:  perl(Dist::Zilla::Role::VersionProvider)
BuildRequires:  perl(Moose)
BuildRequires:  perl(Moose::Autobox)
Requires:       perl(Dist::Zilla::Role::AfterBuild)
Requires:       perl(Dist::Zilla::Role::AfterMint)
Requires:       perl(Dist::Zilla::Role::AfterRelease)
Requires:       perl(Dist::Zilla::Role::BeforeArchive)
Requires:       perl(Dist::Zilla::Role::BeforeBuild)
Requires:       perl(Dist::Zilla::Role::BeforeMint)
Requires:       perl(Dist::Zilla::Role::BeforeRelease)
Requires:       perl(Dist::Zilla::Role::BuildRunner)
Requires:       perl(Dist::Zilla::Role::ConfigDumper)
Requires:       perl(Dist::Zilla::Role::FileFinder)
Requires:       perl(Dist::Zilla::Role::FileGatherer)
Requires:       perl(Dist::Zilla::Role::FileMunger)
Requires:       perl(Dist::Zilla::Role::FilePruner)
Requires:       perl(Dist::Zilla::Role::InstallTool)
Requires:       perl(Dist::Zilla::Role::MetaProvider)
Requires:       perl(Dist::Zilla::Role::MintingProfile)
Requires:       perl(Dist::Zilla::Role::ModuleMaker)
Requires:       perl(Dist::Zilla::Role::PrereqSource)
Requires:       perl(Dist::Zilla::Role::Releaser)
Requires:       perl(Dist::Zilla::Role::ShareDir)
Requires:       perl(Dist::Zilla::Role::TestRunner)
Requires:       perl(Dist::Zilla::Role::VersionProvider)
Requires:       perl(Moose)
Requires:       perl(Moose::Autobox)
%{perl_requires}

%description
This plugin was written to give the author some idea of the order that
various roles are invoked under different conditions. So, *ReportPhase*
implements every major role, and reports when it is being invoked. For best
results it should be used as both the very first, and the very last plugin
listed in dist.ini, as it will then report entering and exiting every
phase.

Other than this phase reporting, this plugin has no use.

%prep
%setup -q -n %{cpan_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc CHANGES LICENSE README

%changelog