Instantly share code, notes, and snippets.

Embed
What would you like to do?
RPM spec for Node.js v0.4.2.
%define _base node
Name: %{_base}js
Version: 0.4.2
Release: 1%{?dist}
Summary: Evented I/O for V8 Javascript.
Packager: Susan Potter <susan@managedopensource.com>
Vendor: http://nodejs.org
Group: Development/Libraries
License: MIT License
URL: http://nodejs.org/
Source0: %{_base}-v%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gcc make
%description
Evented I/O for V8 Javascript.
%prep
%setup -q -n %{_base}-v%{version}
%build
./configure --prefix=/usr
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr/bin/node
/usr/bin/node-waf
/usr/include/node/config.h
/usr/include/node/eio.h
/usr/include/node/ev.h
/usr/include/node/node.h
/usr/include/node/node_buffer.h
/usr/include/node/node_config.h
/usr/include/node/node_events.h
/usr/include/node/node_object_wrap.h
/usr/include/node/node_version.h
/usr/include/node/v8-debug.h
/usr/include/node/v8-preparser.h
/usr/include/node/v8-profiler.h
/usr/include/node/v8-testing.h
/usr/include/node/v8.h
/usr/include/node/v8stdint.h
/usr/lib/node/wafadmin/Build.py
/usr/lib/node/wafadmin/Build.pyc
/usr/lib/node/wafadmin/Build.pyo
/usr/lib/node/wafadmin/Configure.py
/usr/lib/node/wafadmin/Configure.pyc
/usr/lib/node/wafadmin/Configure.pyo
/usr/lib/node/wafadmin/Constants.py
/usr/lib/node/wafadmin/Constants.pyc
/usr/lib/node/wafadmin/Constants.pyo
/usr/lib/node/wafadmin/Environment.py
/usr/lib/node/wafadmin/Environment.pyc
/usr/lib/node/wafadmin/Environment.pyo
/usr/lib/node/wafadmin/Logs.py
/usr/lib/node/wafadmin/Logs.pyc
/usr/lib/node/wafadmin/Logs.pyo
/usr/lib/node/wafadmin/Node.py
/usr/lib/node/wafadmin/Node.pyc
/usr/lib/node/wafadmin/Node.pyo
/usr/lib/node/wafadmin/Options.py
/usr/lib/node/wafadmin/Options.pyc
/usr/lib/node/wafadmin/Options.pyo
/usr/lib/node/wafadmin/Runner.py
/usr/lib/node/wafadmin/Runner.pyc
/usr/lib/node/wafadmin/Runner.pyo
/usr/lib/node/wafadmin/Scripting.py
/usr/lib/node/wafadmin/Scripting.pyc
/usr/lib/node/wafadmin/Scripting.pyo
/usr/lib/node/wafadmin/Task.py
/usr/lib/node/wafadmin/Task.pyc
/usr/lib/node/wafadmin/Task.pyo
/usr/lib/node/wafadmin/TaskGen.py
/usr/lib/node/wafadmin/TaskGen.pyc
/usr/lib/node/wafadmin/TaskGen.pyo
/usr/lib/node/wafadmin/Tools/__init__.py
/usr/lib/node/wafadmin/Tools/__init__.pyc
/usr/lib/node/wafadmin/Tools/__init__.pyo
/usr/lib/node/wafadmin/Tools/ar.py
/usr/lib/node/wafadmin/Tools/ar.pyc
/usr/lib/node/wafadmin/Tools/ar.pyo
/usr/lib/node/wafadmin/Tools/cc.py
/usr/lib/node/wafadmin/Tools/cc.pyc
/usr/lib/node/wafadmin/Tools/cc.pyo
/usr/lib/node/wafadmin/Tools/ccroot.py
/usr/lib/node/wafadmin/Tools/ccroot.pyc
/usr/lib/node/wafadmin/Tools/ccroot.pyo
/usr/lib/node/wafadmin/Tools/compiler_cc.py
/usr/lib/node/wafadmin/Tools/compiler_cc.pyc
/usr/lib/node/wafadmin/Tools/compiler_cc.pyo
/usr/lib/node/wafadmin/Tools/compiler_cxx.py
/usr/lib/node/wafadmin/Tools/compiler_cxx.pyc
/usr/lib/node/wafadmin/Tools/compiler_cxx.pyo
/usr/lib/node/wafadmin/Tools/compiler_d.py
/usr/lib/node/wafadmin/Tools/compiler_d.pyc
/usr/lib/node/wafadmin/Tools/compiler_d.pyo
/usr/lib/node/wafadmin/Tools/config_c.py
/usr/lib/node/wafadmin/Tools/config_c.pyc
/usr/lib/node/wafadmin/Tools/config_c.pyo
/usr/lib/node/wafadmin/Tools/cxx.py
/usr/lib/node/wafadmin/Tools/cxx.pyc
/usr/lib/node/wafadmin/Tools/cxx.pyo
/usr/lib/node/wafadmin/Tools/d.py
/usr/lib/node/wafadmin/Tools/d.pyc
/usr/lib/node/wafadmin/Tools/d.pyo
/usr/lib/node/wafadmin/Tools/dmd.py
/usr/lib/node/wafadmin/Tools/dmd.pyc
/usr/lib/node/wafadmin/Tools/dmd.pyo
/usr/lib/node/wafadmin/Tools/gas.py
/usr/lib/node/wafadmin/Tools/gas.pyc
/usr/lib/node/wafadmin/Tools/gas.pyo
/usr/lib/node/wafadmin/Tools/gcc.py
/usr/lib/node/wafadmin/Tools/gcc.pyc
/usr/lib/node/wafadmin/Tools/gcc.pyo
/usr/lib/node/wafadmin/Tools/gdc.py
/usr/lib/node/wafadmin/Tools/gdc.pyc
/usr/lib/node/wafadmin/Tools/gdc.pyo
/usr/lib/node/wafadmin/Tools/gnu_dirs.py
/usr/lib/node/wafadmin/Tools/gnu_dirs.pyc
/usr/lib/node/wafadmin/Tools/gnu_dirs.pyo
/usr/lib/node/wafadmin/Tools/gob2.py
/usr/lib/node/wafadmin/Tools/gob2.pyc
/usr/lib/node/wafadmin/Tools/gob2.pyo
/usr/lib/node/wafadmin/Tools/gxx.py
/usr/lib/node/wafadmin/Tools/gxx.pyc
/usr/lib/node/wafadmin/Tools/gxx.pyo
/usr/lib/node/wafadmin/Tools/icc.py
/usr/lib/node/wafadmin/Tools/icc.pyc
/usr/lib/node/wafadmin/Tools/icc.pyo
/usr/lib/node/wafadmin/Tools/icpc.py
/usr/lib/node/wafadmin/Tools/icpc.pyc
/usr/lib/node/wafadmin/Tools/icpc.pyo
/usr/lib/node/wafadmin/Tools/intltool.py
/usr/lib/node/wafadmin/Tools/intltool.pyc
/usr/lib/node/wafadmin/Tools/intltool.pyo
/usr/lib/node/wafadmin/Tools/libtool.py
/usr/lib/node/wafadmin/Tools/libtool.pyc
/usr/lib/node/wafadmin/Tools/libtool.pyo
/usr/lib/node/wafadmin/Tools/misc.py
/usr/lib/node/wafadmin/Tools/misc.pyc
/usr/lib/node/wafadmin/Tools/misc.pyo
/usr/lib/node/wafadmin/Tools/nasm.py
/usr/lib/node/wafadmin/Tools/nasm.pyc
/usr/lib/node/wafadmin/Tools/nasm.pyo
/usr/lib/node/wafadmin/Tools/node_addon.py
/usr/lib/node/wafadmin/Tools/node_addon.pyc
/usr/lib/node/wafadmin/Tools/node_addon.pyo
/usr/lib/node/wafadmin/Tools/osx.py
/usr/lib/node/wafadmin/Tools/osx.pyc
/usr/lib/node/wafadmin/Tools/osx.pyo
/usr/lib/node/wafadmin/Tools/preproc.py
/usr/lib/node/wafadmin/Tools/preproc.pyc
/usr/lib/node/wafadmin/Tools/preproc.pyo
/usr/lib/node/wafadmin/Tools/python.py
/usr/lib/node/wafadmin/Tools/python.pyc
/usr/lib/node/wafadmin/Tools/python.pyo
/usr/lib/node/wafadmin/Tools/suncc.py
/usr/lib/node/wafadmin/Tools/suncc.pyc
/usr/lib/node/wafadmin/Tools/suncc.pyo
/usr/lib/node/wafadmin/Tools/suncxx.py
/usr/lib/node/wafadmin/Tools/suncxx.pyc
/usr/lib/node/wafadmin/Tools/suncxx.pyo
/usr/lib/node/wafadmin/Tools/unittestw.py
/usr/lib/node/wafadmin/Tools/unittestw.pyc
/usr/lib/node/wafadmin/Tools/unittestw.pyo
/usr/lib/node/wafadmin/Tools/winres.py
/usr/lib/node/wafadmin/Tools/winres.pyc
/usr/lib/node/wafadmin/Tools/winres.pyo
/usr/lib/node/wafadmin/Tools/xlc.py
/usr/lib/node/wafadmin/Tools/xlc.pyc
/usr/lib/node/wafadmin/Tools/xlc.pyo
/usr/lib/node/wafadmin/Tools/xlcxx.py
/usr/lib/node/wafadmin/Tools/xlcxx.pyc
/usr/lib/node/wafadmin/Tools/xlcxx.pyo
/usr/lib/node/wafadmin/Utils.py
/usr/lib/node/wafadmin/Utils.pyc
/usr/lib/node/wafadmin/Utils.pyo
/usr/lib/node/wafadmin/__init__.py
/usr/lib/node/wafadmin/__init__.pyc
/usr/lib/node/wafadmin/__init__.pyo
/usr/lib/node/wafadmin/ansiterm.py
/usr/lib/node/wafadmin/ansiterm.pyc
/usr/lib/node/wafadmin/ansiterm.pyo
/usr/lib/node/wafadmin/pproc.py
/usr/lib/node/wafadmin/pproc.pyc
/usr/lib/node/wafadmin/pproc.pyo
/usr/lib/node/wafadmin/py3kfixes.py
/usr/lib/node/wafadmin/py3kfixes.pyc
/usr/lib/node/wafadmin/py3kfixes.pyo
/usr/lib/pkgconfig/nodejs.pc
%doc
/usr/share/man/man1/node.1.gz
%changelog
* Tue Mar 15 2011 - susan@managedopensource.com
- Updated version and file list.
* Tue Oct 19 2010 - susan@managedopensource.com
- Initial version of RPM specification file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment