Blame SPECS/perl-Getopt-Long.spec

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