From eaad067f872341d2589ba5ad2011068e761c3ad6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 10 2018 05:22:38 +0000 Subject: import perl-Getopt-Long-2.40-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b155170 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Getopt-Long-2.40.tar.gz diff --git a/.perl-Getopt-Long.metadata b/.perl-Getopt-Long.metadata new file mode 100644 index 0000000..9a6c206 --- /dev/null +++ b/.perl-Getopt-Long.metadata @@ -0,0 +1 @@ +f142869782355da5e4153cda33e4d5483b7f57f9 SOURCES/Getopt-Long-2.40.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Getopt-Long.spec b/SPECS/perl-Getopt-Long.spec new file mode 100644 index 0000000..8cc0fc7 --- /dev/null +++ b/SPECS/perl-Getopt-Long.spec @@ -0,0 +1,70 @@ +Name: perl-Getopt-Long +Version: 2.40 +Release: 3%{?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 +# Dependencies on these Perl 4 files are generated as perl(foo.pl), bug #1492742 +Provides: perl(newgetopt.pl) = %{version} + +%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 +* Tue Sep 19 2017 Petr Pisar - 2.40-3 +- Provide perl(newgetopt.pl) (bug #1492742) + +* Fri Dec 27 2013 Daniel Mach - 2.40-2 +- Mass rebuild 2013-12-27 + +* 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.