Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
perl-Parse-CPAN-Meta
perl-Parse-CPAN-Meta.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Parse-CPAN-Meta.spec of Package perl-Parse-CPAN-Meta
# # spec file for package perl-Parse-CPAN-Meta # # Copyright (c) 2013 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-Parse-CPAN-Meta Version: 1.4409 Release: 0 %define cpan_name Parse-CPAN-Meta Summary: Parse META.yml and META.json CPAN metadata files License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Parse-CPAN-Meta/ Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(CPAN::Meta::YAML) >= 0.008 BuildRequires: perl(JSON::PP) >= 2.27200 #BuildRequires: perl(Parse::CPAN::Meta) #BuildRequires: perl(Parse::CPAN::Meta::Test) #BuildRequires: perl(Pod::Wordlist) #BuildRequires: perl(Test::Spelling) >= 0.12 Requires: perl(CPAN::Meta::YAML) >= 0.008 Requires: perl(JSON::PP) >= 2.27200 %{perl_requires} %description *Parse::CPAN::Meta* is a parser for _META.json_ and _META.yml_ files, using the JSON::PP manpage and/or the CPAN::Meta::YAML manpage. *Parse::CPAN::Meta* provides three methods: 'load_file', 'load_json_string', and 'load_yaml_string'. These will read and deserialize CPAN metafiles, and are described below in detail. *Parse::CPAN::Meta* provides a legacy API of only two functions, based on the YAML functions of the same name. Wherever possible, identical calling semantics are used. These may only be used with YAML sources. All error reporting is done with exceptions (die'ing). Note that META files are expected to be in UTF-8 encoding, only. When converted string data, it must first be decoded from UTF-8. %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 cpanfile LICENSE perlcritic.rc 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