%define ver 0.10.20 %define rel 1 %define jobs 2 Name: nodejs Version: %{ver} Release: %{rel} Summary: Node.js programs Group: Applications/Internet License: Copyright Joyent, Inc. and other Node contributors. URL: http://nodejs.org Source0: http://nodejs.org/dist/node-v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python >= 2.6, openssl-devel, gcc-c++ Provides: nodejs Obsoletes: nodejs %description Node.js is a server-side JavaScript environment that uses an asynchronous event-driven model. This allows Node.js to get excellent performance based on the architectures of many Internet applications. %prep %setup -q -n node-v%{version} %build export JOBS=%{jobs} python ./configure --prefix=/usr make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog LICENSE README.md /usr/bin/node /usr/bin/npm /usr/share/man/man1/node.1.gz /usr/lib/node_modules /usr/lib/dtrace/node.d %changelog * Tue Oct 1 2013 Jordan Conway 0.10.20-1 - RPM using upstream v0.10.20 * Fri Jul 26 2013 Jordan Conway 0.10.14-1 - RPM using upstream v0.10.14 * Wed Jul 10 2013 Jordan Conway 0.10.13-1 - RPM using upstream v0.10.13 * Fri Jun 14 2013 Jordan Conway 0.10.11-1 - RPM using upstream v0.10.11 * Thu May 30 2013 Jordan Conway 0.10.9-1 - RPM using upstream v0.10.9 * Thu Apr 25 2013 Jordan Conway 0.10.5-1 - RPM using upstream v0.10.5 * Thu Apr 11 2013 Jordan Conway 0.10.4-1 - RPM using upstream v0.10.4 * Wed Apr 03 2013 Jordan Conway 0.10.3-1 - RPM using upstream v0.10.3 * Thu Mar 21 2013 Jordan Conway 0.10.1-1 - RPM using upstream v0.10.1 * Mon Mar 11 2013 Jordan Conway 0.10.0-1 - RPM using upstream v0.10.0 - removed files * Thu Mar 7 2013 Jordan Conway 0.8.21-1 - RPM using upstream v0.8.22 * Tue Feb 26 2013 Jordan Conway 0.8.21-1 - RPM using upstream v0.8.21 * Wed Feb 15 2013 Jordan Conway 0.8.20-1 - RPM using upstream v0.8.20 * Wed Feb 06 2013 Jordan Conway 0.8.19-1 - RPM using upstream v0.8.19 * Wed Jan 18 2013 Jordan Conway 0.8.18-1 - RPM using upstream v0.8.18 * Wed Jan 18 2013 Jordan Conway 0.8.17-1 - RPM using upstream v0.8.17 * Wed Dec 19 2012 Jordan Conway 0.8.16-1 - RPM using upstream v0.8.16 - Forked spec on github - Updated changed python26 to python for CentOS 6.3 * Wed Oct 31 2012 Andre von Deetzen 0.8.14-1 - RPM using upstream v0.8.14 * Thu Apr 12 2012 Vibol Hou 0.6.15-1 - RPM using upstream v0.6.15 * Thu Apr 14 2011 Chris Abernethy 0.4.6-1 - Initial rpm using upstream v0.4.6