node-gyp/node-gyp.spec

52 lines
1.3 KiB
RPMSpec
Raw Normal View History

Name: node-gyp
Version: 8.1.0
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 May 29 2021 Automatic Build System <autodist@mambasoft.it> 8.1.0-1mamba
- automatic version update by autodist
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 8.0.0-1mamba
- automatic version update by autodist
* Sat Mar 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.2-1mamba
- package created using the webbuild interface