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 - 0.009-1 - Initial release