Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-J
perl-JSON-Schema-AsType
perl-JSON-Schema-AsType.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-JSON-Schema-AsType.spec of Package perl-JSON-Schema-AsType
# # spec file for package perl-JSON-Schema-AsType # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name JSON-Schema-AsType Name: perl-JSON-Schema-AsType Version: 0.4.4 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Generates Type::Tiny types out of JSON schemas URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Clone) BuildRequires: perl(JSON) BuildRequires: perl(LWP::Simple) BuildRequires: perl(List::AllUtils) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util) BuildRequires: perl(MooseX::ClassAttribute) BuildRequires: perl(MooseX::MungeHas) BuildRequires: perl(Path::Tiny) >= 0.062 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Type::Library) BuildRequires: perl(Type::Tiny) BuildRequires: perl(Type::Tiny::Class) BuildRequires: perl(Type::Utils) BuildRequires: perl(Types::Standard) BuildRequires: perl(URI) BuildRequires: perl(parent) Requires: perl(Clone) Requires: perl(JSON) Requires: perl(LWP::Simple) Requires: perl(List::AllUtils) Requires: perl(List::MoreUtils) Requires: perl(Moose) Requires: perl(Moose::Role) Requires: perl(Moose::Util) Requires: perl(MooseX::ClassAttribute) Requires: perl(MooseX::MungeHas) Requires: perl(Path::Tiny) >= 0.062 Requires: perl(Type::Library) Requires: perl(Type::Tiny) Requires: perl(Type::Tiny::Class) Requires: perl(Type::Utils) Requires: perl(Types::Standard) Requires: perl(URI) %{perl_requires} %description This module takes in a JSON Schema (http://json-schema.org/) and turns it into a Type::Tiny type. %prep %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc AUTHOR_PLEDGE Changes CODE_OF_CONDUCT.md CONTRIBUTORS doap.xml %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