Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
perl-MooseX-SimpleConfig
perl-MooseX-SimpleConfig.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-MooseX-SimpleConfig.spec of Package perl-MooseX-SimpleConfig
# vim: set sw=4 ts=4 et nu: # # spec file for package perl-MooseX-SimpleConfig # # Copyright (c) 2011 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-SimpleConfig Version: 0.09 Release: 0 Summary: A Moose role for setting attributes from a simple configfile License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-SimpleConfig-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-SimpleConfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: make BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Config::Any) >= 0.13 BuildRequires: perl(Config::General) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(Moose) >= 0.35 BuildRequires: perl(MooseX::ConfigFromFile) >= 0.02 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(YAML) Requires: perl(Test::More) >= 0.88 Requires: perl(MooseX::ConfigFromFile) >= 0.02 Requires: perl(Config::Any) >= 0.13 Requires: perl(Moose) >= 0.35 %description This role loads simple configfiles to set object attributes. It is based on the abstract role MooseX::ConfigFromFile, and uses Config::Any to load your configfile. Config::Any will in turn support any of a variety of different config formats, detected by the file extension. See Config::Any for more details about supported formats. Like all MooseX::ConfigFromFile -derived configfile loaders, this module is automatically supported by the MooseX::Getopt role as well, which allows specifying "-configfile" on the commandline. %prep %setup -q -n "MooseX-SimpleConfig-%{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 ChangeLog README %dir %{perl_vendorlib}/MooseX %{perl_vendorlib}/MooseX/SimpleConfig.pm %dir %{perl_vendorarch}/auto/MooseX %{perl_vendorarch}/auto/MooseX/SimpleConfig %doc %{perl_man3dir}/MooseX::SimpleConfig.%{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