diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..daf1476 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bl-1.1.2.tgz diff --git a/.rh-nodejs6-nodejs-bl.metadata b/.rh-nodejs6-nodejs-bl.metadata new file mode 100644 index 0000000..0adf1ff --- /dev/null +++ b/.rh-nodejs6-nodejs-bl.metadata @@ -0,0 +1 @@ +fdca871a99713aa00d19e3bbba41c44787a65398 SOURCES/bl-1.1.2.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..79a02df --- /dev/null +++ b/SPECS/nodejs-bl.spec @@ -0,0 +1,68 @@ +# 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.1.2 +Release: 1%{?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 +%nodejs_fixdep readable-stream + +%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 +* Wed Sep 21 2016 Zuzana Svetlikova - 1.1.2-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.0-2 +- rebuilt + +* Fri Aug 14 2015 Zuzana Svetlikova - 1.0.0-1 +- Initial build