1 |
%define upstream_name Dist-Zilla-PluginBundle-RTHOMPSON |
2 |
%define upstream_version 0.103532 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
|
8 |
Summary: RTHOMPSON's Dist::Zilla Configuration |
9 |
License: GPL+ or Artistic |
10 |
Group: Development/Perl |
11 |
Url: http://search.cpan.org/dist/%{upstream_name} |
12 |
Source0: http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
14 |
BuildRequires: perl(Carp) |
15 |
BuildRequires: perl(Dist::Zilla::Role::PluginBundle::Easy) |
16 |
BuildRequires: perl(File::Find) |
17 |
BuildRequires: perl(File::Temp) |
18 |
BuildRequires: perl(Moose) |
19 |
BuildRequires: perl(MooseX::Has::Sugar) |
20 |
BuildRequires: perl(Scalar::Util) |
21 |
BuildRequires: perl(Test::More) |
22 |
BuildRequires: perl(utf8) |
23 |
BuildArch: noarch |
24 |
|
25 |
%description |
26 |
This plugin bundle, in its default configuration, is equivalent to: |
27 |
|
28 |
[AutoVersion] |
29 |
major = 0 |
30 |
[GatherDir] |
31 |
[PruneCruft] |
32 |
[ManifestSkip] |
33 |
[MetaYAML] |
34 |
[License] |
35 |
[ExecDir] |
36 |
[ShareDir] |
37 |
[MakeMaker] |
38 |
[Manifest] |
39 |
[PkgVersion] |
40 |
[PodWeaver] |
41 |
[InstallGuide] |
42 |
[ReadmeAnyFromPod / text.build ] |
43 |
filename = README |
44 |
type = text |
45 |
[ReadmeAnyFromPod / pod.root ] |
46 |
filename = README.pod |
47 |
type = pod |
48 |
location = root |
49 |
[CriticTests] |
50 |
[PodTests] |
51 |
[HasVersionTests] |
52 |
[PortabilityTests] |
53 |
[UnusedVarsTests] |
54 |
[CompileTests] |
55 |
skip = Test$ |
56 |
[KwaliteeTests] |
57 |
[ExtraTests] |
58 |
[ReportVersions] |
59 |
[MinimumPerl] |
60 |
[AutoPrereqs] |
61 |
[CheckChangesHasContent] |
62 |
[NextRelease] |
63 |
[TestRelease] |
64 |
[ConfirmRelease] |
65 |
[UploadToCPAN] |
66 |
[ArchiveRelease] |
67 |
directory = releases |
68 |
[Git::Check] |
69 |
allow_dirty = dist.ini |
70 |
allow_dirty = README.pod |
71 |
allow_dirty = Changes |
72 |
[Git::Commit] |
73 |
allow_dirty = dist.ini |
74 |
allow_dirty = README.pod |
75 |
allow_dirty = Changes |
76 |
[Git::Tag] |
77 |
[GithubMeta] |
78 |
|
79 |
There are several options that can change the default configuation, though. |
80 |
|
81 |
%prep |
82 |
%setup -q -n %{upstream_name}-%{upstream_version} |
83 |
|
84 |
%build |
85 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
86 |
|
87 |
%make |
88 |
|
89 |
%check |
90 |
%make test |
91 |
|
92 |
%install |
93 |
rm -rf %buildroot |
94 |
%makeinstall_std |
95 |
|
96 |
%clean |
97 |
rm -rf %buildroot |
98 |
|
99 |
%files |
100 |
%defattr(-,root,root) |
101 |
%doc README Changes LICENSE META.yml |
102 |
%{_mandir}/man3/* |
103 |
%perl_vendorlib/* |
104 |
|
105 |
|