Skip to content
Create a gist now

Instantly share code, notes, and snippets.

RPM spec file for node
%define ver 0.6.6
%define rel 1
%define jobs 2
Name: nodejs
Version: %{ver}
Release: %{rel}
Summary: Node's goal is to provide an easy way to build scalable network programs.
Group: Applications/Internet
License: Copyright Joyent, Inc. and other Node contributors.
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python >= 2.4
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.
%setup -q -n node-v%{version}
export JOBS=%{jobs}
./configure --prefix=/usr
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}
* Thu Apr 14 2011 Chris Abernethy <> 0.4.6-1
- Initial rpm using upstream v0.4.6
* Fri Jan 06 2012 Sean Plaice <> 0.6.6-1
- Update spec to use v0.6.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.