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