]> git.pld-linux.org Git - packages/js.git/blame - js.spec
- cp instead of move in %install
[packages/js.git] / js.spec
CommitLineData
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
7Summary: JavaScript Reference Implementation
8Summary(pl): Wzorcowa implementacja JavaScriptu
9Name: js
10Version: 1.5
5ae6f060 11%define rcver rc6a
a4797d07 12Release: 1.%{rcver}.1
08fdfead 13Epoch: 1
19c3fbcd
JB
14License: GPL or Netscape Public License 1.1
15Group: Libraries
ccad8e05 16Source0: http://ftp.mozilla.org/pub/mozilla.org/js/%{name}-%{version}-%{rcver}.tar.gz
5ae6f060 17# Source0-md5: 25e1d1dd2674d85883391b6b42a7b02f
19c3fbcd
JB
18Patch0: %{name}-makefile.patch
19URL: http://www.mozilla.org/js/
354a2ac8
JB
20%{?with_java:BuildRequires: jdk}
21%{?with_threads:BuildRequires: nspr-devel}
c2b7e186 22BuildRequires: perl-devel
19c3fbcd
JB
23BuildRequires: readline-devel
24BuildRequires: rpm-perlprov
9fd95202 25Conflicts: njs
19c3fbcd
JB
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
2629887b 28%define classdir %{_datadir}/java
9fd95202 29
19c3fbcd
JB
30%description
31JavaScript Reference Implementation (codename SpiderMonkey). The
32package contains JavaScript runtime (compiler, interpreter,
33decompiler, garbage collector, atom manager, standard classes) and
34small "shell" program that can be used interactively and with .js
35files to run scripts.
36
37%description -l pl
38Wzorcowa implementacja JavaScriptu (o nazwie kodowej SpiderMonkey).
39