]>
Commit | Line | Data |
---|---|---|
19c3fbcd JB |
1 | # |
2 | # Conditional build: | |
354a2ac8 JB |
3 | %bcond_with threads # build thread-safe library (requires nspr) |
4 | %bcond_with java # with libjsj and lshell | |
19c3fbcd | 5 | # |
286739a7 | 6 | %include /usr/lib/rpm/macros.perl |
19c3fbcd JB |
7 | Summary: JavaScript Reference Implementation |
8 | Summary(pl): Wzorcowa implementacja JavaScriptu | |
9 | Name: js | |
10 | Version: 1.5 | |
5ae6f060 | 11 | %define rcver rc6a |
a4797d07 | 12 | Release: 1.%{rcver}.1 |
08fdfead | 13 | Epoch: 1 |
19c3fbcd JB |
14 | License: GPL or Netscape Public License 1.1 |
15 | Group: Libraries | |
ccad8e05 | 16 | Source0: http://ftp.mozilla.org/pub/mozilla.org/js/%{name}-%{version}-%{rcver}.tar.gz |
5ae6f060 | 17 | # Source0-md5: 25e1d1dd2674d85883391b6b42a7b02f |
19c3fbcd JB |
18 | Patch0: %{name}-makefile.patch |
19 | URL: http://www.mozilla.org/js/ | |
354a2ac8 JB |
20 | %{?with_java:BuildRequires: jdk} |
21 | %{?with_threads:BuildRequires: nspr-devel} | |
c2b7e186 | 22 | BuildRequires: perl-devel |
19c3fbcd JB |
23 | BuildRequires: readline-devel |
24 | BuildRequires: rpm-perlprov | |
9fd95202 | 25 | Conflicts: njs |
19c3fbcd JB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
2629887b | 28 | %define classdir %{_datadir}/java |
9fd95202 | 29 | |
19c3fbcd JB |
30 | %description |
31 | JavaScript Reference Implementation (codename SpiderMonkey). The | |
32 | package contains JavaScript runtime (compiler, interpreter, | |
33 | decompiler, garbage collector, atom manager, standard classes) and | |
34 | small "shell" program that can be used interactively and with .js | |
35 | files to run scripts. | |
36 | ||
37 | %description -l pl | |
38 | Wzorcowa implementacja JavaScriptu (o nazwie kodowej SpiderMonkey). | |
39 |