package init
This commit is contained in:
parent
d629d807ec
commit
7c44c0966a
20
LICENSE-MIT.txt
Normal file
20
LICENSE-MIT.txt
Normal file
@ -0,0 +1,20 @@
|
||||
Copyright Irakli Gozalishvili <rfobic@gmail.com>
|
||||
|
||||
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
ansi-font-0.0.2.tgz
Normal file
BIN
ansi-font-0.0.2.tgz
Normal file
Binary file not shown.
37
nodejs-ansi-font.spec
Normal file
37
nodejs-ansi-font.spec
Normal file
@ -0,0 +1,37 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-ansi-font
|
||||
Version: 0.0.2
|
||||
Release: 1
|
||||
Summary: ANSI font styling utils
|
||||
License: MIT
|
||||
URL: https://github.com/gozala/ansi-font
|
||||
Source0: https://github.com/gozala/ansi-font/archive/v%{version}.tar.gz
|
||||
Source1: LICENSE-MIT.txt
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
ANSI font styling utils.
|
||||
|
||||
%prep
|
||||
%autosetup -n ansi-font-0.0.2
|
||||
rm -rf node_modules
|
||||
cp -pr %{SOURCE1} .
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/ansi-font
|
||||
cp -pr package.json index.js \
|
||||
%{buildroot}%{nodejs_sitelib}/ansi-font
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %doc}
|
||||
%doc Readme.md History.md
|
||||
%license LICENSE-MIT.txt
|
||||
%{nodejs_sitelib}/ansi-font
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 huanghaitao <huanghaitao8@huawei.com> - 0.0.2-1
|
||||
- package init
|
||||
4
nodejs-ansi-font.yaml
Normal file
4
nodejs-ansi-font.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: gozala/ansi-font
|
||||
tag_prefix: "v"
|
||||
seperator: "."
|
||||
BIN
v0.0.2.tar.gz
Normal file
BIN
v0.0.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user