commit a4ab06b5cbfcde1ccbc321ea888233ceb9f34f9d
Author: Petr Písař <ppi...@redhat.com>
Date:   Tue Apr 9 17:33:40 2013 +0200

    Import

 .gitignore            |    1 +
 perl-Getopt-Long.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..88890cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Getopt-Long-2.39.tar.gz
diff --git a/perl-Getopt-Long.spec b/perl-Getopt-Long.spec
new file mode 100644
index 0000000..2c117ee
--- /dev/null
+++ b/perl-Getopt-Long.spec
@@ -0,0 +1,59 @@
+Name:           perl-Getopt-Long
+Version:        2.39
+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(lib)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 5.0
+# 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 Announce CHANGES examples README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Apr 05 2013 Petr Pisar <ppi...@redhat.com> 2.39-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..0f09931 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+84c8643de29faade9491c56d72afdba0  Getopt-Long-2.39.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to