%define upstream_name Dist-Zilla-PluginBundle-RTHOMPSON %define upstream_version 0.103532 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: RTHOMPSON's Dist::Zilla Configuration License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(Dist::Zilla::Role::PluginBundle::Easy) BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::Has::Sugar) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) BuildRequires: perl(utf8) BuildArch: noarch %description This plugin bundle, in its default configuration, is equivalent to: [AutoVersion] major = 0 [GatherDir] [PruneCruft] [ManifestSkip] [MetaYAML] [License] [ExecDir] [ShareDir] [MakeMaker] [Manifest] [PkgVersion] [PodWeaver] [InstallGuide] [ReadmeAnyFromPod / text.build ] filename = README type = text [ReadmeAnyFromPod / pod.root ] filename = README.pod type = pod location = root [CriticTests] [PodTests] [HasVersionTests] [PortabilityTests] [UnusedVarsTests] [CompileTests] skip = Test$ [KwaliteeTests] [ExtraTests] [ReportVersions] [MinimumPerl] [AutoPrereqs] [CheckChangesHasContent] [NextRelease] [TestRelease] [ConfirmRelease] [UploadToCPAN] [ArchiveRelease] directory = releases [Git::Check] allow_dirty = dist.ini allow_dirty = README.pod allow_dirty = Changes [Git::Commit] allow_dirty = dist.ini allow_dirty = README.pod allow_dirty = Changes [Git::Tag] [GithubMeta] There are several options that can change the default configuation, though. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README Changes LICENSE META.yml %{_mandir}/man3/* %perl_vendorlib/*