46 lines
1.1 KiB
RPMSpec
46 lines
1.1 KiB
RPMSpec
|
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
|