Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
perl-JSON
> perl-JSON.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-JSON.spec of Package perl-JSON (Revision 3)
Currently displaying revision
3
,
show latest
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name JSON Summary: Converts Perl data to and from JavaScript Object Notation Name: perl-JSON Version: 2.53 Release: 1%{?dist} License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/JSON/ Source: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: dos2unix BuildRequires: perl(Test::More) Requires: perl(Test::More) # this module satisfies the requirements for JSON::Any Provides: perl-JSON-Any-alternative = 1.22 %description JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language. This module converts between JSON (JavaScript Object Notation) and Perl data structure into each other. For JSON, see http://www.json.org/ %prep %setup -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes MANIFEST META.yml README %doc %{_mandir}/man3/JSON.3pm* %doc %{_mandir}/man3/JSON::*.3pm* %{perl_vendorlib}/JSON/ %{perl_vendorlib}/JSON.pm %changelog