[perl-MouseX-Getopt] Initial import (perl-MouseX-Getopt-0.35-2)

Paul Howarth pghmcfc at fedoraproject.org
Thu Apr 17 20:42:52 UTC 2014


commit bad9bfbc763936669be30399a0c8025318a21de6
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Apr 17 21:41:57 2014 +0100

    Initial import (perl-MouseX-Getopt-0.35-2)
    
    This is a Mouse role that provides an alternate constructor for creating
    objects using parameters passed in from the command line.

 .gitignore              |    2 +
 perl-MouseX-Getopt.spec |  102 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 105 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bb6cccb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/MouseX-Getopt-[0-9.]*.tar.gz
+/mousex-getopt-0.35.tar.gz
diff --git a/perl-MouseX-Getopt.spec b/perl-MouseX-Getopt.spec
new file mode 100644
index 0000000..bc65947
--- /dev/null
+++ b/perl-MouseX-Getopt.spec
@@ -0,0 +1,102 @@
+Name:		perl-MouseX-Getopt
+Summary:	Mouse role for processing command line options
+Version:	0.35
+Release:	2%{?dist}
+License:	GPL+ or Artistic
+# Hotfix release with different case, expected to revert to normal in subsequent releases
+#URL:		http://search.cpan.org/dist/MouseX-Getopt/
+URL:		http://search.cpan.org/dist/mousex-getopt/
+Source0:	http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/mousex-getopt-%{version}.tar.gz
+BuildArch:	noarch
+# Module Build
+BuildRequires:	perl
+BuildRequires:	perl(CPAN::Meta)
+BuildRequires:	perl(CPAN::Meta::Prereqs)
+BuildRequires:	perl(File::Basename)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(Module::Build) >= 0.38
+BuildRequires:	perl(strict)
+BuildRequires:	perl(utf8)
+BuildRequires:	perl(warnings)
+# Module Runtime
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Getopt::Long) >= 2.37
+BuildRequires:	perl(Getopt::Long::Descriptive) >= 0.081
+BuildRequires:	perl(Mouse) >= 0.64
+BuildRequires:	perl(Mouse::Meta::Attribute)
+BuildRequires:	perl(Mouse::Role)
+BuildRequires:	perl(Mouse::Util::TypeConstraints)
+# Test Suite
+BuildRequires:	perl(Mouse::Meta::Class)
+BuildRequires:	perl(Scalar::Util)
+BuildRequires:	perl(Test::Exception) >= 0.21
+BuildRequires:	perl(Test::More) >= 0.88
+BuildRequires:	perl(Test::Mouse)
+BuildRequires:	perl(Test::Warn) >= 0.21
+# Optional Tests (have circular dependencies)
+%if 0%{!?perl_bootstrap:1}
+# Not yet in Fedora
+#BuildRequires:	perl(MouseX::ConfigFromFile)
+#BuildRequires:	perl(MouseX::SimpleConfig) >= 0.07
+%endif
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(Mouse) >= 0.64
+Requires:	perl(Mouse::Meta::Attribute)
+
+# Filter under-specified dependency
+%global __requires_exclude ^perl\\(Mouse\\)$
+
+%description
+This is a Mouse role that provides an alternate constructor for creating
+objects using parameters passed in from the command line.
+
+%prep
+%setup -q -n mousex-getopt-%{version}
+
+%build
+perl Build.PL --installdirs=vendor
+./Build
+
+%install
+./Build install --destdir=%{buildroot} --create_packlist=0
+
+%check
+./Build test
+
+%files
+# Note: malformed LICENSE file in 0.35 not shipped
+# https://github.com/gfx/mousex-getopt/issues/2
+%doc Changes README.md
+%{perl_vendorlib}/MouseX/
+%{_mandir}/man3/MouseX::Getopt.3*
+%{_mandir}/man3/MouseX::Getopt::Basic.3*
+%{_mandir}/man3/MouseX::Getopt::Dashes.3*
+%{_mandir}/man3/MouseX::Getopt::GLD.3*
+%{_mandir}/man3/MouseX::Getopt::Meta::Attribute.3*
+%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::NoGetopt.3*
+%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait.3*
+%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait::NoGetopt.3*
+%{_mandir}/man3/MouseX::Getopt::OptionTypeMap.3*
+%{_mandir}/man3/MouseX::Getopt::Strict.3*
+
+%changelog
+* Thu Apr 17 2014 Paul Howarth <paul at city-fan.org> - 0.35-2
+- Incorporate feedback from package review (#1088856)
+  - Don't ship bogus LICENSE file
+    (https://github.com/gfx/mousex-getopt/issues/2)
+  - Make upstream URL refer to current release
+  - Upstream wants Module::Build ≥ 0.38
+  - BR:/R: perl(Mouse::Meta::Attribute)
+  - BR: perl(Scalar::Util) for test suite
+  - R: perl(Mouse) ≥ 0.64
+
+* Thu Apr 17 2014 Paul Howarth <paul at city-fan.org> - 0.35-1
+- Update to 0.35
+  - GLD 0.097 no longer defaults to no_ignore_case (CPAN RT#93593)
+- This release by TOKUHIROM -> update source URL and directory case
+- Switch to Module::Build flow
+- Release tests no longer included
+
+* Thu Apr 17 2014 Paul Howarth <paul at city-fan.org> - 0.34-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..7dbe0cc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3f28242f250d350fc493b626f5dd6fa3  mousex-getopt-0.35.tar.gz



More information about the perl-devel mailing list