Name: nodejs-closure-compiler Version: 0.2.10 Release: 1 Summary: Bindings to Google's Closure Compiler for Node.js License: MIT URL: https://github.com/tim-smart/node-closure Source0: http://registry.npmjs.org/closure-compiler/-/closure-compiler-%{version}.tgz Patch0: nodejs-closure-compiler-invoke.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch Requires: closure-compiler BuildRequires: nodejs-packaging coffee-script %description A wrapper to the Google Closure compiler tool. It runs the jar file in a child process and returns the results in a callback. %prep %setup -q -n package %patch0 -p1 %nodejs_fixdep -r google-closure-compiler rm -rf node_modules lib/* %build cake build %install mkdir -p %{buildroot}%{nodejs_sitelib}/closure-compiler cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/closure-compiler %nodejs_symlink_deps %files %doc LICENSE.txt README.md %{nodejs_sitelib}/closure-compiler %changelog * Mon Aug 17 2020 Anan Fu - 0.2.10-1 - package init