Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Event-RPC
perl-Event-RPC.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Event-RPC.spec of Package perl-Event-RPC
# # spec file for package perl-Event-RPC # # Copyright (c) 2018 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-Event-RPC Version: 1.10 Release: 0 %define cpan_name Event-RPC Summary: Event based transparent Client/Server RPC framework License: GPL-1.0-or-later OR Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Event-RPC/ Source0: https://cpan.metacpan.org/authors/id/J/JR/JRED/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(AnyEvent) BuildRequires: perl(Event) BuildRequires: perl(Glib) BuildRequires: perl(IO::Socket::SSL) BuildRequires: perl(JSON::XS) >= 3 BuildRequires: perl(Net::SSLeay) BuildRequires: perl(Sereal) >= 3 Requires: perl(AnyEvent) Requires: perl(Event) Requires: perl(Glib) Requires: perl(IO::Socket::SSL) Requires: perl(JSON::XS) >= 3 Requires: perl(Net::SSLeay) Requires: perl(Sereal) >= 3 %{perl_requires} %description Event::RPC consists of a server and a client library. The server exports a list of classes and methods, which are allowed to be called over the network. More specific it acts as a proxy for objects created on the server side (on demand of the connected clients) which handles client side methods calls with transport of method arguments and return values. The object proxy handles refcounting and destruction of objects created by clients properly. Objects as method parameters and return values are handled as well (although with some limitations, see below). For the client the whole thing is totally transparent - once connected to the server it doesn't know whether it calls methods on local or remote objects. Also the methods on the server newer know whether they are called locally or from a connected client. Your application logic is not affected by Event::RPC at all, at least if it has a rudimentary clean OO design. For details on implementing servers and clients please refer to the man pages of Event::RPC::Server and Event::RPC::Client. %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 examples 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