Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
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
# vim: set sw=4 ts=4 et nu: # # spec file for package perl-MooseX-App-Cmd # # Copyright (c) 2012 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.07 Release: 0 Summary: Command module for MooseX License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/O/OF/OFFERK/MooseX-App-Cmd-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-App-Cmd BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: make BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(App::Cmd) >= 0.3 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Long::Descriptive) BuildRequires: perl(Moose) >= 0.86 BuildRequires: perl(MooseX::Getopt) >= 0.18 BuildRequires: perl(Test::use::ok) Requires: perl(App::Cmd) >= 0.3 Requires: perl(Getopt::Long::Descriptive) Requires: perl(Moose) >= 0.86 Requires: perl(MooseX::Getopt) >= 0.18 %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 "MooseX-App-Cmd-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes %dir %{perl_vendorlib}/MooseX %dir %{perl_vendorlib}/MooseX/App %{perl_vendorlib}/MooseX/App/Cmd.pm %{perl_vendorlib}/MooseX/App/Cmd %dir %{perl_vendorarch}/auto/MooseX %dir %{perl_vendorarch}/auto/MooseX/App %{perl_vendorarch}/auto/MooseX/App/Cmd %doc %{perl_man3dir}/MooseX::App::Cmd.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/MooseX::App::Cmd::*.%{perl_man3ext}%{ext_man} %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