Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-JSON-Any
perl-JSON-Any.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-JSON-Any.spec of Package perl-JSON-Any
# # spec file for package perl-JSON-Any # # Copyright (c) 2011 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/ # %define cpan_name JSON-Any Name: perl-JSON-Any Version: 1.29 Release: 1 Requires: perl perl-JSON perl-YAML-Syck %if 0%{?suse_version} < 1100 Requires: perl-JSON-PC %endif Requires: perl-JSON-DWIW Group: Development/Libraries/Perl License: Artistic-1.0 or GPL-1.0+ Url: http://search.cpan.org/dist/JSON-Any/ Summary: Wrapper Class for the various JSON classes Source: http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl(YAML::Syck) BuildRequires: perl-macros BuildRequires: perl(JSON::DWIW) BuildRequires: perl-JSON >= 2.02 BuildRequires: perl(JSON::XS) %description Wrapper Class for the various JSON classes. This module will provide a coherent API to bring together the various JSON modules currently on CPAN. This module will allow you to code to any JSON API and have it work regardless of which JSON module is actually installed. %prep %setup -q -n %cpan_name-%{version} %__sed -i '/^auto_install/d' Makefile.PL %__chmod 0644 lib/JSON/Any.pm %build %__perl Makefile.PL PREFIX="%{_usr}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes MANIFEST README %dir %{perl_vendorlib}/JSON %{perl_vendorlib}/JSON/Any.pm %dir %{perl_vendorarch}/auto/JSON %dir %{perl_vendorarch}/auto/JSON/Any %doc %{perl_man3dir}/JSON::Any.%{perl_man3ext}%{ext_man} %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