diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed4ce08 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hoek-2.16.3.tgz diff --git a/.rh-nodejs6-nodejs-hoek.metadata b/.rh-nodejs6-nodejs-hoek.metadata new file mode 100644 index 0000000..6a36867 --- /dev/null +++ b/.rh-nodejs6-nodejs-hoek.metadata @@ -0,0 +1 @@ +20bb7403d3cea398e91dc4710a8ff1b8274a25ed SOURCES/hoek-2.16.3.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-hoek.spec b/SPECS/nodejs-hoek.spec new file mode 100644 index 0000000..5f9f198 --- /dev/null +++ b/SPECS/nodejs-hoek.spec @@ -0,0 +1,69 @@ +%{?scl:%scl_package nodejs-hoek} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-hoek +Version: 2.16.3 +Release: 1%{?dist} +Summary: General purpose Node.js utilities +License: BSD +URL: https://github.com/spumko/hoek +Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +This package contains some general purpose Node.js utilities, including +utilities for working with objects, timers, binary encoding/decoding, escaping +characters, errors, and loading files. + +%prep +%setup -q -n package + +#fix perms +chmod 0644 README.md LICENSE images/* lib/* package.json + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/hoek +cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/hoek + +%nodejs_symlink_deps + +#Yet Another Unpackaged Test Framework (lab) +#%%check +#make test + +%files +%{nodejs_sitelib}/hoek +%doc README.md LICENSE images + +%changelog +* Tue Sep 13 2016 Zuzana Svetlikova - 2.16.3-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 0.9.1-4 +- rebuilt + +* Thu Oct 17 2013 Tomas Hrcka - 0.9.1-3 +- replace provides and requires with macro + + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.9.1-1 +- new upstream release 0.9.1 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.8.1-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.8.1-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.8.1-2 +- Add support for software collections + +* Fri Apr 05 2013 T.C. Hollingsworth - 0.8.1-1 +- initial package