[packages/nodejs-socket.io] new, version 0.9.10

glen glen at pld-linux.org
Sat Aug 16 00:26:27 CEST 2014


commit 7df3d99764377ca91f49bab7eed8c83f01302257
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Sep 27 18:41:34 2012 +0300

    new, version 0.9.10

 nodejs-socket.io.spec | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
---
diff --git a/nodejs-socket.io.spec b/nodejs-socket.io.spec
new file mode 100644
index 0000000..5237592
--- /dev/null
+++ b/nodejs-socket.io.spec
@@ -0,0 +1,38 @@
+%define		pkg	socket.io
+Summary:	Real-time apps made cross-browser & easy with a WebSocket-like API
+Name:		nodejs-%{pkg}
+Version:	0.9.10
+Release:	0.3
+License:	MIT
+Group:		Development/Libraries
+URL:		http://socket.io
+Source0:	http://registry.npmjs.org/socket.io/-/%{pkg}-%{version}.tgz
+# Source0-md5:	bdd39abd0df0d8f79151e310525b3da7
+BuildRequires:	rpmbuild(macros) >= 1.634
+BuildRequires:	sed >= 4.0
+Requires:	nodejs
+Requires:	nodejs-socket.io-client >= 0.9.10
+#    "policyfile": "0.0.4",
+#    "redis": "0.7.2"
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Real-time apps made cross-browser & easy with a WebSocket-like API.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -a index.js package.json lib $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Readme.md History.md
+%{nodejs_libdir}/%{pkg}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-socket.io.git/commitdiff/7df3d99764377ca91f49bab7eed8c83f01302257



More information about the pld-cvs-commit mailing list