1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
%set_verify_elf_method none %define origname nodejs %define plvl vd6u9 Name: node-blobs Version: 12.16.3.r1.0 Release: alt1.E2K.2 Summary: Evented I/O for V8 Javascript License: MIT Group: Development/Tools Source0: %{origname}_%version-%{plvl}_e2k-4c.deb Source1: %{origname}_%version-%{plvl}_e2k-8c.deb Source2: %{origname}_%version-%{plvl}_e2k-8c2.deb Source3: %{origname}_%version-%{plvl}_e2k-16c.deb Packager: Michael Shigorin <mike@altlinux.org> Provides: nodejs = %version Provides: node = %version Provides: node-devel = %version # the bundled one Provides: npm = 6.14.4 ExclusiveArch: %e2k BuildRequires: dpkg AutoReqProv: no %brp_strip_none %_bindir/* %define debug_package %nil %global __find_debuginfo_files %nil %description Node.js is a server-side JavaScript environment that uses an asynchronous event-driven model. Node's goal is to provide an easy way to build scalable network programs. This package contains precompiled binaries provided by MCST. %prep %ifarch e2kv6 dpkg-deb -x %SOURCE3 . %else %ifarch e2kv5 dpkg-deb -x %SOURCE2 . %else %ifarch e2kv4 dpkg-deb -x %SOURCE1 . %else # always fallback to e2kv3 dpkg-deb -x %SOURCE0 . %endif %endif %endif %install mkdir -p %buildroot{%_bindir,%_libexecdir,%_includedir,%_man1dir} mv -t %buildroot%_bindir -- usr/bin/* mv -t %buildroot%_libexecdir -- usr/lib/* mv -t %buildroot%_includedir -- usr/include/* rm -r %buildroot%_includedir/node/openssl/ mv -t %buildroot%_man1dir -- usr/share/man/man1/node.1 mv -t . -- usr/share/doc/node/ %files %_libexecdir/* %_includedir/* %_bindir/* %_man1dir/node.1* %doc node/* %changelog * Thu Apr 27 2023 Michael Shigorin <mike@altlinux.org> 12.16.3.r1.0-alt1.E2K.2 - P: nodejs, node, node-devel, npm * Fri Jun 10 2022 Michael Shigorin <mike@altlinux.org> 12.16.3.r1.0-alt1.E2K.1 - initial release (based on libv8-blobs spec)