]> git.pld-linux.org Git - packages/js.git/blame - js.spec
- generate missing symlinks
[packages/js.git] / js.spec
CommitLineData
19c3fbcd
JB
1#
2# Conditional build:
10a30063 3%bcond_without threads # build thread-safe library (requires nspr)
354a2ac8 4%bcond_with java # with libjsj and lshell
19c3fbcd 5#
10a30063
AM
6%ifarch i386 i486 ppc ppc64
7%undefine with_java
8%endif
9#
286739a7 10%include /usr/lib/rpm/macros.perl
19c3fbcd
JB
11Summary: JavaScript Reference Implementation
12Summary(pl): Wzorcowa implementacja JavaScriptu
13Name: js
6744a6ec 14Version: 1.60
4406d986 15Release: 4
08fdfead 16Epoch: 1
19c3fbcd
JB
17License: GPL or Netscape Public License 1.1
18Group: Libraries
e1bd9563 19Source0: http://ftp.mozilla.org/pub/mozilla.org/js/%{name}-%{version}.tar.gz
6744a6ec 20# Source0-md5: bd8f021e43a8fbbec55ac2cd3d483243
19c3fbcd
JB
21Patch0: %{name}-makefile.patch
22URL: http://www.mozilla.org/js/
354a2ac8 23%{?with_java:BuildRequires: jdk}
6744a6ec 24%{?with_java:BuildRequires: jpackage-utils}
354a2ac8 25%{?with_threads:BuildRequires: nspr-devel}
c2b7e186 26BuildRequires: perl-devel
19c3fbcd
JB
27BuildRequires: readline-devel
28BuildRequires: rpm-perlprov
7ffb0d7b 29BuildRequires: rpmbuild(macros) >= 1.294
9fd95202 30Conflicts: njs
08550a4a 31%{?with_threads:Provides: js(threads)}
19c3fbcd
JB
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
2629887b 34%define classdir %{_datadir}/java
9fd95202 35
19c3fbcd
JB
36%description
37JavaScript Reference Implementation (codename SpiderMonkey). The
38package contains JavaScript runtime (compiler, interpreter,
39decompiler, garbage collector, atom manager, standard classes) and
40small "shell" program that can be used interactively and with .js
41files to run scripts.
42
43%description -l pl
44Wzorcowa implementacja JavaScriptu (o nazwie kodowej SpiderMonkey).
45