diff --git a/LICENSE-MIT.txt b/LICENSE-MIT.txt new file mode 100644 index 0000000..dca408c --- /dev/null +++ b/LICENSE-MIT.txt @@ -0,0 +1,20 @@ +Copyright Irakli Gozalishvili + +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. diff --git a/ansi-font-0.0.2.tgz b/ansi-font-0.0.2.tgz new file mode 100644 index 0000000..3d87c46 Binary files /dev/null and b/ansi-font-0.0.2.tgz differ diff --git a/nodejs-ansi-font.spec b/nodejs-ansi-font.spec new file mode 100644 index 0000000..bdea870 --- /dev/null +++ b/nodejs-ansi-font.spec @@ -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 - 0.0.2-1 +- package init diff --git a/nodejs-ansi-font.yaml b/nodejs-ansi-font.yaml new file mode 100644 index 0000000..6fff461 --- /dev/null +++ b/nodejs-ansi-font.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: gozala/ansi-font +tag_prefix: "v" +seperator: "." diff --git a/v0.0.2.tar.gz b/v0.0.2.tar.gz new file mode 100644 index 0000000..60128c0 Binary files /dev/null and b/v0.0.2.tar.gz differ