diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c9b44cb --- /dev/null +++ b/LICENSE @@ -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. diff --git a/console.log-0.1.3.tgz b/console.log-0.1.3.tgz new file mode 100644 index 0000000..3bad630 Binary files /dev/null and b/console.log-0.1.3.tgz differ diff --git a/nodejs-console-dot-log.spec b/nodejs-console-dot-log.spec new file mode 100644 index 0000000..83ceb67 --- /dev/null +++ b/nodejs-console-dot-log.spec @@ -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 - 0.1.3-1 +- package init diff --git a/nodejs-console-dot-log.yaml b/nodejs-console-dot-log.yaml new file mode 100644 index 0000000..f8ea8e0 --- /dev/null +++ b/nodejs-console-dot-log.yaml @@ -0,0 +1,5 @@ +git_url: https://developer.mozilla.org/en-US/docs/Web/API/Console/log +version_control: registry +src_repo: http://registry.npmjs.org/console.log/- +tag_prefix: "^" +seperator: "."