Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-MooseX-Types
perl-MooseX-Types.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-MooseX-Types.spec of Package perl-MooseX-Types
# # spec file for package perl-MooseX-Types # # 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-Types Version: 0.35 Release: 0 %define cpan_name MooseX-Types Summary: Organise your Moose types in libraries License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MooseX-Types/ Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Carp::Clan) >= 6.00 BuildRequires: perl(Moose) >= 1.06 BuildRequires: perl(Sub::Install) >= 0.924 BuildRequires: perl(Sub::Name) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) BuildRequires: perl(namespace::clean) >= 0.19 #BuildRequires: perl(Class::MOP) #BuildRequires: perl(DecoratorLibrary) #BuildRequires: perl(IntrospectTypeExports) #BuildRequires: perl(Moose::Exporter) #BuildRequires: perl(Moose::Meta::TypeConstraint::Union) #BuildRequires: perl(Moose::Role) #BuildRequires: perl(Moose::Util::TypeConstraints) #BuildRequires: perl(MooseX::Types) #BuildRequires: perl(MooseX::Types::Base) #BuildRequires: perl(MooseX::Types::CheckedUtilExports) #BuildRequires: perl(MooseX::Types::Combine) #BuildRequires: perl(MooseX::Types::Moose) #BuildRequires: perl(MooseX::Types::TypeDecorator) #BuildRequires: perl(MooseX::Types::UndefinedType) #BuildRequires: perl(MooseX::Types::Util) #BuildRequires: perl(MooseX::Types::Wrapper) #BuildRequires: perl(Sub::Exporter) #BuildRequires: perl(SubExporterCompatibility) #BuildRequires: perl(TestLibrary) #BuildRequires: perl(TestNamespaceSep) #BuildRequires: perl(Test::Spelling) #BuildRequires: perl(TestWrapper) Requires: perl(Carp::Clan) >= 6.00 Requires: perl(Moose) >= 1.06 Requires: perl(Sub::Install) >= 0.924 Requires: perl(Sub::Name) Requires: perl(namespace::clean) >= 0.19 %{perl_requires} %description The type system provided by Moose effectively makes all of its builtin type global, as are any types you declare with Moose. This means that every module that declares a type named "PositiveInt" is sharing the same type object. This can be a problem when different parts of the code base want to use the same name for different things. This package lets you declare types using short names, but behind the scenes it namespaces all your type declarations, effectively prevent name clashes between packages. This is done by creating a type library module like 'MyApp::Types' and then importing types from that module into other modules. As a side effect, the declaration mechanism allows you to write type names as barewords (really function calls), which catches typos in names at compile time rather than run time. This module also provides some helper functions for using Moose types outside of attribute declarations. If you mix string-based names with types created by this module, it will warn, with a few exceptions. If you are declaring a 'class_type()' or 'role_type()' within your type library, or if you use a fully qualified name like '"MyApp::Foo"'. %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 README %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