Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-B
perl-Beam-Emitter
perl-Beam-Emitter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Beam-Emitter.spec of Package perl-Beam-Emitter
# # spec file for package perl-Beam-Emitter # # Copyright (c) 2017 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 http://bugs.opensuse.org/ # Name: perl-Beam-Emitter Version: 1.007 Release: 0 %define cpan_name Beam-Emitter Summary: Role for event emitting classes License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Beam-Emitter/ Source0: https://cpan.metacpan.org/authors/id/P/PR/PREACTION/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Runtime) BuildRequires: perl(Moo) BuildRequires: perl(Test::API) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Lib) BuildRequires: perl(Types::Standard) >= 0.008 Requires: perl(Module::Runtime) Requires: perl(Moo) Requires: perl(Types::Standard) >= 0.008 %{perl_requires} %description This role is used by classes that want to add callback hooks to allow users to add new behaviors to their objects. These hooks are called "events". A subscriber registers a callback for an event using the subscribe or on methods. Then, the class can call those callbacks by emitting an event with the emit() method. Using the Beam::Event class, subscribers can stop an event from being processed, or prevent the default action from happening. %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 CONTRIBUTING.md 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