From 047ace942a054c8d6f245848ffbc000ed4fa5d4a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:56:46 +0000 Subject: import rh-nodejs6-nodejs-block-stream-0.0.8-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..087efaa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/block-stream-0.0.8.tgz diff --git a/.rh-nodejs6-nodejs-block-stream.metadata b/.rh-nodejs6-nodejs-block-stream.metadata new file mode 100644 index 0000000..7354120 --- /dev/null +++ b/.rh-nodejs6-nodejs-block-stream.metadata @@ -0,0 +1 @@ +0688f46da2bbf9cff0c4f68225a0cb95cbe8a46b SOURCES/block-stream-0.0.8.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-block-stream.spec b/SPECS/nodejs-block-stream.spec new file mode 100644 index 0000000..bf2d4c4 --- /dev/null +++ b/SPECS/nodejs-block-stream.spec @@ -0,0 +1,99 @@ +%{?scl:%scl_package nodejs-block-stream} +%{!?scl:%global pkg_name %{name}} + +%global enable_tests 0 + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-block-stream +Version: 0.0.8 +Release: 3%{?dist} +Summary: A stream of blocks +License: ISC +URL: https://github.com/isaacs/block-stream +Source0: http://registry.npmjs.org/block-stream/-/block-stream-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{enable_tests} +BuildRequires: %{?scl_prefix}npm(tap) +%endif + +%description +Write data into it, and it'll output data in buffer blocks the size you +specify, padding with zeroes if necessary. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/block-stream +cp -pr block-stream.js package.json %{buildroot}%{nodejs_sitelib}/block-stream + +%nodejs_symlink_deps + +%if 0%{enable_tests} +%check +%nodejs_symlink_deps --check +tap test/ +%endif + +%files +%{nodejs_sitelib}/block-stream +%doc README.md LICENCE + +%changelog +* Fri Mar 10 2017 Zuzana Svetlikova - 0.0.8-3 +- Correct license + +* Mon Jan 16 2017 Zuzana Svetlikova - 0.0.8-2 +- Clean up + +* Wed Sep 07 2016 Zuzana Svetlikova - 0.0.8-1 +- Updated with script + +* Thu Oct 17 2013 Tomas Hrcka - 0.0.7-2 +- replace provides and requires with macro + +* Tue Jul 30 2013 T.C. Hollingsworth - 0.0.7-1 +- new upstream release 0.0.7 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.0.6-7 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.0.6-6 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.0.6-6 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jan 17 2013 T.C. Hollingsworth - 0.0.6-4 +- correct Licensse tag +- include LICENCE file +- provide a better description + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.0.6-3 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.6-2 +- clean up for submission + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.6-1 +- new upstream release 0.0.6 + +* Fri Apr 27 2012 T.C. Hollingsworth - 0.0.5-2 +- guard Requires for F17 automatic depedency generation + +* Sat Feb 25 2012 T.C. Hollingsworth - 0.0.5-1 +- new upstream release 0.0.5 + +* Fri Jan 21 2011 T.C. Hollingsworth - 0.0.4-1 +- initial package