summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-09-24 19:14:05 +0900
committerChanho Park <chanho61.park@samsung.com>2014-09-24 19:15:20 +0900
commit62053b5ce0783a5243c2d6251c63914e6a7a6708 (patch)
treeb698f3f9d9761c578930842cd64f4d3ed5eb25d0
parenta751a0aacc5f3678dcd887c40c2ab98f002805c9 (diff)
downloadnodejs-tizen_3.0.m14.3_ivi.tar.gz
nodejs-tizen_3.0.m14.3_ivi.tar.bz2
nodejs-tizen_3.0.m14.3_ivi.zip
Change-Id: If8e3a4293971bb7c3d57a35c59fc31edd199cef6 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
-rw-r--r--packaging/nodejs.spec14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/nodejs.spec b/packaging/nodejs.spec
index a52f5704a..c2915135d 100644
--- a/packaging/nodejs.spec
+++ b/packaging/nodejs.spec
@@ -19,6 +19,16 @@ scalable network applications. Node.js uses an event-driven, non-blocking I/O mo
that makes it lightweight and efficient, perfect for data-intensive real-time
applications that run across distributed devices.
+%package devel
+Summary: Header files for %{name}
+Group: Development/Libraries
+Requires: %{name}
+
+%description devel
+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
@@ -33,6 +43,7 @@ make %{?_smp_mflags}
# cleanup leftover cruft
rm -fR %{buildroot}/usr/lib/dtrace
find %{buildroot}/usr/lib/node_modules -name '\.*' -delete
+rm -f %{buildroot}/usr/share/systemtap/tapset/node.stp
%fdupes %{buildroot}/usr/lib/node_modules
@@ -45,3 +56,6 @@ find %{buildroot}/usr/lib/node_modules -name '\.*' -delete
%dir /usr/lib/node_modules
%dir /usr/lib/node_modules/npm
/usr/lib/node_modules/npm/*
+
+%files devel
+%{_includedir}/node/