2d4a88
Name:           perl-Getopt-Long
2d4a88
Epoch:          1
2d4a88
Version:        2.51
2d4a88
Release:        1%{?dist}
2d4a88
Summary:        Extended processing of command line options
2d4a88
License:        GPLv2+ or Artistic
2d4a88
URL:            https://metacpan.org/release/Getopt-Long
2d4a88
Source0:        https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz
2d4a88
BuildArch:      noarch
2d4a88
BuildRequires:  make
2d4a88
BuildRequires:  perl-generators
2d4a88
BuildRequires:  perl-interpreter
2d4a88
BuildRequires:  perl(Config)
2d4a88
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
2d4a88
BuildRequires:  perl(lib)
2d4a88
# Run-time:
2d4a88
BuildRequires:  perl(constant)
2d4a88
BuildRequires:  perl(Exporter)
2d4a88
BuildRequires:  perl(overload)
2d4a88
BuildRequires:  perl(strict)
2d4a88
BuildRequires:  perl(Text::ParseWords)
2d4a88
BuildRequires:  perl(vars)
2d4a88
BuildRequires:  perl(warnings)
2d4a88
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2d4a88
Requires:       perl(overload)
2d4a88
Requires:       perl(Text::ParseWords)
2d4a88
# Recommended:
2d4a88
Requires:       perl(Pod::Usage) >= 1.14
2d4a88
# Dependencies on these Perl 4 files are generated as perl(foo.pl):
2d4a88
Provides:       perl(newgetopt.pl) = %{version}
2d4a88
2d4a88
%description
2d4a88
The Getopt::Long module implements an extended getopt function called
2d4a88
GetOptions(). It parses the command line from @ARGV, recognizing and removing
2d4a88
specified options and their possible values.  It adheres to the POSIX syntax
2d4a88
for command line options, with GNU extensions. In general, this means that
2d4a88
options have long names instead of single letters, and are introduced with
2d4a88
a double dash "--". Support for bundling of command line options, as was the
2d4a88
case with the more traditional single-letter approach, is provided but not
2d4a88
enabled by default.
2d4a88
2d4a88
%prep
2d4a88
%setup -q -n Getopt-Long-%{version}
2d4a88
2d4a88
%build
2d4a88
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
2d4a88
%{make_build}
2d4a88
2d4a88
%install
2d4a88
%{make_install}
2d4a88
%{_fixperms} $RPM_BUILD_ROOT/*
2d4a88
2d4a88
%check
2d4a88
make test
2d4a88
2d4a88
%files
2d4a88
%doc CHANGES examples README
2d4a88
%{perl_vendorlib}/*
2d4a88
%{_mandir}/man3/*
2d4a88
2d4a88
%changelog
2d4a88
* Tue Aug 13 2019 Petr Pisar <ppisar@redhat.com> - 1:2.51-1
2d4a88
- 2.51 bump
2d4a88
2d4a88
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.50-439
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2d4a88
2d4a88
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.50-438
2d4a88
- Increase release to favour standalone package
2d4a88
2d4a88
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.50-418
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2d4a88
2d4a88
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.50-417
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2d4a88
2d4a88
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.50-416
2d4a88
- Increase release to favour standalone package
2d4a88
2d4a88
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.50-4
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2d4a88
2d4a88
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.50-3
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2d4a88
2d4a88
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.50-2
2d4a88
- Perl 5.26 rebuild
2d4a88
2d4a88
* Mon May 29 2017 Petr Pisar <ppisar@redhat.com> - 2.50-1
2d4a88
- 2.50 bump
2d4a88
2d4a88
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.49.1-2
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2d4a88
2d4a88
* Mon Jun 20 2016 Petr Pisar <ppisar@redhat.com> - 2.49.1-1
2d4a88
- 2.49.1 bump
2d4a88
2d4a88
* Wed Jun 15 2016 Petr Pisar <ppisar@redhat.com> - 2.49-1
2d4a88
- 2.49 bump
2d4a88
2d4a88
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.48-365
2d4a88
- Increase release to favour standalone package
2d4a88
2d4a88
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.48-2
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2d4a88
2d4a88
* Mon Nov 02 2015 Petr Pisar <ppisar@redhat.com> - 2.48-1
2d4a88
- 2.48 bump
2d4a88
2d4a88
* Wed Jun 17 2015 Petr Pisar <ppisar@redhat.com> - 2.47-1
2d4a88
- 2.47 bump
2d4a88
2d4a88
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.46-2
2d4a88
- Perl 5.22 rebuild
2d4a88
2d4a88
* Tue Jun 02 2015 Petr Pisar <ppisar@redhat.com> - 2.46-1
2d4a88
- 2.46 bump
2d4a88
2d4a88
* Tue Feb 24 2015 Petr Pisar <ppisar@redhat.com> - 2.45-1
2d4a88
- 2.45 bump
2d4a88
2d4a88
* Thu Feb 19 2015 Petr Pisar <ppisar@redhat.com> - 2.44-1
2d4a88
- 2.44 bump
2d4a88
2d4a88
* Fri Jan 30 2015 Petr Pisar <ppisar@redhat.com> - 2.43-1
2d4a88
- 2.43 bump
2d4a88
2d4a88
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.42-310
2d4a88
- Increase release to favour standalone package
2d4a88
2d4a88
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.42-3
2d4a88
- Perl 5.20 rebuild
2d4a88
2d4a88
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42-2
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2d4a88
2d4a88
* Wed Oct 02 2013 Petr Pisar <ppisar@redhat.com> - 2.42-1
2d4a88
- 2.42 bump
2d4a88
2d4a88
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-3
2d4a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2d4a88
2d4a88
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.41-2
2d4a88
- Link minimal build-root packages against libperl.so explicitly
2d4a88
2d4a88
* Wed Jul 10 2013 Petr Pisar <ppisar@redhat.com> - 2.41-1
2d4a88
- 2.41 bump
2d4a88
2d4a88
* Thu Jun 20 2013 Petr Pisar <ppisar@redhat.com> - 2.40-1
2d4a88
- 2.40 bump
2d4a88
2d4a88
* Fri Apr 05 2013 Petr Pisar <ppisar@redhat.com> 2.39-1
2d4a88
- Specfile autogenerated by cpanspec 1.78.