diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cae3617 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hoek-0.9.1.tgz diff --git a/.nodejs010-nodejs-hoek.metadata b/.nodejs010-nodejs-hoek.metadata new file mode 100644 index 0000000..9cf694a --- /dev/null +++ b/.nodejs010-nodejs-hoek.metadata @@ -0,0 +1 @@ +3d322462badf07716ea7eb85baf88079cddce505 SOURCES/hoek-0.9.1.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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..6b8caf2 --- /dev/null +++ b/SPECS/nodejs-hoek.spec @@ -0,0 +1,71 @@ +%{?scl:%scl_package nodejs-hoek} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-hoek +Version: 0.9.1 +Release: 3%{?dist} +Summary: General purpose Node.js utilities +License: BSD +Group: Development/Libraries +URL: https://github.com/spumko/hoek +Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +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/* index.js package.json + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/hoek +cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/hoek + +%nodejs_symlink_deps + +#Yet Another Unpackaged Test Framework (lab) +#%%check +#make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/hoek +%doc README.md LICENSE images + +%changelog +* 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