From 62053b5ce0783a5243c2d6251c63914e6a7a6708 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Wed, 24 Sep 2014 19:14:05 +0900 Subject: packaging: add nodejs-devel package Change-Id: If8e3a4293971bb7c3d57a35c59fc31edd199cef6 Signed-off-by: Chanho Park --- packaging/nodejs.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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/ -- cgit v1.2.3