[perl-MooX-Cmd] Initial import (#1134361).

David Dick ddick at fedoraproject.org
Thu Sep 18 09:42:14 UTC 2014


commit 8a7ce407864ef7a381cfeeec04f73941f7ea352c
Author: David Dick <ddick at cpan.org>
Date:   Thu Sep 18 19:42:07 2014 +1000

    Initial import (#1134361).

 .gitignore         |    1 +
 perl-MooX-Cmd.spec |   74 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cac6e3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooX-Cmd-0.009.tar.gz
diff --git a/perl-MooX-Cmd.spec b/perl-MooX-Cmd.spec
new file mode 100644
index 0000000..ecb1682
--- /dev/null
+++ b/perl-MooX-Cmd.spec
@@ -0,0 +1,74 @@
+Name:           perl-MooX-Cmd
+Version:        0.009
+Release:        1%{?dist}
+Summary:        Giving an easy Moo style way to make command organized CLI apps
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/MooX-Cmd/
+Source0:        http://www.cpan.org/modules/by-module/MooX/MooX-Cmd-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(IO::TieCombine)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Module::Pluggable::Object) >= 4.8
+BuildRequires:  perl(Module::Runtime)
+BuildRequires:  perl(Moo) >= 0.009013
+BuildRequires:  perl(Moo::Role)
+BuildRequires:  perl(MooX::Options)
+BuildRequires:  perl(Package::Stash) >= 0.33
+BuildRequires:  perl(Params::Util) >= 0.37
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Regexp::Common) >= 2011121001
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::Builder::Module)
+BuildRequires:  perl(Test::More) >= 0.98
+BuildRequires:  perl(Text::ParseWords)
+BuildRequires:  perl(warnings)
+Requires:       perl(IO::TieCombine)
+Requires:       perl(Module::Pluggable::Object) >= 4.8
+Requires:       perl(Moo) >= 0.009013
+Requires:       perl(Package::Stash) >= 0.33
+Requires:       perl(Params::Util) >= 0.37
+Requires:       perl(Regexp::Common) >= 2011121001
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Pluggable::Object\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Package::Stash\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Util\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Regexp::Common\\)$
+%description
+Works together with MooX::Options for every command on its own, so options
+are parsed for the specific context and used for the instantiation:
+
+%prep
+%setup -q -n MooX-Cmd-%{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 LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Aug 27 2014 David Dick <ddick at cpan.org> - 0.009-1
+- Initial release
diff --git a/sources b/sources
index e69de29..2e31f6e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+adc5b8ba2ff7659196d4babaa3a876b3  MooX-Cmd-0.009.tar.gz



More information about the perl-devel mailing list