]>
Commit | Line | Data |
---|---|---|
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 |
11 | Summary: JavaScript Reference Implementation |
12 | Summary(pl): Wzorcowa implementacja JavaScriptu | |
13 | Name: js | |
6744a6ec | 14 | Version: 1.60 |
4406d986 | 15 | Release: 4 |
08fdfead | 16 | Epoch: 1 |
19c3fbcd JB |
17 | License: GPL or Netscape Public License 1.1 |
18 | Group: Libraries | |
e1bd9563 | 19 | Source0: http://ftp.mozilla.org/pub/mozilla.org/js/%{name}-%{version}.tar.gz |
6744a6ec | 20 | # Source0-md5: bd8f021e43a8fbbec55ac2cd3d483243 |
19c3fbcd JB |
21 | Patch0: %{name}-makefile.patch |
22 | URL: 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 | 26 | BuildRequires: perl-devel |
19c3fbcd JB |
27 | BuildRequires: readline-devel |
28 | BuildRequires: rpm-perlprov | |
7ffb0d7b | 29 | BuildRequires: rpmbuild(macros) >= 1.294 |
9fd95202 | 30 | Conflicts: njs |
08550a4a | 31 | %{?with_threads:Provides: js(threads)} |
19c3fbcd JB |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
2629887b | 34 | %define classdir %{_datadir}/java |
9fd95202 | 35 | |
19c3fbcd JB |
36 | %description |
37 | JavaScript Reference Implementation (codename SpiderMonkey). The | |
38 | package contains JavaScript runtime (compiler, interpreter, | |
39 | decompiler, garbage collector, atom manager, standard classes) and | |
40 | small "shell" program that can be used interactively and with .js | |
41 | files to run scripts. | |
42 | ||
43 | %description -l pl | |
44 | Wzorcowa implementacja JavaScriptu (o nazwie kodowej SpiderMonkey). | |
45 |