From 36310c68032f7e7a099cac6e3802b45fb4bb32ca Mon Sep 17 00:00:00 2001 From: T.C. Hollingsworth Date: Apr 08 2013 09:57:40 +0000 Subject: initial import --- diff --git a/.gitignore b/.gitignore index e69de29..6949833 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/tunnel-agent-0.2.0.tgz diff --git a/nodejs-tunnel-agent.spec b/nodejs-tunnel-agent.spec new file mode 100644 index 0000000..61b4e1a --- /dev/null +++ b/nodejs-tunnel-agent.spec @@ -0,0 +1,42 @@ +Name: nodejs-tunnel-agent +Version: 0.2.0 +Release: 1%{?dist} +Summary: HTTP proxy tunneling agent +# Apache 2.0 License added upstream, will appear in next release +# https://github.com/mikeal/tunnel-agent/blob/master/LICENSE +License: ASL 2.0 +Group: Development/Libraries +URL: https://github.com/mikeal/tunnel-agent +Source0: http://registry.npmjs.org/tunnel-agent/-/tunnel-agent-%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: nodejs-devel + +%description +%{summary}. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/tunnel-agent +cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/tunnel-agent + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/tunnel-agent + +%changelog +* Fri Apr 05 2013 T.C. Hollingsworth - 0.2.0-1 +- initial package diff --git a/sources b/sources index e69de29..2f05227 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1a2a18fa5b417b898477e06d7faf9bba tunnel-agent-0.2.0.tgz