From ac6597004f5ddc5fc4e628a1933ac0b32b0efd07 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:25:51 +0000 Subject: import rh-nodejs4-nodejs-bl-1.0.0-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfb20d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bl-1.0.0.tgz diff --git a/.rh-nodejs4-nodejs-bl.metadata b/.rh-nodejs4-nodejs-bl.metadata new file mode 100644 index 0000000..967b32e --- /dev/null +++ b/.rh-nodejs4-nodejs-bl.metadata @@ -0,0 +1 @@ +ada9a8a89a6d7ac60862f7dec7db207873e0c3f5 SOURCES/bl-1.0.0.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/SPECS/nodejs-bl.spec b/SPECS/nodejs-bl.spec new file mode 100644 index 0000000..acf730a --- /dev/null +++ b/SPECS/nodejs-bl.spec @@ -0,0 +1,64 @@ +# spec file for package nodejs-nodejs-bl +%{?scl:%scl_package nodejs-nodejs-bl} +%{!?scl:%global pkg_name %{name}} + +%global npm_name bl +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-bl +Version: 1.0.0 +Release: 2%{?dist} +Summary: Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too! +Url: https://github.com/rvagg/bl +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: MIT + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-packaging + +%if 0%{?enable_tests} +BuildRequires: npm(brtapsauce) +BuildRequires: npm(faucet) +BuildRequires: npm(hash_file) +BuildRequires: npm(tape) +%endif + +%description +Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too! + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json bl.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} +%check +%{nodejs_symlink_deps} --check +node test/test.js | faucet +%endif + +%files +%{nodejs_sitelib}/bl + +%doc README.md LICENSE.md + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.0-2 +- rebuilt + +* Fri Aug 14 2015 Zuzana Svetlikova - 1.0.0-1 +- Initial build