/[packages]/updates/8/nodejs/current/SPECS/nodejs.spec
ViewVC logotype

Contents of /updates/8/nodejs/current/SPECS/nodejs.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1599457 - (show annotations) (download)
Sat Jun 27 06:51:46 2020 UTC (3 years, 9 months ago) by joequant
Original Path: cauldron/nodejs/current/SPECS/nodejs.spec
File size: 19500 byte(s)
fix macros

1 # This package is synced with Fedora.
2
3 # This package is tricky since it requires a working nodejs to build nodejs
4 # This causes problems if a broken nodejs gets into the repo
5
6 # To build it from bootstrap
7 # build a version with bootstrap. Change nodejs-tarball.sh to not strip out
8 # the bundled libraries
9 #
10 # Once you have a working bootstrapped version, turn off bootstrap and
11 # build with a nodejs-tarball.sh that strips out the bundled directories
12
13 # bundle dependencies that are not available as Mageia modules
14 # %%{!?_with_bootstrap: %%global bootstrap 1}
15 # use bcond for building modules
16 %bcond_without bootstrap
17
18 %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
19
20 # == Node.js Version ==
21 # Note: Mageia should only ship LTS versions of Node.js (currently expected
22 # to be major versions with even numbers). The odd-numbered versions are new
23 # feature releases that are only supported for nine months, which is shorter
24 # than a Mageia release lifecycle.
25 %global nodejs_epoch 1
26 %global nodejs_major 14
27 %global nodejs_minor 4
28 %global nodejs_patch 0
29 %global nodejs_abi %{nodejs_major}.%{nodejs_minor}
30 %global nodejs_soversion 83
31 %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
32 %global nodejs_release %{rel}
33 # ensure compatibility with the mass_rebuild bot
34 %define rel 3
35
36 # == Bundled Dependency Versions ==
37 # v8 - from deps/v8/include/v8-version.h
38 # Epoch is set to ensure clean upgrades from the old v8 package
39 %global v8_epoch 2
40 %global v8_major 8
41 %global v8_minor 1
42 %global v8_build 307
43 %global v8_patch 31
44 # V8 presently breaks ABI at least every x.y release while never bumping SONAME
45 %global v8_abi %{v8_major}.%{v8_minor}
46 %global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch}
47
48 # c-ares - from deps/cares/include/ares_version.h
49 # https://github.com/nodejs/node/pull/9332
50 %global c_ares_major 1
51 %global c_ares_minor 16
52 %global c_ares_patch 0
53 %global c_ares_version %{c_ares_major}.%{c_ares_minor}.%{c_ares_patch}
54
55 # llhttp - from deps/llhttp/include/llhttp.h
56 %global llhttp_major 2
57 %global llhttp_minor 0
58 %global llhttp_patch 4
59 %global llhttp_version %{llhttp_major}.%{llhttp_minor}.%{llhttp_patch}
60
61 # libuv - from deps/uv/include/uv/version.h
62 %global libuv_major 1
63 %global libuv_minor 37
64 %global libuv_patch 0
65 %global libuv_version %{libuv_major}.%{libuv_minor}.%{libuv_patch}
66
67 # nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h
68 %global nghttp2_major 1
69 %global nghttp2_minor 41
70 %global nghttp2_patch 0
71 %global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch}
72
73 # ICU - from tools/icu/current_ver.dep
74 %global icu_major 67
75 %global icu_minor 1
76 %global icu_version %{icu_major}.%{icu_minor}
77
78 # uvwasi - from deps/uvwasi/include/uvwasi.h
79 %global uvwasi_major 0
80 %global uvwasi_minor 0
81 %global uvwasi_patch 8
82 %global uvwasi_version %{uvwasi_major}.%{uvwasi_minor}.%{uvwasi_patch}
83
84 # histogram_c - assumed from timestamps
85 %global histogram_major 0
86 %global histogram_minor 9
87 %global histogram_patch 7
88 %global histogram_version %{histogram_major}.%{histogram_minor}.%{histogram_patch}
89
90
91 #%if 0%{?mageia} >= 7
92 #%global icu_flag system-icu
93 #%else
94 %global icu_flag small-icu
95 #%endif
96
97
98 # punycode - from lib/punycode.js
99 # Note: this was merged into the mainline since 0.6.x
100 # Note: this will be unmerged in an upcoming major release
101 %global punycode_major 2
102 %global punycode_minor 1
103 %global punycode_patch 0
104 %global punycode_version %{punycode_major}.%{punycode_minor}.%{punycode_patch}
105
106 # npm - from deps/npm/package.json
107 %global npm_epoch 1
108 %global npm_major 6
109 %global npm_minor 14
110 %global npm_patch 5
111 %global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
112
113 # In order to avoid needing to keep incrementing the release version for the
114 # main package forever, we will just construct one for npm that is guaranteed
115 # to increment safely. Changing this can only be done during an update when the
116 # base npm version number is increasing.
117 %global npm_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release}
118
119
120 Name: nodejs
121 Epoch: %{nodejs_epoch}
122 Version: %{nodejs_version}
123 Release: %mkrel %{nodejs_release}
124 Summary: JavaScript runtime
125 License: MIT and ASL 2.0 and ISC and BSD
126 Group: Development/Other
127 URL: https://nodejs.org/
128
129 # ExclusiveArch: %{nodejs_arches}
130
131 # nodejs bundles openssl, but we use the system version in Mageia
132 # because openssl contains prohibited code, we remove openssl completely from
133 # the tarball, using the script in Source100
134
135 Source0: node-v%{nodejs_version}-stripped.tar.xz
136 Source100: %{name}-tarball.sh
137
138 # The native module Requires generator remains in the nodejs SRPM, so it knows
139 # the nodejs and v8 versions. The remainder has migrated to the
140 # nodejs-packaging SRPM.
141 Source7: nodejs_native.attr
142
143 # Disable running gyp on bundled deps we don't use
144 Patch1: 0001-Disable-running-gyp-on-shared-deps.patch
145 Patch3: 0002-Install-both-binaries-and-use-libdir.patch
146
147 BuildRequires: python3-devel
148 BuildRequires: zlib-devel
149 BuildRequires: brotli-devel
150 BuildRequires: gcc >= 4.9.4
151 BuildRequires: gcc-c++ >= 4.9.4
152 BuildRequires: chrpath
153 BuildRequires: libatomic-devel
154
155 #%if ! 0%%{?bootstrap}
156 %if %{with bootstrap}
157 Provides: bundled(libuv) = %{libuv_version}
158 Provides: bundled(nghttp2) = %{nghttp2_version}
159 %else
160 BuildRequires: nodejs-packaging
161 BuildRequires: systemtap
162 BuildRequires: http-parser-devel >= 2.9.2
163 BuildRequires: libuv-devel >= %{libuv_version}
164 BuildRequires: pkgconfig(libnghttp2) >= %{nghttp2_version}
165 %endif
166
167 BuildRequires: libicu-devel >= 63.1
168 BuildRequires: openssl-devel >= 1.1.1c
169
170 # we need the system certificate store
171 Requires: ca-certificates
172
173 Requires: nodejs-libs = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
174
175
176 #we need ABI virtual provides where SONAMEs aren't enough/not present so deps
177 #break when binary compatibility is broken
178 Provides: nodejs(abi) = %{nodejs_abi}
179 Provides: nodejs(abi%{nodejs_major}) = %{nodejs_abi}
180 Provides: nodejs(v8-abi) = %{v8_abi}
181 Provides: nodejs(v8-abi%{v8_major}) = %{v8_abi}
182
183 #this corresponds to the "engine" requirement in package.json
184 Provides: nodejs(engine) = %{nodejs_version}
185
186 # Node.js currently has a conflict with the 'node' package in Mageia
187 # The ham-radio group has agreed to rename their binary for us, but
188 # in the meantime, we're setting an explicit Conflicts: here
189 Conflicts: node <= 0.3.2-12
190
191 # The punycode module was absorbed into the standard library in v0.6.
192 # It still exists as a seperate package for the benefit of users of older
193 # versions. Since we've never shipped anything older than v0.10 in Mageia,
194 # we don't need the seperate nodejs-punycode package, so we Provide it here so
195 # dependent packages don't need to override the dependency generator.
196 # See also: RHBZ#11511811
197 # UPDATE: punycode will be deprecated and so we should unbundle it in Node v8
198 # and use upstream module instead
199 # https://github.com/nodejs/node/commit/29e49fc286080215031a81effbd59eac092fff2f
200 Provides: nodejs-punycode = %{punycode_version}
201 Provides: npm(punycode) = %{punycode_version}
202
203
204 # Node.js has forked c-ares from upstream in an incompatible way, so we need
205 # to carry the bundled version internally.
206 # See https://github.com/nodejs/node/commit/766d063e0578c0f7758c3a965c971763f43fec85
207 Provides: bundled(c-ares) = %{c_ares_version}
208
209 # Node.js is closely tied to the version of v8 that is used with it. It makes
210 # sense to use the bundled version because upstream consistently breaks ABI
211 # even in point releases. Node.js upstream has now removed the ability to build
212 # against a shared system version entirely.
213 # See https://github.com/nodejs/node/commit/d726a177ed59c37cf5306983ed00ecd858cfbbef
214 Provides: bundled(v8) = %{v8_version}
215
216 # Node.js is bound to a specific version of ICU which may not match the OS
217 # We cannot pin the OS to this version of ICU because every update includes
218 # an ABI-break, so we'll use the bundled copy.
219 Provides: bundled(icu) = %{icu_version}
220
221 # Upstream added new dependencies, but so far they are not available in Fedora
222 # or there's no option to built it as a shared dependency, so we bundle them
223 Provides: bundled(uvwasi) = %{uvwasi_version}
224 Provides: bundled(histogram) = %{histogram_version}
225
226 # Make sure we keep NPM up to date when we update Node.js
227 Requires: npm = %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist}
228
229 %description
230 Node.js is a platform built on Chrome's JavaScript runtime
231 for easily building fast, scalable network applications.
232 Node.js uses an event-driven, non-blocking I/O model that
233 makes it lightweight and efficient, perfect for data-intensive
234 real-time applications that run across distributed devices.
235
236 %package devel
237 Summary: JavaScript runtime - development headers
238 Group: Development/Other
239 Requires: %{name} = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
240 Requires: openssl-devel
241 Requires: zlib-devel
242 Requires: nodejs-packaging
243
244 #%if ! 0%%{?bootstrap}
245 %if %{with bootstrap}
246 # deps are bundled
247 %else
248 Requires: http-parser-devel
249 Requires: libuv-devel
250 %endif
251
252 %description devel
253 Development headers for the Node.js JavaScript runtime.
254
255 %package libs
256 Summary: Node.js and v8 libraries
257
258 # Compatibility for obsolete v8 package
259 %if 0%{?__isa_bits} == 64
260 Provides: libv8.so.%{v8_major}()(64bit)
261 Provides: libv8_libbase.so.%{v8_major}()(64bit)
262 Provides: libv8_libplatform.so.%{v8_major}()(64bit)
263 %else # 32-bits
264 Provides: libv8.so.%{v8_major}
265 Provides: libv8_libbase.so.%{v8_major}
266 Provides: libv8_libplatform.so.%{v8_major}
267 %endif
268
269 Provides: v8 = %{v8_epoch}:%{v8_version}-%{nodejs_release}%{?dist}
270 Provides: v8 = %{v8_epoch}:%{v8_version}-%{nodejs_release}%{?dist}
271 Obsoletes: v8 < 1:6.7.17-10
272
273 %description libs
274 Libraries to support Node.js and provide stable v8 interfaces.
275
276 %package -n v8-devel
277 Summary: v8 - development headers
278 Epoch: %{v8_epoch}
279 Version: %{v8_version}%{?dist}
280 Requires: %{name}-devel = %{nodejs_epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
281
282 %description -n v8-devel
283 Development headers for the v8 runtime.
284
285 %package -n npm
286 Summary: Node.js Package Manager
287 Epoch: %{npm_epoch}
288 Version: %{npm_version}
289 Release: %{npm_release}%{?dist}
290
291 # We used to ship npm separately, but it is so tightly integrated with Node.js
292 # (and expected to be present on all Node.js systems) that we ship it bundled
293 # now.
294 Obsoletes: npm < 0:3.5.4-6
295 Provides: npm = %{npm_epoch}:%{npm_version}
296 Requires: nodejs = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
297
298 # Do not add epoch to the virtual NPM provides or it will break
299 # the automatic dependency-generation script.
300 Provides: npm(npm) = %{npm_version}
301
302 %description -n npm
303 npm is a package manager for node.js. You can use it to install and publish
304 your node programs. It manages dependencies and does other cool stuff.
305
306 %package docs
307 Summary: Node.js API documentation
308 Group: Documentation
309 BuildArch: noarch
310
311 # We don't require that the main package be installed to
312 # use the docs, but if it is installed, make sure the
313 # version always matches
314 Conflicts: %{name} > %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
315 Conflicts: %{name} < %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
316
317 %description docs
318 The API documentation for the Node.js JavaScript runtime.
319
320
321 %prep
322 %autosetup -p1 -n node-v%{nodejs_version}
323
324 # remove bundled dependencies that we aren't building
325 rm -rf deps/zlib
326 rm -rf deps/brotli
327
328 # Replace any instances of unversioned python' with python3
329 pathfix.py -i %{__python3} -pn $(find -type f ! -name "*.js")
330 find . -type f -exec sed -i "s~/usr\/bin\/env python~/usr/bin/python3~" {} \;
331 find . -type f -exec sed -i "s~/usr\/bin\/python\W~/usr/bin/python3~" {} \;
332 sed -i "s~python~python3~" $(find . -type f | grep "gyp$")
333 sed -i "s~usr\/bin\/python2~usr\/bin\/python3~" ./deps/v8/tools/gen-inlining-tests.py
334 sed -i "s~usr\/bin\/python.*$~usr\/bin\/python3~" ./deps/v8/tools/mb/mb_unittest.py
335 find . -type f -exec sed -i "s~python -c~python3 -c~" {} \;
336
337 %build
338
339 %ifarch s390 s390x %{arm} %ix86
340 # Decrease debuginfo verbosity to reduce memory consumption during final
341 # library linking
342 %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
343 %endif
344
345 export CC='%{__cc}'
346 export CXX='%{__cxx}'
347
348 # build with debugging symbols and add defines from libuv (#892601)
349 # Node's v8 breaks with GCC 6 because of incorrect usage of methods on
350 # NULL objects. We need to pass -fno-delete-null-pointer-checks
351 export CFLAGS='%{optflags} \
352 -D_LARGEFILE_SOURCE \
353 -D_FILE_OFFSET_BITS=64 \
354 -DZLIB_CONST \
355 -fno-delete-null-pointer-checks'
356 export CXXFLAGS='%{optflags} \
357 -D_LARGEFILE_SOURCE \
358 -D_FILE_OFFSET_BITS=64 \
359 -DZLIB_CONST \
360 -fno-delete-null-pointer-checks'
361
362 # Explicit new lines in C(XX)FLAGS can break naive build scripts
363 export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')"
364 export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')"
365 export LDFLAGS="%{build_ldflags}"
366
367 #%if ! 0%%{?bootstrap}
368 %if %{with bootstrap}
369 %{__python3} configure.py --prefix=%{_prefix} \
370 --shared \
371 --libdir=%{_lib} \
372 --shared-openssl \
373 --shared-zlib \
374 --shared-brotli \
375 --without-dtrace \
376 --with-intl=small-icu \
377 --debug-nghttp2 \
378 --openssl-use-def-ca-store
379 %else
380 %{__python3} configure.py --prefix=%{_prefix} \
381 --shared \
382 --libdir=%{_lib} \
383 --shared-openssl \
384 --shared-zlib \
385 --shared-brotli \
386 --shared-libuv \
387 --shared-nghttp2 \
388 --with-dtrace \
389 --with-intl=%{icu_flag} \
390 --debug-nghttp2 \
391 --openssl-use-def-ca-store
392 %endif
393
394 %__make BUILDTYPE=Release %{?_smp_mflags}
395
396
397 %install
398 ./tools/install.py install %{buildroot} %{_prefix}
399
400 # Set the binary permissions properly
401 chmod 0755 %{buildroot}/%{_bindir}/node
402 chrpath --delete %{buildroot}%{_bindir}/node
403
404 # Install library symlink
405 ln -s %{_libdir}/libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/libnode.so
406
407 # Install v8 compatibility symlinks
408 for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do
409 header=$(basename ${header})
410 ln -s %{_includedir}/node/${header} %{buildroot}%{_includedir}/${header}
411 done
412 for soname in libv8 libv8_libbase libv8_libplatform; do
413 ln -s %{_libdir}/libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so
414 ln -s %{_libdir}/libnode.so.%{nodejs_soversion} %{buildroot}%{_libdir}/${soname}.so.%{v8_major}
415 done
416
417 # own the sitelib directory
418 mkdir -p %{buildroot}%{_prefix}/lib/node_modules
419
420 # ensure Requires are added to every native module that match the Provides from
421 # the nodejs build in the buildroot
422 install -Dpm0644 %{SOURCE7} %{buildroot}%{_rpmconfigdir}/fileattrs/nodejs_native.attr
423 cat << EOF > %{buildroot}%{_rpmconfigdir}/nodejs_native.req
424 #!/bin/sh
425 echo 'nodejs(abi%{nodejs_major}) >= %nodejs_abi'
426 echo 'nodejs(v8-abi%{v8_major}) >= %v8_abi'
427 EOF
428 chmod 0755 %{buildroot}%{_rpmconfigdir}/nodejs_native.req
429
430 #install documentation
431 mkdir -p %{buildroot}%{_pkgdocdir}/html
432 cp -pr doc/* %{buildroot}%{_pkgdocdir}/html
433 rm -f %{buildroot}%{_pkgdocdir}/html/nodejs.1
434
435 #node-gyp needs common.gypi too
436 mkdir -p %{buildroot}%{_datadir}/node
437 cp -p common.gypi %{buildroot}%{_datadir}/node
438
439 # Install the GDB init tool into the documentation directory
440 mv %{buildroot}/%{_datadir}/doc/node/gdbinit %{buildroot}/%{_pkgdocdir}/gdbinit
441
442 # install NPM docs to mandir
443 mkdir -p %{buildroot}%{_mandir} \
444 %{buildroot}%{_pkgdocdir}/npm
445
446 cp -pr deps/npm/man/* %{buildroot}%{_mandir}/
447 rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/man
448 ln -sf %{_mandir} %{buildroot}%{_prefix}/lib/node_modules/npm/man
449
450
451 # Install Gatsby HTML documentation to %{_pkgdocdir}
452 cp -pr deps/npm/docs %{buildroot}%{_pkgdocdir}/npm/
453 rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/docs
454
455 ln -sf %{_pkgdocdir}/npm %{buildroot}%{_prefix}/lib/node_modules/npm/docs
456
457 # Node tries to install some python files into a documentation directory
458 # (and not the proper one). Remove them for now until we figure out what to
459 # do with them.
460 rm -f %{buildroot}/%{_defaultdocdir}/node/lldb_commands.py \
461 %{buildroot}/%{_defaultdocdir}/node/lldbinit
462
463 # Some NPM bundled deps are executable but should not be. This causes
464 # unnecessary automatic dependencies to be added. Make them not executable.
465 # Skip the npm bin directory or the npm binary will not work.
466 find %{buildroot}%{_prefix}/lib/node_modules/npm \
467 -not -path "%{buildroot}%{_prefix}/lib/node_modules/npm/bin/*" \
468 -executable -type f \
469 -exec chmod -x {} \;
470
471 # The above command is a little overzealous. Add a few permissions back.
472 chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp
473 chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
474
475
476 %check
477 # Fail the build if the versions don't match
478 LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.node, '%{nodejs_version}')"
479 LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.v8.replace(/-node\.\d+$/, ''), '%{v8_version}')"
480 LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.ares.replace(/-DEV$/, ''), '%{c_ares_version}')"
481
482 # Ensure we have punycode and that the version matches
483 LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')"
484
485 # Ensure we have npm and that the version matches
486 NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/node_modules/npm/node_modules LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"npm\").version, '%{npm_version}')"
487
488
489 %pretrans -n npm -p <lua>
490 -- Remove all of the symlinks from the bundled npm node_modules directory
491 -- This scriptlet can be removed in Mageia 31
492 base_path = "%{_prefix}/lib/node_modules/npm/node_modules/"
493 d_st = posix.stat(base_path)
494 if d_st then
495 for f in posix.files(base_path) do
496 path = base_path..f
497 st = posix.stat(path)
498 if st and st.type == "link" then
499 os.remove(path)
500 end
501 end
502 end
503
504 %files
505 %{_bindir}/node
506 %dir %{_prefix}/lib/node_modules
507 %dir %{_datadir}/node
508 %dir %{_datadir}/systemtap
509 %dir %{_datadir}/systemtap/tapset
510 %{_datadir}/systemtap/tapset/node.stp
511
512 #%if ! 0%%{?bootstrap}
513 %if %{with bootstrap}
514 # no dtrace
515 %else
516 %dir %{_usr}/lib/dtrace
517 %{_usr}/lib/dtrace/node.d
518 %endif
519
520 %{_rpmconfigdir}/fileattrs/nodejs_native.attr
521 %{_rpmconfigdir}/nodejs_native.req
522 %license LICENSE
523 %doc AUTHORS CHANGELOG.md GOVERNANCE.md README.md
524 %doc %{_mandir}/man1/node.1*
525
526
527 %files devel
528 %{_includedir}/node
529 %{_libdir}/libnode.so
530 %{_datadir}/node/common.gypi
531 %{_pkgdocdir}/gdbinit
532
533
534 %files libs
535 %{_libdir}/libnode.so.%{nodejs_soversion}
536 %{_libdir}/libv8.so.%{v8_major}
537 %{_libdir}/libv8_libbase.so.%{v8_major}
538 %{_libdir}/libv8_libplatform.so.%{v8_major}
539
540
541 %files -n v8-devel
542 %{_includedir}/libplatform
543 %{_includedir}/v8*.h
544 %{_libdir}/libv8.so
545 %{_libdir}/libv8_libbase.so
546 %{_libdir}/libv8_libplatform.so
547
548
549 %files -n npm
550 %{_bindir}/npm
551 %{_bindir}/npx
552 %{_prefix}/lib/node_modules/npm
553 %ghost %{_sysconfdir}/npmrc
554 %ghost %{_sysconfdir}/npmignore
555 %doc %{_mandir}/man*/npm*
556 %doc %{_mandir}/man*/npx*
557 %doc %{_mandir}/man7/semver.7*
558 %doc %{_mandir}/man5/*.5.xz
559 %doc %{_mandir}/man7/*.7.xz
560
561 %files docs
562 %dir %{_pkgdocdir}
563 %{_pkgdocdir}/html
564 %{_pkgdocdir}/npm/docs

  ViewVC Help
Powered by ViewVC 1.1.30