diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..649e4b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/core-util-is-1.0.1.tgz diff --git a/.nodejs010-nodejs-core-util-is.metadata b/.nodejs010-nodejs-core-util-is.metadata new file mode 100644 index 0000000..9b842d0 --- /dev/null +++ b/.nodejs010-nodejs-core-util-is.metadata @@ -0,0 +1 @@ +6b07085aef9a3ccac6ee53bf9d3df0c1521a5538 SOURCES/core-util-is-1.0.1.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..fb71452 --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2015 Isaac Z. Schlueter + +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/SPECS/nodejs-core-util-is.spec b/SPECS/nodejs-core-util-is.spec new file mode 100644 index 0000000..6c9037c --- /dev/null +++ b/SPECS/nodejs-core-util-is.spec @@ -0,0 +1,54 @@ +# spec file for package nodejs-nodejs-core-util-is +%{?scl:%scl_package nodejs-nodejs-core-util-is} +%{!?scl:%global pkg_name %{name}} + +%global npm_name core-util-is +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-core-util-is +Version: 1.0.1 +Release: 2%{?dist} +Summary: The `util.is*` functions introduced in Node v0.12. +Url: https://github.com/isaacs/core-util-is +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +Source1: https://raw.githubusercontent.com/kasicka/core-util-is/1f0d425cbcc2941bb38f5c4a3e3026857db4c239/LICENSE +License: MIT +#Licence text can be found in lib/util.js +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm}} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-packaging + +%description +The `util.is*` functions introduced in Node v0.12. + +%prep +%setup -q -n package + +cp -p %{SOURCE1} . + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr lib/ package.json *.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%files +%{nodejs_sitelib}/core-util-is + +%doc README.md LICENSE + +%changelog +* Tue Sep 22 2015 Zuzana Svetlikova - 1.0.1-2 +- Add missing lib/ to %%install + +* Thu Aug 13 2015 Zuzana Svetlikova - 1.0.1-1 +- Initial build