!2 add package

From: @fly_fzc
Reviewed-by: @solarhu
Signed-off-by: @solarhu
This commit is contained in:
openeuler-ci-bot 2020-09-14 18:53:11 +08:00 committed by Gitee
commit 76197885ad
4 changed files with 58 additions and 0 deletions

18
LICENSE Normal file
View File

@ -0,0 +1,18 @@
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

BIN
console.log-0.1.3.tgz Normal file

Binary file not shown.

View File

@ -0,0 +1,36 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-console-dot-log
Version: 0.1.3
Release: 1
Summary: A console.log implementation that plays nice with large amounts of data
License: MIT
URL: https://developer.mozilla.org/en-US/docs/Web/API/Console/log
Source0: http://registry.npmjs.org/console.log/-/console.log-%{version}.tgz
Source20: LICENSE
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
BuildRequires: nodejs-packaging
%description
A console.log implementation that plays nice with large amounts of data.
It keeps the node alive until the output has flushed to the screen.
%prep
%setup -q -n package
cp -a %{SOURCE20} .
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/console.log
cp -pr package.json console.log.js \
%{buildroot}%{nodejs_sitelib}/console.log
%nodejs_symlink_deps
%files
%doc LICENSE README.md
%{nodejs_sitelib}/console.log
%changelog
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.1.3-1
- package init

View File

@ -0,0 +1,4 @@
version_control: npm
src_repo: http://registry.npmjs.org/console.log
tag_prefix: NA
seperator: NA