Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-MooseX-AttributeShortcuts
perl-MooseX-AttributeShortcuts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-MooseX-AttributeShortcuts.spec of Package perl-MooseX-AttributeShortcuts
# # spec file for package perl-MooseX-AttributeShortcuts # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # Name: perl-MooseX-AttributeShortcuts Version: 0.037 Release: 0 %define cpan_name MooseX-AttributeShortcuts Summary: Shorthand for common attribute options License: LGPL-2.1-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RS/RSRCHBOY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(Moose) >= 1.14 BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Meta::TypeConstraint) BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util) BuildRequires: perl(Moose::Util::MetaRole) BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(MooseX::Meta::TypeConstraint::Mooish) BuildRequires: perl(MooseX::Role::Parameterized) BuildRequires: perl(MooseX::Types::Common::String) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(MooseX::Util) BuildRequires: perl(Path::Class) BuildRequires: perl(Test::CheckDeps) >= 0.010 BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::Moose::More) >= 0.049 BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Test::Requires) BuildRequires: perl(aliased) BuildRequires: perl(namespace::autoclean) >= 0.24 Requires: perl(List::Util) >= 1.33 Requires: perl(Moose) >= 1.14 Requires: perl(Moose::Exporter) Requires: perl(Moose::Meta::TypeConstraint) Requires: perl(Moose::Role) Requires: perl(Moose::Util::MetaRole) Requires: perl(Moose::Util::TypeConstraints) Requires: perl(MooseX::Meta::TypeConstraint::Mooish) Requires: perl(MooseX::Role::Parameterized) Requires: perl(MooseX::Types::Common::String) Requires: perl(MooseX::Types::Moose) Requires: perl(MooseX::Util) Requires: perl(aliased) Requires: perl(namespace::autoclean) >= 0.24 %{perl_requires} %description Ever find yourself repeatedly specifying writers and builders, because there's no good shortcut to specifying them? Sometimes you want an attribute to have a read-only public interface, but a private writer. And wouldn't it be easier to just say 'builder => 1' and have the attribute construct the canonical '_build_$name' builder name for you? This package causes an attribute trait to be applied to all attributes defined to the using class. This trait extends the attribute option processing to handle the above variations. All attribute options as described in Moose or Class::MOP::Attribute remain usable, just as when this trait is not applied. %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 README %license LICENSE %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