Name: perl-Getopt-Long Version: 2.40 Release: 1%{?dist} Summary: Extended processing of command line options License: GPLv2+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Getopt-Long/ Source0: http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 5.0 BuildRequires: perl(lib) # Run-time: BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(Text::ParseWords) BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(overload) Requires: perl(Text::ParseWords) # Recommended: Requires: perl(Pod::Usage) >= 1.14 %description The Getopt::Long module implements an extended getopt function called GetOptions(). It parses the command line from @ARGV, recognizing and removing specified options and their possible values. It adheres to the POSIX syntax for command line options, with GNU extensions. In general, this means that options have long names instead of single letters, and are introduced with a double dash "--". Support for bundling of command line options, as was the case with the more traditional single-letter approach, is provided but not enabled by default. %prep %setup -q -n Getopt-Long-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc CHANGES examples README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jun 20 2013 Petr Pisar - 2.40-1 - 2.40 bump * Fri Apr 05 2013 Petr Pisar 2.39-1 - Specfile autogenerated by cpanspec 1.78.