diff options
author | Rusty Lynch <rusty.lynch@intel.com> | 2013-07-11 16:21:57 -0700 |
---|---|---|
committer | Rusty Lynch <rusty.lynch@intel.com> | 2013-07-12 15:15:55 -0700 |
commit | ae108fbf071489b3635f7c9e612bfc2577051576 (patch) | |
tree | acfb74bf40df8a49563c9349ffe446e4478b17fe | |
parent | e32660a984427d46af6a144983cf7b8045b7299c (diff) | |
download | nodejs-accepted/tizen_ivi_release.tar.gz nodejs-accepted/tizen_ivi_release.tar.bz2 nodejs-accepted/tizen_ivi_release.zip |
Add Tizen packagingtizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi_release/20140312.071323submit/tizen_ivi_genivi/20140225.213433submit/tizen_ivi_genivi/20140225.213143submit/tizen_ivi_generic/20140225.212257submit/tizen/20140312.070851submit/tizen/20140131.030442submit/tizen/20130912.090501submit/tizen/20130912.080154submit/tizen/20130716.224126submit/tizen/20130715.151341ivi_oct_m2accepted/tizen/mobile/20140225.024253accepted/tizen/ivi/release/20140312.122205accepted/tizen/ivi/panda/20140312.111859accepted/tizen/ivi/genivi/20140225.213159accepted/tizen/ivi/20140131.175653accepted/tizen/generic/20140312.115923accepted/tizen/generic/20140131.073242accepted/tizen/20130912.195211accepted/tizen/20130912.190957accepted/tizen/20130912.153245accepted/tizen/20130716.221449accepted/tizen/20130715.150031tizen_ivi_releasetizen_ivi_genivitizen_3.0.m14.2_iviaccepted/tizen_ivi_releaseaccepted/tizen_ivi_pandaaccepted/tizen_genericaccepted/tizen/mobileaccepted/tizen/ivi/stableaccepted/tizen/ivi/geniviaccepted/tizen/generic
Change-Id: I2512567fe6acf71ab165a0e17a9264ba2725e4b6
-rw-r--r-- | packaging/nodejs.changes | 3 | ||||
-rw-r--r-- | packaging/nodejs.spec | 47 |
2 files changed, 50 insertions, 0 deletions
diff --git a/packaging/nodejs.changes b/packaging/nodejs.changes new file mode 100644 index 000000000..7d2607250 --- /dev/null +++ b/packaging/nodejs.changes @@ -0,0 +1,3 @@ +* Thu Jul 11 2013 Rusty Lynch <rusty.lynch@intel.com> v0.10.13@06bcd7f +- Initial Tizen packaging + diff --git a/packaging/nodejs.spec b/packaging/nodejs.spec new file mode 100644 index 000000000..8e3bee625 --- /dev/null +++ b/packaging/nodejs.spec @@ -0,0 +1,47 @@ +Name: nodejs +Version: 0.10.13 +Release: 1 +Summary: Evented I/O for V8 JavaScript +Group: System/Service +URL: http://nodejs.org/ +Source: %{name}-%{version}.tar.gz +License: MIT +BuildRequires: glibc-devel +BuildRequires: openssl-devel +BuildRequires: libstdc++-devel +BuildRequires: zlib-devel +BuildRequires: python +BuildRequires: fdupes + +%description +Node.js is a platform built on Chromes JavaScript runtime for easily building fast, +scalable network applications. Node.js uses an event-driven, non-blocking I/O model +that makes it lightweight and efficient, perfect for data-intensive real-time +applications that run across distributed devices. + +%prep +%setup -q + +%build + +./configure --prefix=%{_prefix} --without-dtrace +make %{?_smp_mflags} + +%install +%make_install + +# cleanup leftover cruft +rm -fR %{buildroot}/usr/lib/dtrace +find %{buildroot}/usr/lib/node_modules -name '\.*' -delete + +%fdupes %{buildroot}/usr/lib/node_modules + +%docs_package + +%files +%defattr(-,root,root) +%{_bindir}/node +%{_bindir}/npm +%dir /usr/lib/node_modules +%dir /usr/lib/node_modules/npm +/usr/lib/node_modules/npm/* |