bad9bfb
Name:		perl-MouseX-Getopt
bad9bfb
Summary:	Mouse role for processing command line options
f37abef
Version:	0.38
231ef32
Release:	20%{?dist}
bad9bfb
License:	GPL+ or Artistic
947a295
URL:		https://metacpan.org/release/MouseX-Getopt
f37abef
Source0:	https://cpan.metacpan.org/modules/by-module/MouseX/MouseX-Getopt-%{version}.tar.gz
8960e51
Patch0:		MouseX-Getopt-0.38-GLD-0.107.patch
bad9bfb
BuildArch:	noarch
bad9bfb
# Module Build
ca20faf
BuildRequires:	perl-generators
87383fd
BuildRequires:	perl-interpreter
cbffaa7
BuildRequires:	perl(Module::Build::Tiny) >= 0.035
bad9bfb
BuildRequires:	perl(strict)
bad9bfb
BuildRequires:	perl(warnings)
bad9bfb
# Module Runtime
bad9bfb
BuildRequires:	perl(Carp)
bad9bfb
BuildRequires:	perl(Getopt::Long) >= 2.37
bad9bfb
BuildRequires:	perl(Getopt::Long::Descriptive) >= 0.081
bad9bfb
BuildRequires:	perl(Mouse) >= 0.64
bad9bfb
BuildRequires:	perl(Mouse::Meta::Attribute)
bad9bfb
BuildRequires:	perl(Mouse::Role)
bad9bfb
BuildRequires:	perl(Mouse::Util::TypeConstraints)
bad9bfb
# Test Suite
cbffaa7
BuildRequires:	perl(File::Spec)
bad9bfb
BuildRequires:	perl(Mouse::Meta::Class)
bad9bfb
BuildRequires:	perl(Scalar::Util)
bad9bfb
BuildRequires:	perl(Test::Exception) >= 0.21
bad9bfb
BuildRequires:	perl(Test::More) >= 0.88
bad9bfb
BuildRequires:	perl(Test::Mouse)
bad9bfb
BuildRequires:	perl(Test::Warn) >= 0.21
bad9bfb
# Optional Tests (have circular dependencies)
bad9bfb
%if 0%{!?perl_bootstrap:1}
ecf8c6c
BuildRequires:	perl(MouseX::ConfigFromFile)
ecf8c6c
BuildRequires:	perl(MouseX::SimpleConfig) >= 0.07
bad9bfb
%endif
bad9bfb
# Runtime
bad9bfb
Requires:	perl(Mouse) >= 0.64
bad9bfb
Requires:	perl(Mouse::Meta::Attribute)
bad9bfb
bad9bfb
# Filter under-specified dependency
bad9bfb
%global __requires_exclude ^perl\\(Mouse\\)$
bad9bfb
bad9bfb
%description
bad9bfb
This is a Mouse role that provides an alternate constructor for creating
bad9bfb
objects using parameters passed in from the command line.
bad9bfb
bad9bfb
%prep
3e255b9
%setup -q -n MouseX-Getopt-%{version}
7b90211
8960e51
# Fix compatibility with GLD 0.107
a34ed4f
%patch0
a34ed4f
bad9bfb
%build
bad9bfb
perl Build.PL --installdirs=vendor
bad9bfb
./Build
bad9bfb
bad9bfb
%install
bad9bfb
./Build install --destdir=%{buildroot} --create_packlist=0
bad9bfb
bad9bfb
%check
8960e51
./Build test
bad9bfb
bad9bfb
%files
f37abef
# Note: malformed LICENSE file in 0.35 .. 0.38 not shipped
bad9bfb
# https://github.com/gfx/mousex-getopt/issues/2
bad9bfb
%doc Changes README.md
bad9bfb
%{perl_vendorlib}/MouseX/
bad9bfb
%{_mandir}/man3/MouseX::Getopt.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::Basic.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::Dashes.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::GLD.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::NoGetopt.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait::NoGetopt.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::OptionTypeMap.3*
bad9bfb
%{_mandir}/man3/MouseX::Getopt::Strict.3*
bad9bfb
bad9bfb
%changelog
231ef32
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-20
231ef32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
231ef32
46547ef
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-19
46547ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
46547ef
f9fdcdd
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-18
f9fdcdd
- Perl 5.36 re-rebuild of bootstrapped packages
f9fdcdd
66999c5
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-17
66999c5
- Perl 5.36 rebuild
66999c5
443bfe2
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-16
443bfe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
443bfe2
f73dcaa
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-15
f73dcaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
f73dcaa
3204c9b
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-14
3204c9b
- Perl 5.34 re-rebuild of bootstrapped packages
3204c9b
0016b35
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-13
0016b35
- Perl 5.34 rebuild
0016b35
8960e51
* Mon Mar 15 2021 Paul Howarth <paul@city-fan.org> - 0.38-12
8960e51
- Fix compatibility with GLD 0.107
8960e51
a34ed4f
* Sat Mar 13 2021 Paul Howarth <paul@city-fan.org> - 0.38-11
a34ed4f
- Fix compatibility with GLD 0.106
a34ed4f
0627102
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-10
0627102
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0627102
9fb99f9
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-9
9fb99f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9fb99f9
7ae0167
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-8
7ae0167
- Perl 5.32 re-rebuild of bootstrapped packages
7ae0167
f2e9d9a
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-7
f2e9d9a
- Perl 5.32 rebuild
f2e9d9a
b4bc3ae
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-6
b4bc3ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b4bc3ae
07b6a0c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-5
07b6a0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
07b6a0c
aa8ce22
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-4
aa8ce22
- Perl 5.30 re-rebuild of bootstrapped packages
aa8ce22
cd672bc
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-3
cd672bc
- Perl 5.30 rebuild
cd672bc
5846bc2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-2
5846bc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5846bc2
f37abef
* Mon Jan 28 2019 Paul Howarth <paul@city-fan.org> - 0.38-1
f37abef
- Update to 0.38
f37abef
  - Cope with GLD output changes in version 0.103 (GH#13)
f37abef
87383fd
* Tue Aug 21 2018 Paul Howarth <paul@city-fan.org> - 0.37-10
87383fd
- Fix compatibility with GLD 0.103 (GH#12, GH#13)
87383fd
055f84f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-9
055f84f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
055f84f
735d49b
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-8
735d49b
- Perl 5.28 re-rebuild of bootstrapped packages
735d49b
4045aa4
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-7
4045aa4
- Perl 5.28 rebuild
4045aa4
b68935d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-6
b68935d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b68935d
213d85c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-5
213d85c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
213d85c
00ae13a
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-4
00ae13a
- Perl 5.26 re-rebuild of bootstrapped packages
00ae13a
e8bb8e9
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-3
e8bb8e9
- Perl 5.26 rebuild
e8bb8e9
6de0817
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-2
6de0817
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6de0817
cbffaa7
* Wed Jul 13 2016 Paul Howarth <paul@city-fan.org> - 0.37-1
cbffaa7
- Update to 0.37
cbffaa7
  - Cope with GLD output changes in version 0.100 (GH#10)
cbffaa7
- Switch to Module::Build::Tiny flow
cbffaa7
6024c98
* Tue Jul 12 2016 Paul Howarth <paul@city-fan.org> - 0.36-8
6024c98
- Fix FTBFS with Geopt::Long::Descriptive 0.100
6024c98
275e3fb
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-7
275e3fb
- Perl 5.24 re-rebuild of bootstrapped packages
275e3fb
8134981
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-6
8134981
- Perl 5.24 rebuild
8134981
f21d31c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.36-5
f21d31c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f21d31c
bd04714
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.36-4
bd04714
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bd04714
e6d282d
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-3
e6d282d
- Perl 5.22 re-rebuild of bootstrapped packages
e6d282d
4d4e3b7
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-2
4d4e3b7
- Perl 5.22 rebuild
4d4e3b7
3e255b9
* Thu Apr  2 2015 Paul Howarth <paul@city-fan.org> - 0.36-1
3e255b9
- Update to 0.36
3e255b9
  - Fix tests that follow GLD changes
3e255b9
    (https://github.com/gfx/mousex-getopt/pull/6)
3e255b9
- This release by GFUJI → update source URL and directory case
3e255b9
7b90211
* Thu Feb  5 2015 Paul Howarth <paul@city-fan.org> - 0.35-7
7b90211
- Fix FTBFS with Geopt::Long::Descriptive ≥ 0.99 (#1189458)
7b90211
  https://github.com/gfx/mousex-getopt/issues/5
7b90211
  https://github.com/gfx/mousex-getopt/pull/6
7b90211
a3213d0
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-6
a3213d0
- Perl 5.20 re-rebuild of bootstrapped packages
a3213d0
cbb9188
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-5
cbb9188
- Perl 5.20 rebuild
cbb9188
ccb9312
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-4
ccb9312
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ccb9312
ecf8c6c
* Fri Apr 25 2014 Paul Howarth <paul@city-fan.org> - 0.35-3
ecf8c6c
- Add buildreqs for optional tests now they're available
ecf8c6c
bad9bfb
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.35-2
bad9bfb
- Incorporate feedback from package review (#1088856)
bad9bfb
  - Don't ship bogus LICENSE file
bad9bfb
    (https://github.com/gfx/mousex-getopt/issues/2)
bad9bfb
  - Make upstream URL refer to current release
bad9bfb
  - Upstream wants Module::Build ≥ 0.38
bad9bfb
  - BR:/R: perl(Mouse::Meta::Attribute)
bad9bfb
  - BR: perl(Scalar::Util) for test suite
bad9bfb
  - R: perl(Mouse) ≥ 0.64
bad9bfb
bad9bfb
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.35-1
bad9bfb
- Update to 0.35
bad9bfb
  - GLD 0.097 no longer defaults to no_ignore_case (CPAN RT#93593)
3e255b9
- This release by TOKUHIROM → update source URL and directory case
bad9bfb
- Switch to Module::Build flow
bad9bfb
- Release tests no longer included
bad9bfb
bad9bfb
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.34-1
bad9bfb
- Initial RPM version