[perl-Getopt-Lucid] Import

Petr Pisar ppisar at fedoraproject.org
Thu Apr 18 06:44:33 UTC 2013


commit 9325e835a3b57f48cad31fa434eedd88926232dc
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Apr 18 08:44:16 2013 +0200

    Import

 .gitignore             |    1 +
 perl-Getopt-Lucid.spec |   65 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b0b3778 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Getopt-Lucid-1.05.tar.gz
diff --git a/perl-Getopt-Lucid.spec b/perl-Getopt-Lucid.spec
new file mode 100644
index 0000000..baa87bf
--- /dev/null
+++ b/perl-Getopt-Lucid.spec
@@ -0,0 +1,65 @@
+Name:           perl-Getopt-Lucid
+Version:        1.05
+Release:        1%{?dist}
+Summary:        Clear, readable syntax for command line processing
+License:        ASL 2.0
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Getopt-Lucid/
+Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Getopt-Lucid-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exception::Class) >= 1.23
+BuildRequires:  perl(Exception::Class::Base)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Storable) >= 2.16
+# Tests:
+# CPAN::Meta not needed
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Exception::Class::TryCatch) >= 1.10
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Test::More) >= 0.62
+BuildRequires:  perl(vars)
+# Optional tests:
+BuildRequires:  perl(Test::Script) >= 1.05
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Exception::Class::Base)
+
+%{?perl_default_filter}
+
+%description
+The goal of this module is providing good code readability and clarity of
+intent for command-line option processing. While readability is a subjective
+standard, Getopt::Lucid relies on a more verbose, plain-English option
+specification as compared against the more symbolic approach of Getopt::Long.
+
+%prep
+%setup -q -n Getopt-Lucid-%{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 LICENSE README Todo
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Apr 16 2013 Petr Pisar <ppisar at redhat.com> 1.05-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..ffad93c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+10cc33983e788da16852fdaf6f291e27  Getopt-Lucid-1.05.tar.gz


More information about the scm-commits mailing list