Chris Weyl c86ae46
Name:           perl-MooseX-Getopt
Chris Weyl c86ae46
Summary:        Moose role for processing command line options
ae9207d
Version:        0.74
65b1c4a
Release:        1%{?dist}
Chris Weyl 85528f6
License:        GPL+ or Artistic
55dc483
URL:            https://metacpan.org/release/MooseX-Getopt
c70d7c1
Source0:        https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Getopt-%{version}.tar.gz
Chris Weyl 2705446
BuildArch:      noarch
f30720c
# Module Build
329125a
BuildRequires:  perl-generators
c70d7c1
BuildRequires:  perl-interpreter
c70d7c1
BuildRequires:  perl(Module::Build::Tiny) >= 0.034
c70d7c1
BuildRequires:  sed
f30720c
# Module Runtime
f30720c
BuildRequires:  perl(Carp)
Chris Weyl 2705446
BuildRequires:  perl(Getopt::Long) >= 2.37
Chris Weyl 2705446
BuildRequires:  perl(Getopt::Long::Descriptive) >= 0.081
f30720c
BuildRequires:  perl(Moose)
f30720c
BuildRequires:  perl(Moose::Meta::Attribute)
f30720c
BuildRequires:  perl(Moose::Role) >= 0.56
f30720c
BuildRequires:  perl(Moose::Util::TypeConstraints)
fb2e20c
BuildRequires:  perl(MooseX::Role::Parameterized)
f30720c
BuildRequires:  perl(namespace::autoclean)
f30720c
BuildRequires:  perl(Scalar::Util)
f30720c
BuildRequires:  perl(strict)
f30720c
BuildRequires:  perl(Try::Tiny)
f30720c
BuildRequires:  perl(warnings)
f30720c
# Test Suite
f30720c
BuildRequires:  perl(ExtUtils::MakeMaker)
f30720c
BuildRequires:  perl(File::Spec::Functions)
f30720c
BuildRequires:  perl(if)
f30720c
BuildRequires:  perl(List::Util)
f30720c
BuildRequires:  perl(Module::Runtime)
f30720c
BuildRequires:  perl(Moose::Meta::Class)
f30720c
BuildRequires:  perl(Moose::Util)
f30720c
BuildRequires:  perl(Path::Tiny) >= 0.009
a4fbaba
BuildRequires:  perl(Test::Deep)
a4fbaba
BuildRequires:  perl(Test::Fatal) >= 0.003
Chris Weyl 0b107aa
BuildRequires:  perl(Test::Moose)
5f60d8b
BuildRequires:  perl(Test::More) >= 0.88
65b1c4a
BuildRequires:  perl(Test::Needs)
5f60d8b
BuildRequires:  perl(Test::Requires) >= 0.05
4964a9b
BuildRequires:  perl(Test::Trap)
f30720c
BuildRequires:  perl(Test::Warnings) >= 0.009
f30720c
BuildRequires:  perl(version)
f30720c
# Optional Test Requirements
f30720c
BuildRequires:  perl(CPAN::Meta)
f30720c
BuildRequires:  perl(CPAN::Meta::Requirements) >= 2.120900
f30720c
# MooseX::SimpleConfig -> MooseX::ConfigFromFile -> MooseX::Types::Path::Class -> MooseX::Getopt
f30720c
%if !0%{?perl_bootstrap}
f30720c
BuildRequires:  perl(MooseX::ConfigFromFile) >= 0.08
f30720c
BuildRequires:  perl(MooseX::SimpleConfig) >= 0.07
af103e4
BuildRequires:  perl(MooseX::StrictConstructor)
f30720c
%endif
f30720c
BuildRequires:  perl(YAML)
f30720c
# Runtime
f30720c
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl 759c02b
Chris Weyl 0b107aa
%{?perl_default_filter}
Chris Weyl d7bec12
Chris Weyl c86ae46
%description
Chris Weyl 759c02b
This is a Moose role which provides an alternate constructor for creating
Chris Weyl c86ae46
objects using parameters passed in from the command line.
Chris Weyl c86ae46
Chris Weyl c86ae46
%prep
Chris Weyl c86ae46
%setup -q -n MooseX-Getopt-%{version}
Chris Weyl c86ae46
ae9207d
# silence rpmlint warnings
8083a69
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
ae9207d
chmod -c -x t/104_override_usage.t
8083a69
Chris Weyl c86ae46
%build
f30720c
perl Build.PL --installdirs=vendor
f30720c
./Build
Chris Weyl c86ae46
Chris Weyl c86ae46
%install
f30720c
./Build install --destdir=%{buildroot} --create_packlist=0
Chris Weyl c86ae46
Chris Weyl c86ae46
%check
f30720c
./Build test
Chris Weyl c86ae46
Chris Weyl c86ae46
%files
66fe246
%license LICENSE
66fe246
%doc Changes CONTRIBUTING README t/
f30720c
%{perl_vendorlib}/MooseX/
f30720c
%{_mandir}/man3/MooseX::Getopt.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::Basic.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::Dashes.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::GLD.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::NoGetopt.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::Trait.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::Trait::NoGetopt.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::OptionTypeMap.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::ProcessedArgv.3*
f30720c
%{_mandir}/man3/MooseX::Getopt::Strict.3*
Chris Weyl c86ae46
Chris Weyl c86ae46
%changelog
ae9207d
* Tue Sep 25 2018 Paul Howarth <paul@city-fan.org> - 0.74-1
ae9207d
- Update to 0.74
ae9207d
c70d7c1
* Tue Sep  4 2018 Paul Howarth <paul@city-fan.org> - 0.73-1
c70d7c1
- Update to 0.73
c70d7c1
- Drop legacy Group: tag
c70d7c1
65b1c4a
* Sun Aug 05 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.72-1
65b1c4a
- Update to 0.72
65b1c4a
c9a364d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.71-9
c9a364d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c9a364d
1dbbe8a
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.71-8
1dbbe8a
- Perl 5.28 re-rebuild of bootstrapped packages
1dbbe8a
7e2174e
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.71-7
7e2174e
- Perl 5.28 rebuild
7e2174e
f1e38cf
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.71-6
f1e38cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f1e38cf
7b90412
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.71-5
7b90412
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7b90412
6bc3b16
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.71-4
6bc3b16
- Perl 5.26 re-rebuild of bootstrapped packages
6bc3b16
bfab20b
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.71-3
bfab20b
- Perl 5.26 rebuild
bfab20b
da67077
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.71-2
da67077
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
da67077
37455b8
* Fri Jun 24 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.71-1
37455b8
- Update to 0.71
37455b8
b7e8fe2
* Tue May 31 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.70-1
b7e8fe2
- Update to 0.70
b7e8fe2
3e1578b
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.69-3
3e1578b
- Perl 5.24 re-rebuild of bootstrapped packages
3e1578b
a44ffdc
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.69-2
a44ffdc
- Perl 5.24 rebuild
a44ffdc
2695cba
* Sat May 07 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.69-1
2695cba
- Update to 0.69
2695cba
640b678
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-5
640b678
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
640b678
16648da
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-4
16648da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
16648da
8b6074f
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.68-3
8b6074f
- Perl 5.22 re-rebuild of bootstrapped packages
8b6074f
f37dd4a
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.68-2
f37dd4a
- Perl 5.22 rebuild
f37dd4a
ac95d7b
* Sun Mar 08 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.68-1
ac95d7b
- Update to 0.68
ac95d7b
af103e4
* Sun Mar 01 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.67-1
af103e4
- Update to 0.67
af103e4
66fe246
* Sun Feb 01 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.66-1
66fe246
- Update to 0.66
66fe246
- Use %%license tag
66fe246
773fb21
* Tue Nov 11 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.65-1
773fb21
- Update to 0.65
773fb21
7db585f
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.63-4
7db585f
- Perl 5.20 re-rebuild of bootstrapped packages
7db585f
a51c881
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.63-3
a51c881
- Perl 5.20 rebuild
a51c881
a7338ad
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-2
a7338ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a7338ad
f30720c
* Tue Mar 25 2014 Paul Howarth <paul@city-fan.org> - 0.63-1
f30720c
- Update to latest upstream version
f30720c
- Switch to Module::Build::Tiny flow
f30720c
- Drop provides/obsoletes for old tests sub-package
f30720c
- Package new upstream CONTRIBUTING and README.md files
f30720c
- Classify buildreqs by usage
f30720c
- Make %%files list more explicit
f30720c
8a7b0df
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-4
8a7b0df
- Perl 5.18 re-rebuild of bootstrapped packages
8a7b0df
7550ad8
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 0.47-3
7550ad8
- Perl 5.18 rebuild
7550ad8
b3a4bc6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.47-2
b3a4bc6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b3a4bc6
0c34edd
* Sun Sep 09 2012 Iain Arnell <iarnell@gmail.com> 0.47-1
0c34edd
- update to latest upstream version
0c34edd
9483eee
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-4
9483eee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9483eee
b81685b
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.45-3
b81685b
- Perl 5.16 re-rebuild of bootstrapped packages
b81685b
2771216
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.45-2
2771216
- Perl 5.16 rebuild
2771216
4964a9b
* Fri May 18 2012 Iain Arnell <iarnell@gmail.com> 0.45-1
4964a9b
- update to latest upstream version
4964a9b
167b8ea
* Fri Apr 20 2012 Iain Arnell <iarnell@gmail.com> 0.40-1
167b8ea
- update to latest upstream version
167b8ea
0f46d13
* Mon Apr 09 2012 Iain Arnell <iarnell@gmail.com> 0.39-2
0f46d13
- avoid circular dependencies (patch from Paul Howarth rhbz#810707)
0f46d13
fada051
* Sat Feb 04 2012 Iain Arnell <iarnell@gmail.com> 0.39-1
fada051
- update to latest upstream version
fada051
8083a69
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.38-3
8083a69
- drop tests subpackage; move tests to main package documentation
8083a69
37bf354
* Tue Jan 17 2012 Iain Arnell <iarnell@gmail.com> - 0.38-2
37bf354
- rebuilt again for F17 mass rebuild
37bf354
bd7f025
* Sat Jan 14 2012 Iain Arnell <iarnell@gmail.com> 0.38-1
bd7f025
- update to latest upstream version
bd7f025
51e2413
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-3
51e2413
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
51e2413
Petr Sabata 77c571c
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.37-2
Petr Sabata 77c571c
- Perl mass rebuild
Petr Sabata 77c571c
fb2e20c
* Thu May 05 2011 Iain Arnell <iarnell@gmail.com> 0.37-1
fb2e20c
- update to latest upstream version
fb2e20c
a4fbaba
* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 0.35-1
a4fbaba
- update to latest upstream version
a4fbaba
- clean up spec for modern rpmbuild
a4fbaba
916ddb9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-2
916ddb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
916ddb9
5f60d8b
* Sat Oct 09 2010 Iain Arnell <iarnell@gmail.com> 0.33-1
5f60d8b
- update by Fedora::App::MaintainerTools 0.006
5f60d8b
- updating to latest GA CPAN version (0.33)
5f60d8b
- altered br on perl(ExtUtils::MakeMaker) (6.42 => 6.31)
5f60d8b
- altered br on perl(Test::More) (0.62 => 0.88)
5f60d8b
- added a new br on perl(Test::Requires) (version 0.05)
5f60d8b
- added a new br on perl(Test::Warn) (version 0.21)
5f60d8b
2ddb858
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.27-2
2ddb858
- Mass rebuild with perl-5.12.0
2ddb858
Chris Weyl 2705446
* Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.27-1
Chris Weyl 2705446
- update by Fedora::App::MaintainerTools 0.006
Chris Weyl 2705446
- updating to latest GA CPAN version (0.27)
Chris Weyl 2705446
- altered br on perl(Getopt::Long::Descriptive) (0.077 => 0.081)
Chris Weyl 2705446
- dropped old BR on perl(Scalar::Util)
Chris Weyl 2705446
- dropped old BR on perl(Test::Pod::Coverage)
Chris Weyl 2705446
- altered req on perl(Getopt::Long::Descriptive) (0.077 => 0.081)
Chris Weyl 2705446
Chris Weyl 0b107aa
* Fri Feb 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.26-1
Chris Weyl 0b107aa
- add perl_default_filter
Chris Weyl 0b107aa
- PERL_INSTALL_ROOT => DESTDIR in install
Chris Weyl 0b107aa
- auto-update to 0.26 (by cpan-spec-update 0.01)
Chris Weyl 0b107aa
b19191c
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.22-2
b19191c
- rebuild against perl 5.10.1
b19191c
Chris Weyl d7bec12
* Sat Sep 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.22-1
Chris Weyl d7bec12
- auto-update to 0.22 (by cpan-spec-update 0.01)
Chris Weyl d7bec12
- altered br on perl(Getopt::Long::Descriptive) (0 => 0.077)
Chris Weyl d7bec12
- added a new br on perl(Test::Moose) (version 0)
Chris Weyl d7bec12
- altered req on perl(Getopt::Long::Descriptive) (0 => 0.077)
Chris Weyl d7bec12
Chris Weyl 759c02b
* Wed Aug 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.20-1
Chris Weyl 759c02b
- auto-update to 0.20 (by cpan-spec-update 0.01)
Chris Weyl 759c02b
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
Chris Weyl 759c02b
- altered br on perl(Getopt::Long) (2.35 => 2.37)
Chris Weyl 759c02b
- added a new req on perl(Getopt::Long) (version 2.37)
Chris Weyl 759c02b
- added a new req on perl(Getopt::Long::Descriptive) (version 0)
Chris Weyl 759c02b
- added a new req on perl(Moose) (version 0.56)
Chris Weyl 759c02b
25cc1ab
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
25cc1ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
25cc1ab
Chris Weyl 19cf496
* Sat Apr 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
Chris Weyl 19cf496
- update to 0.18
Chris Weyl 19cf496
a92cbde
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
a92cbde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a92cbde
Chris Weyl 1dda4d6
* Mon Sep 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.15-1
Chris Weyl 1dda4d6
- update to 0.15
Chris Weyl 1dda4d6
Chris Weyl 26934b0
* Thu Jul 10 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.13-2
Chris Weyl 26934b0
- tweak Getopt::Long dep to 2.35; passes tests just fine with 2.35, and that's
Chris Weyl 26934b0
  what we have in F-8 perl
Chris Weyl 26934b0
Chris Weyl e4c8c93
* Sat Jun 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1
Chris Weyl e4c8c93
- update to 0.13
Chris Weyl e4c8c93
- switch to Module::Install invocations, rather than Module::Build
Chris Weyl e4c8c93
6c73f08
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2
6c73f08
- rebuild for new perl
6c73f08
Chris Weyl 85528f6
* Fri Aug 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
Chris Weyl 85528f6
- update to 0.05
Chris Weyl 85528f6
- license tag: GPL -> GPL+
Chris Weyl 85528f6
Chris Weyl d1d686a
* Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-2
Chris Weyl d1d686a
- bump
Chris Weyl d1d686a
Chris Weyl c86ae46
* Thu May 03 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
Chris Weyl c86ae46
- update to 0.03
Chris Weyl c86ae46
Chris Weyl c86ae46
* Fri Apr 20 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
Chris Weyl c86ae46
- Specfile autogenerated by cpanspec 1.69.1.