43 lines
1.3 KiB
RPMSpec
43 lines
1.3 KiB
RPMSpec
Name: nodejs-closure-compiler
|
|
Version: 0.2.12
|
|
Release: 1
|
|
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
|
|
* 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
|
|
|
|
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.2.10-1
|
|
- package init
|