# THIS FILE WAS GENERATED FROM THE FOLLOWING INPUTS:
#
#   exagrid/template.spec
#   yarn.lock
#   exagrid/previous.yarn.lock
#
# DO NOT EDIT.
#
Name: mega-nodejs-bundle
Summary: source package for all nodejs components we support

Version: 0
Release: 0.exagrid8

Group: System Environment/Base
License: Mixed
# Note: Run `yarn license generate-disclaimer` to produce appropriate license
# text for product UI.

Source: %{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildRequires: exagrid-dev-rpm >= 1.73.0
BuildArch: noarch
ExclusiveArch: noarch
%define exagrid_build_arches noarch
%define debug_package %{nil}

%description

This spec file is organized into source and binary package sections. This first
section has no %files entry, and thus will not produce a binary package.  It is
used only to specify build-time parameters such as BuildRequires, and to set
common values, such as Version and Release.  The following sections define the
binary packages.

%prep
%setup -q

%build
# nothing to do

%install
# -------- generated install steps and binary package definitions will follow --------
mkdir -p "%{buildroot}/%{_prefix}/lib/node"
mkdir -p "%{buildroot}/%{_prefix}/lib/node_modules"
mkdir -p "%{buildroot}/%{_prefix}/share/doc/%{name}"
install -m 644 bundle-disclaimer.txt "%{buildroot}/%{_prefix}/share/doc/%{name}/"

#-----------------------------------------------------
%package doc
Summary: bundle docs (including license bundle)

%description doc
This package contains the license bundle for all JS components that are part of
this source package.

%files doc
%{_prefix}/share/doc/%{name}/bundle-disclaimer.txt

