Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
nodejs
> nodejs.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nodejs.spec of Package nodejs
Name: nodejs Version: 6.11.2 Release: 0 Summary: JavaScript runtime License: MIT and ASL 2.0 and ISC and BSD Group: Development/Languages Source0: node-v%{version}.tar.gz Source1: %name-rpmlintrc BuildRequires: pkgconfig(zlib) BuildRequires: python libgpg-error BuildRequires: pkgconfig BuildRequires: openssl-devel Provides: nodejs(engine) = %{version} %description Node.js is a platform built on Chrome's 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. %package devel Summary: JavaScript runtime - development headers Group: Development/Languages Requires: openssl-devel Requires: zlib-devel %description devel Development headers for the Node.js JavaScript runtime. %package npm Summary: Node Packaged Modules Group: Development/Libraries License: MIT License Provides: npm Requires: nodejs %description npm 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. %package docs Summary: Node.js API documentation Group: Documentation %description docs The API documentation for the Node.js JavaScript runtime. %prep %setup -q -n node-v%{version} %build ./configure --prefix=/usr --without-intl make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %files %defattr(-,root,root,-) %{_bindir}/node %files npm %defattr(-,root,root,-) %{_bindir}/npm %{_libdir}/node_modules %files devel %defattr(-,root,root,-) %{_includedir}/node %{_datarootdir}/systemtap/tapset/node.stp %files docs %defattr(-,root,root,-) %{_mandir}/man1/node.* %{_docdir}/node/* %changelog