From a136afb6753f30eaf798c0e16be276637e89c826 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:31:53 +0000 Subject: import nodejs010-nodejs-forever-agent-0.5.0-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2abf2c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/forever-agent-0.5.0.tgz diff --git a/.nodejs010-nodejs-forever-agent.metadata b/.nodejs010-nodejs-forever-agent.metadata new file mode 100644 index 0000000..a1c9ff1 --- /dev/null +++ b/.nodejs010-nodejs-forever-agent.metadata @@ -0,0 +1 @@ +0c1647a74f3af12d76a07a99490ade7c7249c8f0 SOURCES/forever-agent-0.5.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-forever-agent.spec b/SPECS/nodejs-forever-agent.spec new file mode 100644 index 0000000..041c749 --- /dev/null +++ b/SPECS/nodejs-forever-agent.spec @@ -0,0 +1,62 @@ +%{?scl:%scl_package nodejs-forever-agent} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-forever-agent +Version: 0.5.0 +Release: 2%{?dist} +Summary: HTTP Agent that keeps socket connections alive between keep-alive requests +# Apache 2.0 License added upstream, will appear in next release +# https://github.com/mikeal/forever-agent/blob/master/LICENSE +License: ASL 2.0 +Group: Development/Libraries +URL: https://github.com/mikeal/forever-agent +Source0: http://registry.npmjs.org/forever-agent/-/forever-agent-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +%{summary}. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/forever-agent +cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/forever-agent + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/forever-agent + +%changelog +* Thu Oct 17 2013 Tomas Hrcka - 0.5.0-2 +- replace provides and requires with macro + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.5.0-1 +- new upstream release 0.5.0 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.2.0-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.2.0-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.2.0-2 +- Add support for software collections + +* Fri Apr 05 2013 T.C. Hollingsworth - 0.2.0-1 +- initial package