/[packages]/cauldron/perl-MooX-Options/current/SPECS/perl-MooX-Options.spec
ViewVC logotype

Contents of /cauldron/perl-MooX-Options/current/SPECS/perl-MooX-Options.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 478460 - (show annotations) (download)
Fri Sep 13 10:21:24 2013 UTC (6 years, 8 months ago) by sander85
File size: 1892 byte(s)
update to 3.84
1 %define upstream_name MooX-Options
2 %define upstream_version 3.84
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 Summary: Role that is apply to your object
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/MooX/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(Carp)
15 BuildRequires: perl(Data::Record)
16 BuildRequires: perl(English)
17 BuildRequires: perl(File::Find)
18 BuildRequires: perl(File::Temp)
19 BuildRequires: perl(FindBin)
20 BuildRequires: perl(Getopt::Long) >= 2.380.0
21 BuildRequires: perl(Getopt::Long::Descriptive) >= 0.91.0
22 BuildRequires: perl(JSON)
23 BuildRequires: perl(MRO::Compat)
24 BuildRequires: perl(Module::Build) >= 0.360.100
25 BuildRequires: perl(Module::Load::Conditional) >= 0.540.0
26 BuildRequires: perl(Module::Metadata) >= 1.0.11
27 BuildRequires: perl(Moo) >= 1.0.3
28 BuildRequires: perl(Regexp::Common)
29 BuildRequires: perl(Role::Tiny::With)
30 BuildRequires: perl(Scalar::Util)
31 BuildRequires: perl(Test::More) >= 0.940.0
32 BuildRequires: perl(Test::Requires)
33 BuildRequires: perl(Test::Trap)
34 BuildRequires: perl(Try::Tiny)
35 BuildRequires: perl(namespace::clean)
36 BuildRequires: perl(strict)
37 BuildRequires: perl(warnings)
38 BuildArch: noarch
39
40 %description
41 Use Getopt::Long::Descritive to provide command line option for your
42 Mo/Moo/Moose Object.
43
44 This module will add "option" which act as "has" but support additional
45 feature for getopt.
46
47 You will have "new_with_options" to instanciate new object for command
48 line.
49
50 %prep
51 %setup -q -n %{upstream_name}-%{upstream_version}
52
53 %build
54 %{__perl} Build.PL installdirs=vendor
55
56 ./Build
57
58 %check
59 ./Build test
60
61 %install
62 ./Build install destdir=%{buildroot}
63
64 %files
65 %doc Changes LICENSE META.json META.yml MYMETA.yml README
66 %{_mandir}/man3/*
67 %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.28