Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-P
perl-Perinci-Access-HTTP-Server
perl-Perinci-Access-HTTP-Server.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Perinci-Access-HTTP-Server.spec of Package perl-Perinci-Access-HTTP-Server
# # spec file for package perl-Perinci-Access-HTTP-Server # # 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-Perinci-Access-HTTP-Server Version: 0.620 Release: 0 %define cpan_name Perinci-Access-HTTP-Server Summary: PSGI application to implement Riap::HTTP License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Perinci-Access-HTTP-Server/ Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Clean::FromJSON) >= 0.11 BuildRequires: perl(Data::Clean::JSON) >= 0.38 BuildRequires: perl(File::ShareDir::Install) >= 0.06 BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(Log::ger) >= 0.023 BuildRequires: perl(Log::ger::Output) >= 0.005 BuildRequires: perl(Log::ger::Output::Callback) BuildRequires: perl(Log::ger::Util) >= 0.008 BuildRequires: perl(Module::Patch) >= 0.26 BuildRequires: perl(Perinci::Access::HTTP::Client) >= 0.14 BuildRequires: perl(Perinci::Access::Schemeless) >= 0.87 BuildRequires: perl(Perinci::AccessUtil) >= 0.05 BuildRequires: perl(Perinci::Result::Format) >= 0.31 BuildRequires: perl(Perinci::Sub::GetArgs::Array) >= 0.16 BuildRequires: perl(Plack::Builder) BuildRequires: perl(Plack::Middleware) BuildRequires: perl(Plack::Request) BuildRequires: perl(Plack::Test) BuildRequires: perl(Plack::Util) BuildRequires: perl(Plack::Util::Accessor) BuildRequires: perl(String::Util::Match) BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(URI::Escape) BuildRequires: perl(URI::Split) BuildRequires: perl(YAML::Syck) BuildRequires: perl(parent) Requires: perl(Data::Clean::FromJSON) >= 0.11 Requires: perl(Data::Clean::JSON) >= 0.38 Requires: perl(JSON::MaybeXS) Requires: perl(Log::ger) >= 0.023 Requires: perl(Log::ger::Output) >= 0.005 Requires: perl(Log::ger::Output::Callback) Requires: perl(Log::ger::Util) >= 0.008 Requires: perl(Module::Patch) >= 0.26 Requires: perl(Perinci::Access::HTTP::Client) >= 0.14 Requires: perl(Perinci::Access::Schemeless) >= 0.87 Requires: perl(Perinci::AccessUtil) >= 0.05 Requires: perl(Perinci::Result::Format) >= 0.31 Requires: perl(Perinci::Sub::GetArgs::Array) >= 0.16 Requires: perl(Plack::Middleware) Requires: perl(Plack::Request) Requires: perl(Plack::Util) Requires: perl(Plack::Util::Accessor) Requires: perl(String::Util::Match) Requires: perl(URI::Escape) Requires: perl(URI::Split) Requires: perl(YAML::Syck) Requires: perl(parent) %{perl_requires} %description Perinci::Access::HTTP::_Server_ (PeriAHS for short) is a PSGI _application_ (a set of _middlewares_ in Plack::Middleware::PeriAHS::*, really) to implement Riap::HTTP server. You compose the middlewares, configuring each one and including only the ones you need, in your 'app.psgi', to create an API service. A simple command-line utility, peri-htserve, is also available (distributed separately, see App::PerinciUtils). This utility runs a provided PSGI application with the Gepok or Starman PSGI _server_ so you can quickly export some Perl modules/functions as an API service with one line of command. To get started, currently see the source code of *peri-htserve* to see the basic structure of the PSGI application. Also see each middleware's documentation. %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