29 |
%global nodejs_abi %{nodejs_major}.%{nodejs_minor} |
%global nodejs_abi %{nodejs_major}.%{nodejs_minor} |
30 |
%global nodejs_soversion 64 |
%global nodejs_soversion 64 |
31 |
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} |
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} |
32 |
%global nodejs_release 6 |
%global nodejs_release 7 |
33 |
|
|
34 |
# == Bundled Dependency Versions == |
# == Bundled Dependency Versions == |
35 |
# v8 - from deps/v8/include/v8-version.h |
# v8 - from deps/v8/include/v8-version.h |
163 |
# we need the system certificate store |
# we need the system certificate store |
164 |
Requires: ca-certificates |
Requires: ca-certificates |
165 |
|
|
166 |
Requires: nodejs-libs = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist} |
Requires: nodejs-libs = %{epoch}:%{nodejs_version}-%{nodejs_release} |
167 |
|
|
168 |
|
|
169 |
#we need ABI virtual provides where SONAMEs aren't enough/not present so deps |
#we need ABI virtual provides where SONAMEs aren't enough/not present so deps |
212 |
Provides: bundled(icu) = %{icu_version} |
Provides: bundled(icu) = %{icu_version} |
213 |
|
|
214 |
# Make sure we keep NPM up to date when we update Node.js |
# Make sure we keep NPM up to date when we update Node.js |
215 |
%if 0%{?rhel} |
Requires: npm = %{npm_epoch}:%{npm_version}-%{npm_release} |
|
# EPEL doesn't support Recommends, so make it strict |
|
|
Requires: npm = %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist} |
|
|
%else |
|
|
Recommends: npm = %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist} |
|
|
%endif |
|
|
|
|
216 |
|
|
217 |
%description |
%description |
218 |
Node.js is a platform built on Chrome's JavaScript runtime |
Node.js is a platform built on Chrome's JavaScript runtime |
224 |
%package devel |
%package devel |
225 |
Summary: JavaScript runtime - development headers |
Summary: JavaScript runtime - development headers |
226 |
Group: Development/Other |
Group: Development/Other |
227 |
Requires: %{name} = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist} |
Requires: %{name} = %{epoch}:%{nodejs_version}-%{nodejs_release} |
228 |
Requires: openssl-devel |
Requires: openssl-devel |
229 |
Requires: zlib-devel% |
Requires: zlib-devel |
230 |
Requires: nodejs-packaging |
Requires: nodejs-packaging |
231 |
|
|
232 |
#%if ! 0%%{?bootstrap} |
#%if ! 0%%{?bootstrap} |
254 |
Provides: libv8_libplatform.so.%{v8_major} |
Provides: libv8_libplatform.so.%{v8_major} |
255 |
%endif |
%endif |
256 |
|
|
257 |
Provides: v8 = %{v8_epoch}:%{v8_version}-%{nodejs_release}%{?dist} |
Provides: v8 = %{v8_epoch}:%{v8_version}-%{nodejs_release} |
258 |
Provides: v8 = %{v8_epoch}:%{v8_version}-%{nodejs_release}%{?dist} |
Provides: v8 = %{v8_epoch}:%{v8_version}-%{nodejs_release} |
259 |
Obsoletes: v8 < 1:6.7.17-10 |
Obsoletes: v8 < 1:6.7.17-10 |
260 |
|
|
261 |
%description libs |
%description libs |
265 |
Summary: v8 - development headers |
Summary: v8 - development headers |
266 |
Epoch: %{v8_epoch} |
Epoch: %{v8_epoch} |
267 |
Version: %{v8_version} |
Version: %{v8_version} |
268 |
Requires: %{name}-devel = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist} |
Requires: %{name}-devel = %{epoch}:%{nodejs_version}-%{nodejs_release} |
269 |
|
|
270 |
%description -n v8-devel |
%description -n v8-devel |
271 |
Development headers for the v8 runtime. |
Development headers for the v8 runtime. |
274 |
Summary: Node.js Package Manager |
Summary: Node.js Package Manager |
275 |
Epoch: %{npm_epoch} |
Epoch: %{npm_epoch} |
276 |
Version: %{npm_version} |
Version: %{npm_version} |
277 |
Release: %{npm_release}%{?dist} |
Release: %{npm_release} |
278 |
|
|
279 |
# We used to ship npm separately, but it is so tightly integrated with Node.js |
# We used to ship npm separately, but it is so tightly integrated with Node.js |
280 |
# (and expected to be present on all Node.js systems) that we ship it bundled |
# (and expected to be present on all Node.js systems) that we ship it bundled |
281 |
# now. |
# now. |
282 |
Obsoletes: npm < 0:3.5.4-6 |
Obsoletes: npm < 0:3.5.4-6 |
283 |
Provides: npm = %{npm_epoch}:%{npm_version} |
Provides: npm = %{npm_epoch}:%{npm_version} |
284 |
Requires: nodejs = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist} |
Requires: nodejs = %{epoch}:%{nodejs_version}-%{nodejs_release} |
285 |
|
|
286 |
# Do not add epoch to the virtual NPM provides or it will break |
# Do not add epoch to the virtual NPM provides or it will break |
287 |
# the automatic dependency-generation script. |
# the automatic dependency-generation script. |
299 |
# We don't require that the main package be installed to |
# We don't require that the main package be installed to |
300 |
# use the docs, but if it is installed, make sure the |
# use the docs, but if it is installed, make sure the |
301 |
# version always matches |
# version always matches |
302 |
Conflicts: %{name} > %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist} |
Conflicts: %{name} > %{epoch}:%{nodejs_version}-%{nodejs_release} |
303 |
Conflicts: %{name} < %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist} |
Conflicts: %{name} < %{epoch}:%{nodejs_version}-%{nodejs_release} |
304 |
|
|
305 |
%description docs |
%description docs |
306 |
The API documentation for the Node.js JavaScript runtime. |
The API documentation for the Node.js JavaScript runtime. |