packaging: add nodejs-devel package accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20140924.142808 accepted/tizen/ivi/20140926.190058 submit/tizen/20140924.112119 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorChanho Park <chanho61.park@samsung.com>
Wed, 24 Sep 2014 10:14:05 +0000 (19:14 +0900)
committerChanho Park <chanho61.park@samsung.com>
Wed, 24 Sep 2014 10:15:20 +0000 (19:15 +0900)
Change-Id: If8e3a4293971bb7c3d57a35c59fc31edd199cef6
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
packaging/nodejs.spec

index a52f5704a36498ab08cd7c33f21dfbe74163ed82..c2915135d95bc5d7ecfbe7e1c164e08c3161c888 100644 (file)
@@ -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/