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