commit
0af5803733
39
nodejs-eyes.spec
Normal file
39
nodejs-eyes.spec
Normal file
@ -0,0 +1,39 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
%global enable_tests 1
|
||||
Name: nodejs-eyes
|
||||
Version: 0.1.8
|
||||
Release: 1
|
||||
Summary: A customizable value inspector for Node.js
|
||||
License: MIT
|
||||
URL: https://github.com/cloudhead/eyes.js
|
||||
Source0: https://github.com/cloudhead/eyes.js/archive/v%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
%prep
|
||||
%autosetup -n eyes.js-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/eyes
|
||||
cp -pr package.json lib/ \
|
||||
%{buildroot}%{nodejs_sitelib}/eyes
|
||||
%nodejs_symlink_deps
|
||||
%if 0%{?enable_tests}
|
||||
|
||||
%check
|
||||
%__nodejs test/*-test.js
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc LICENSE README.md
|
||||
%{nodejs_sitelib}/eyes
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 0.1.8-1
|
||||
- package init
|
||||
4
nodejs-eyes.yaml
Normal file
4
nodejs-eyes.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: cloudhead/eyes.js
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
BIN
v0.1.8.tar.gz
Normal file
BIN
v0.1.8.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user