Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
perl-MooseX-App-Cmd
perl-MooseX-App-Cmd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-MooseX-App-Cmd.spec of Package perl-MooseX-App-Cmd
# # spec file for package perl-MooseX-App-Cmd # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-MooseX-App-Cmd Version: 0.10 Release: 0 %define cpan_name MooseX-App-Cmd Summary: Mashes up MooseX::Getopt and App::Cmd License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MooseX-App-Cmd/ Source: http://www.cpan.org/authors/id/M/MJ/MJGARDNER/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(App::Cmd) >= 0.3 BuildRequires: perl(App::Cmd::Command) BuildRequires: perl(Getopt::Long::Descriptive) >= 0.091 BuildRequires: perl(Moose) >= 0.86 BuildRequires: perl(Moose::Object) BuildRequires: perl(MooseX::ConfigFromFile) >= 0.08 BuildRequires: perl(MooseX::Getopt) >= 0.18 BuildRequires: perl(MooseX::Has::Options) BuildRequires: perl(MooseX::MarkAsMethods) BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Test::Output) BuildRequires: perl(Test::use::ok) BuildRequires: perl(YAML) #BuildRequires: perl(MooseX::App::Cmd) #BuildRequires: perl(MooseX::App::Cmd::Command) #BuildRequires: perl(Test::ConfigFromFile) #BuildRequires: perl(Test::MyCmd) Requires: perl(App::Cmd) >= 0.3 Requires: perl(App::Cmd::Command) Requires: perl(Getopt::Long::Descriptive) >= 0.091 Requires: perl(Moose) >= 0.86 Requires: perl(Moose::Object) Requires: perl(MooseX::ConfigFromFile) >= 0.08 Requires: perl(MooseX::Getopt) >= 0.18 Requires: perl(MooseX::Has::Options) Requires: perl(MooseX::MarkAsMethods) Requires: perl(Test::use::ok) %{perl_requires} %description This module marries App::Cmd with MooseX::Getopt. Use it like App::Cmd advises (especially see App::Cmd::Tutorial), swapping App::Cmd::Command for MooseX::App::Cmd::Command. Then you can write your moose commands as Moose classes, with MooseX::Getopt defining the options for you instead of 'opt_spec' returning a Getopt::Long::Descriptive spec. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE perlcritic.rc README TODO weaver.ini %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor