package init
This commit is contained in:
parent
09f557f03d
commit
19f914f62e
BIN
ansi-0.3.0.tgz
Normal file
BIN
ansi-0.3.0.tgz
Normal file
Binary file not shown.
39
nodejs-ansi.spec
Normal file
39
nodejs-ansi.spec
Normal file
@ -0,0 +1,39 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-ansi
|
||||
Version: 0.3.0
|
||||
Release: 1
|
||||
Summary: ANSI escape codes for Node.js
|
||||
License: MIT
|
||||
URL: https://github.com/TooTallNate/ansi.js
|
||||
Source0: https://registry.npmjs.org/ansi/-/ansi-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
ansi.js is a module for Node.js that provides an easy-to-use API for writing
|
||||
ANSI escape codes to Stream instances. ANSI escape codes are used to do fancy
|
||||
things in a terminal window, like render text in colors, delete characters,
|
||||
lines, the entire window, or hide and show the cursor, and lots more!
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
chmod a-x examples/*.js examples/*/*
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/ansi
|
||||
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/ansi
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
%__nodejs -e "require('./')"
|
||||
|
||||
%files
|
||||
%doc README.md History.md examples
|
||||
%{nodejs_sitelib}/ansi
|
||||
|
||||
%changelog
|
||||
* Sat Aug 8 2020 wutao <wutao61@huawei.com> - 0.3.0-1
|
||||
- package init
|
||||
4
nodejs-ansi.yaml
Normal file
4
nodejs-ansi.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: TooTallNate/ansi.js
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user