Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-JE
perl-JE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-JE.spec of Package perl-JE
# # spec file for package perl-JE # # Copyright (c) 2015 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-JE Version: 0.066 Release: 0 %define cpan_name JE Summary: Pure-Perl ECMAScript (JavaScript) Engine License: This program is free software and you may redistribute it and/or modify it under the same terms as perl. 2006, 2007, 2008 by Andrew Main (Zefram). Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/JE/ Source0: http://www.cpan.org/authors/id/S/SP/SPROUT/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Date::Parse) BuildRequires: perl(Time::Zone) Requires: perl(Date::Parse) Requires: perl(Time::Zone) %{perl_requires} %description JE, short for JavaScript::Engine (imaginative, isn't it?), is a pure-Perl JavaScript engine. Here are some of its strengths: * - Easy to install (no C compiler necessary*) * - The parser can be extended/customised to support extra (or fewer) language features (not yet complete) * - All JavaScript datatypes can be manipulated directly from Perl (they all have overloaded operators) * - The JavaScript datatypes provide 'TO_JSON' methods for compatibility with JSON. JE's greatest weakness is that it's slow (well, what did you expect?). It also uses and leaks lots of memory. (There is an experimental JE::Destroyer module that solves this if you load it first and then call 'JE::Destroyer::destroy($j)' on the JE object when you have finished with it.) * If you are using perl 5.9.3 or lower, then the Tie::RefHash::Weak manpage is required. Recent versions of it require the Variable::Magic manpage, an XS module (which requires a compiler of course), but version 0.02 of the former is just pure Perl with no XS dependencies. There is currently an experimental version of the run-time engine, which is supposed to be faster, although it currently makes compilation slower. (If you serialise the compiled code and use that, you should notice a speed-up.) It will eventually replace the current one when it is complete. (It does not yet respect tainting or max_ops, or report line numbers correctly.) You can activate it by setting to 1 the ridiculously named YES_I_WANT_JE_TO_OPTIMISE environment variable, which is just a temporary hack that will later be removed. %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 %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