package created using the webbuild interface [release 7.1.2-1mamba;Sat Mar 20 2021]
This commit is contained in:
parent
5663def2b6
commit
d8ccdd9ef7
45
node-gyp.spec
Normal file
45
node-gyp.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user