From 4ef61232943e07bf0bfad0f00e631df8305ba1bd Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:31:21 +0000 Subject: import nodejs010-nodejs-boom-0.4.2-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8597b2e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/boom-0.4.2.tgz diff --git a/.nodejs010-nodejs-boom.metadata b/.nodejs010-nodejs-boom.metadata new file mode 100644 index 0000000..98ba9f0 --- /dev/null +++ b/.nodejs010-nodejs-boom.metadata @@ -0,0 +1 @@ +7a636e9ded4efcefb19cef4947a3c67dfaee911b SOURCES/boom-0.4.2.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-boom.spec b/SPECS/nodejs-boom.spec new file mode 100644 index 0000000..f72ad12 --- /dev/null +++ b/SPECS/nodejs-boom.spec @@ -0,0 +1,73 @@ +%{?scl:%scl_package nodejs-boom} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-boom +Version: 0.4.2 +Release: 3%{?dist} +Summary: HTTP friendly error objects +License: BSD +Group: Development/Libraries +URL: https://github.com/spumko/boom +Source0: http://registry.npmjs.org/boom/-/boom-%{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 library provides friendly JavaScript objects that represent HTTP errors. + +%prep +%setup -q -n package + +%nodejs_fixdep hoek 0.9 + +#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}/boom +cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/boom + +%nodejs_symlink_deps + +#Yet Another Unpackaged Test Framework (lab) +#%%check +#make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/boom +%doc README.md LICENSE images + +%changelog +* Thu Oct 17 2013 Tomas Hrcka - 0.4.2-3 +- replace provides and requires with macro + +* Mon Jun 24 2013 T.C. Hollingsworth - 0.4.2-2 +- fix boom dep + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.4.2-1 +- new upstream release 0.4.2 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.4.0-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.4.0-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.4.0-2 +- Add support for software collections + +* Mon Apr 08 2013 T.C. Hollingsworth - 0.4.0-1 +- initial package