Name: nodejs-closure-compiler Version: 0.2.10 Release: 2 Summary: Bindings to Google's Closure Compiler for Node.js License: MIT URL: https://github.com/tim-smart/node-closure Source0: https://github.com/tim-smart/node-closure/archive/v%{version}.tar.gz 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 %autosetup -n node-closure-%{version} -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 * Wed Jun 09 2021 zhaoyao - 0.2.10-2 - %prep no longer patch with git * Mon Aug 17 2020 Anan Fu - 0.2.10-1 - package init