Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Goose
perl-Goose.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Goose.spec of Package perl-Goose
# # spec file for package perl-Goose # # 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-Goose Version: 0.016 Release: 0 Summary: Multi-Use utility for manipulating subroutines, classes and more Source: http://search.cpan.org/CPAN/authors/id/B/BR/BRADH/Goose-%{version}.tar.gz Url: http://search.cpan.org/dist/Goose Group: Development/Libraries/Perl License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl-macros BuildRequires: make BuildRequires: perl(Test::More) BuildRequires: perl(ExtUtils::MakeMaker) BUildRequires: perl(Module::Install) BuildRequires: perl(Try::Tiny) Requires: perl(Try::Tiny) %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description What this module attempts to do is make a developers life easier by allowing them to manage and manipulate subroutines and modules. You can override a subroutine, then restore it as it was originally, create after, before and around hook modifiers, delete subroutines, or even tag every subroutine in a class to let you know when each one is being run, which is great for debugging. On top of all this Goose offers some minor OOP framework utilities like "extends", "exports", "accessor", "has" and "chainable". Of course if you need more I would advise Moose or Mouse. Newer versions of Goose include "Goose::Utils" which offers some basic, yet extremely handy functions for common situations, and access to Try::Tiny just by a small import attribute, ":Try". %prep %setup -q -n "Goose-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?_smp_flags} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc README Changes ignore.txt %{perl_vendorlib}/Goose.pm %{perl_vendorlib}/Goose %doc %{perl_man3dir}/Goose.%{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