From d80eca105c40fcd2f08be67d502b08e01770d47c Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 07:49:12 +0000 Subject: import rh-perl520-perl-Getopt-Long-2.42-310.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8defe76 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Getopt-Long-2.42.tar.gz diff --git a/.rh-perl520-perl-Getopt-Long.metadata b/.rh-perl520-perl-Getopt-Long.metadata new file mode 100644 index 0000000..2cacdb9 --- /dev/null +++ b/.rh-perl520-perl-Getopt-Long.metadata @@ -0,0 +1 @@ +408035480b67ca46e42e2682d4ef98e63fff439a SOURCES/Getopt-Long-2.42.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +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..e28ba74 --- /dev/null +++ b/SPECS/perl-Getopt-Long.spec @@ -0,0 +1,83 @@ +%{?scl:%scl_package perl-Getopt-Long} + +Name: %{?scl_prefix}perl-Getopt-Long +Version: 2.42 +Release: 310%{?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: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl(Config) +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 5.0 +BuildRequires: %{?scl_prefix}perl(lib) +# Run-time: +BuildRequires: %{?scl_prefix}perl(constant) +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(overload) +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(Text::ParseWords) +BuildRequires: %{?scl_prefix}perl(vars) +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) +Requires: %{?scl_prefix}perl(Text::ParseWords) +# Recommended: +Requires: %{?scl_prefix}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 +%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc CHANGES examples README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Sep 03 2014 Jitka Plesnikova - 2.42-310 +- Increase release to favour standalone package + +* Tue Aug 26 2014 Jitka Plesnikova - 2.42-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.42-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Oct 02 2013 Petr Pisar - 2.42-1 +- 2.42 bump + +* Sat Aug 03 2013 Fedora Release Engineering - 2.41-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 12 2013 Petr Pisar - 2.41-2 +- Link minimal build-root packages against libperl.so explicitly + +* Wed Jul 10 2013 Petr Pisar - 2.41-1 +- 2.41 bump + +* 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.