From c2fd28b1378890069228b724ff871e48d15df360 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:34:27 +0000 Subject: import nodejs010-nodejs-request-2.25.0-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8450681 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/request-2.25.0.tgz diff --git a/.nodejs010-nodejs-request.metadata b/.nodejs010-nodejs-request.metadata new file mode 100644 index 0000000..0f11dd2 --- /dev/null +++ b/.nodejs010-nodejs-request.metadata @@ -0,0 +1 @@ +dac1673181887fe0b2ce6bd7e12f46d554a02ce9 SOURCES/request-2.25.0.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-request.spec b/SPECS/nodejs-request.spec new file mode 100644 index 0000000..2735bd1 --- /dev/null +++ b/SPECS/nodejs-request.spec @@ -0,0 +1,151 @@ +%{?scl:%scl_package nodejs-request} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-request +Version: 2.25.0 +Release: 2%{?dist} +Summary: Simplified HTTP request client +License: ASL 2.0 +Group: Development/Libraries +URL: https://github.com/mikeal/request +Source0: http://registry.npmjs.org/request/-/request-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: npm(aws-sign) +BuildRequires: npm(cookie-jar) +BuildRequires: npm(forever-agent) +BuildRequires: npm(form-data) +BuildRequires: npm(hawk) +BuildRequires: npm(json-stringify-safe) +BuildRequires: npm(mime) +BuildRequires: npm(node-uuid) +BuildRequires: npm(oauth-sign) +BuildRequires: npm(qs) +BuildRequires: npm(tunnel-agent) +%endif + +%description +Request is designed to be the simplest way possible to make HTTP calls. It +supports HTTPS and follows redirects by default. + +You can stream any response to a file stream. You can also stream a file to a +PUT or POST request. It also supports a few simple server and proxy functions. + +%prep +%setup -q -n package + +#remove bundled modules +rm -rf node_modules + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/request +cp -pr *.js package.json %{buildroot}%{nodejs_sitelib}/request + +%nodejs_symlink_deps + + +%if 0%{?enable_tests} +%check +rm -f tests/test-tunnel.js +ln -sf %{nodejs_sitelib} . +%__nodejs tests/run.js +%endif + + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/request +%doc README.md LICENSE + +%changelog +* Thu Oct 17 2013 Tomas Hrcka - 2.25.0-2 +- replace provides and requires with macro + +* Tue Jul 30 2013 T.C. Hollingsworth - 2.25.0-1 +- new upstream release 2.25.0 + +* Sun Jun 23 2013 T.C. Hollingsworth - 2.21.0-1 +- new upstream release 2.21.0 + +* Sat Jun 22 2013 T.C. Hollingsworth - 2.16.6-5 +- restrict to compatible arches + +* Tue May 28 2013 Jamie Nguyen - 2.16.6-4 +- make versioned dependency on npm(qs) less specific +- add %%check + +* Mon Apr 15 2013 T.C. Hollingsworth - 2.16.6-3 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 2.16.6-3 +- Add support for software collections + +* Wed Apr 10 2013 T.C. Hollingsworth - 2.16.6-2 +- fix versions for newly added dependencies + +* Wed Apr 03 2013 T.C. Hollingsworth - 2.16.6-1 +- new upstream release 2.16.6 +- cookie library now unbundled upstream + +* Wed Mar 13 2013 T.C. Hollingsworth - 2.14.0-1 +- new upstream release 2.14.0 + +* Tue Jan 29 2013 T.C. Hollingsworth - 2.12.0-5 +- actually make patch work +- fix typo + +* Mon Jan 28 2013 T.C. Hollingsworth - 2.12.0-4 +- actually apply patch +- manually create dependency link to private module tobi-cookie + +* Thu Jan 24 2013 T.C. Hollingsworth - 2.12.0-3 +- unbundle cookie stuff + +* Tue Jan 08 2013 T.C. Hollingsworth - 2.12.0-2 +- add missing build section +- improve description + +* Mon Dec 31 2012 T.C. Hollingsworth - 2.12.0-1 +- new upstream release 2.12.0 +- clean up for submission + +* Wed Apr 18 2012 T.C. Hollingsworth - 2.9.202-1 +- New upstream release 2.9.202 + +* Sun Mar 04 2012 T.C. Hollingsworth - 2.9.153-1 +- new upstream release 2.9.153 + +* Sat Feb 25 2012 T.C. Hollingsworth - 2.9.151-1 +- new upstream release 2.9.151 + +* Sat Jan 21 2012 T.C. Hollingsworth - 2.9.100-1 +- new upstream release 2.9.100 + +* Thu Dec 22 2011 T.C. Hollingsworth - 2.2.9-1 +- new upstream release 2.2.9 + +* Mon Nov 07 2011 T.C. Hollingsworth - 2.2.0-1 +- new upstream release 2.2.0 +- adds node v0.6 support + +* Tue Oct 25 2011 T.C. Hollingsworth - 1.2.0-2.20110928.646c80dgit +- npm needs a newer git snapshot (apparently upstream moved to rolling release anyway) + +* Tue Oct 25 2011 T.C. Hollingsworth - 1.2.0-1 +- initial package