# Active start: 2020-10-27
# Maintenance start: October 2020
# Maintenance end: April 2023
# Active start: 2020-10-27
# Maintenance start: October 2020
# Maintenance end: April 2023
License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
Source0: https://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
Source0: https://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
# force node to use /usr/lib/node as the systemwide module directory
Patch2: %{name}-libpath.patch
# use /usr/lib64/node as an arch-specific module dir when appropriate
# force node to use /usr/lib/node as the systemwide module directory
Patch2: %{name}-libpath.patch
# use /usr/lib64/node as an arch-specific module dir when appropriate
Patch4: 0001-Disable-running-gyp-on-shared-deps.patch
Patch5: 0002-Install-both-binaries-and-use-libdir.patch
URL: https://nodejs.org/
Patch4: 0001-Disable-running-gyp-on-shared-deps.patch
Patch5: 0002-Install-both-binaries-and-use-libdir.patch
URL: https://nodejs.org/
BuildRequires: gcc >= 6:6.3
%if %{with http_parser}
BuildRequires: http-parser-devel >= 2.9.3
BuildRequires: llhttp-devel >= 2.1.3
%endif
BuildRequires: gcc >= 6:6.3
%if %{with http_parser}
BuildRequires: http-parser-devel >= 2.9.3
BuildRequires: llhttp-devel >= 2.1.3
%endif
%{?with_system_brotli:BuildRequires: libbrotli-devel >= 1.0.9}
BuildRequires: libicu-devel >= 67
BuildRequires: libstdc++-devel >= 6:4.8
%{?with_system_brotli:BuildRequires: libbrotli-devel >= 1.0.9}
BuildRequires: libicu-devel >= 67
BuildRequires: libstdc++-devel >= 6:4.8