Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
perl-Moose
perl-Moose.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Moose.spec of Package perl-Moose
# # spec file for package perl-Moose # # 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-Moose Version: 2.0602 Release: 0 %define cpan_name Moose Summary: A postmodern object system for Perl 5 License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Moose/ Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz # MANUAL BEGIN Provides: perl-Class-MOP = %{version} Obsoletes: perl-Class-MOP < %{version} Patch2: perl-Moose-apply_role.patch # MANUAL END BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Load) >= 0.09 BuildRequires: perl(Class::Load::XS) >= 0.01 BuildRequires: perl(Data::OptList) >= 0.107 BuildRequires: perl(Devel::GlobalDestruction) BuildRequires: perl(Dist::CheckConflicts) >= 0.02 BuildRequires: perl(Eval::Closure) >= 0.04 BuildRequires: perl(List::MoreUtils) >= 0.28 BuildRequires: perl(MRO::Compat) >= 0.05 BuildRequires: perl(Package::DeprecationManager) >= 0.11 BuildRequires: perl(Package::Stash) >= 0.32 BuildRequires: perl(Package::Stash::XS) >= 0.24 BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(Sub::Exporter) >= 0.980 BuildRequires: perl(Sub::Name) >= 0.05 BuildRequires: perl(Task::Weaken) BuildRequires: perl(Test::Fatal) >= 0.001 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) >= 0.05 BuildRequires: perl(Try::Tiny) >= 0.02 Requires: perl(Class::Load) >= 0.09 Requires: perl(Class::Load::XS) >= 0.01 Requires: perl(Data::OptList) >= 0.107 Requires: perl(Devel::GlobalDestruction) Requires: perl(Dist::CheckConflicts) >= 0.02 Requires: perl(Eval::Closure) >= 0.04 Requires: perl(List::MoreUtils) >= 0.28 Requires: perl(MRO::Compat) >= 0.05 Requires: perl(Package::DeprecationManager) >= 0.11 Requires: perl(Package::Stash) >= 0.32 Requires: perl(Package::Stash::XS) >= 0.24 Requires: perl(Params::Util) >= 1.00 Requires: perl(Sub::Exporter) >= 0.980 Requires: perl(Sub::Name) >= 0.05 Requires: perl(Task::Weaken) Requires: perl(Try::Tiny) >= 0.02 Recommends: perl(Devel::PartialDump) >= 0.14 %{perl_requires} %description Moose is an extension of the Perl 5 object system. The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent, and less tedious. With Moose you can think more about what you want to do and less about the mechanics of OOP. Additionally, Moose is built on top of the Class::MOP manpage, which is a metaclass system for Perl 5. This means that Moose not only makes building normal Perl 5 objects better, but it provides the power of metaclass programming as well. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 # MANUAL BEGIN %if 0%{?suse_version} <= 1110 for i in `find t -type f` ; do sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i done rm -f t/test_moose/test_moose_does_ok.t rm -f t/test_moose/test_moose_has_attribute_ok.t rm -f t/test_moose/test_moose_meta_ok.t rm -f t/test_moose/with_immutable.t %else %patch2 -p0 %endif # MANUAL END %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__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 author benchmarks Changes Changes.Class-MOP doap.rdf doc eg examples LICENSE README TODO %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