package created using the webbuild interface [release 7.1.2-1mamba;Sat Mar 20 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:40:20 +01:00
parent 5663def2b6
commit d8ccdd9ef7
2 changed files with 46 additions and 0 deletions

View File

@ -1,2 +1,3 @@
# node-gyp # node-gyp
Node.js native addon build tool.

45
node-gyp.spec Normal file
View File

@ -0,0 +1,45 @@
Name: node-gyp
Version: 7.1.2
Release: 1mamba
Summary: Node.js native addon build tool
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/nodejs/node-gyp
Source: https://registry.npmjs.org/node-gyp/-/node-gyp-%{version}.tgz
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: nodejs
Requires: nodejs
%description
Node.js native addon build tool.
#% debug_package
%prep
%setup -q -c
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
npm install -g --prefix %{buildroot}%{_prefix} %{SOURCE0}
rm -rf %{buildroot}%{_prefix}/lib/node_modules/node-gyp/.github
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/node-gyp
%dir %{_prefix}/lib/node_modules/node-gyp
%{_prefix}/lib/node_modules/node-gyp/*
%doc package/LICENSE
%changelog
* Sat Mar 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.2-1mamba
- package created using the webbuild interface