nodejs-closure-compiler/nodejs-closure-compiler.spec

43 lines
1.3 KiB
RPMSpec
Raw Normal View History

2020-08-20 10:32:03 +08:00
Name: nodejs-closure-compiler
2022-06-30 08:47:50 +00:00
Version: 0.2.12
Release: 1
2020-08-20 10:32:03 +08:00
Summary: Bindings to Google's Closure Compiler for Node.js
License: MIT
URL: https://github.com/tim-smart/node-closure
2020-09-08 10:12:24 +08:00
Source0: https://github.com/tim-smart/node-closure/archive/v%{version}.tar.gz
2020-08-20 10:32:03 +08:00
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
2020-08-20 10:32:03 +08:00
%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
2022-06-30 08:47:50 +00:00
* Thu Jun 30 2022 chenchen <chen_aka_jan@163.com> - 0.2.12-1
- Update to 0.2.12
* Wed Jun 09 2021 zhaoyao <zhaoyao32@huawei.com> - 0.2.10-2
- %prep no longer patch with git
2020-08-20 10:32:03 +08:00
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.2.10-1
- package init