]> git.pld-linux.org Git - packages/nodejs.git/commitdiff
- up to 0.6.8 auto/th/nodejs-0_6_8-1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 25 Jan 2012 22:58:13 +0000 (22:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- update description from homepage
- package nodejs symlink for redhat/fedora packaging compatability

Changed files:
    nodejs.spec -> 1.27

nodejs.spec

index 7bd39d66586a51ca0778be9271f25b08bd6d9f90..90d23b8fbff3509f9c03f97cb42376134ee4b22f 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Asynchronous JavaScript Engine
 Name:          nodejs
 Summary:       Asynchronous JavaScript Engine
 Name:          nodejs
-Version:       0.6.6
-Release:       2
+Version:       0.6.8
+Release:       1
 License:       BSD
 Group:         Libraries
 License:       BSD
 Group:         Libraries
-URL:           http://nodejs.org/
-Source0:       http://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
-# Source0-md5: 43836ebd6e8e9059c4584e3b5ab50009
+URL:           http://www.nodejs.org/
+Source0:       http://www.nodejs.org/dist/node-v%{version}.tar.gz
+# Source0-md5: 9fd7baa2d27b848c3134e6ae35bb87b2
 Patch1:                %{name}-soname.patch
 # force node to use /usr/lib/node as the systemwide module directory
 Patch2:                %{name}-libpath.patch
 Patch1:                %{name}-soname.patch
 # force node to use /usr/lib/node as the systemwide module directory
 Patch2:                %{name}-libpath.patch
@@ -25,14 +25,11 @@ ExclusiveArch:      %{ix86} %{x8664} arm
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Node's goal is to provide an easy way to build scalable network
-programs. In the above example, the two second delay does not prevent
-the server from handling new requests. Node tells the operating system
-(through epoll, kqueue, /dev/poll, or select) that it should be
-notified when the 2 seconds are up or if a new connection is made --
-then it goes to sleep. If someone new connects, then it executes the
-callback, if the timeout expires, it executes the inner callback. Each
-connection is only a small heap allocation.
+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:       Development headers for nodejs
 
 %package devel
 Summary:       Development headers for nodejs
@@ -110,6 +107,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+ln -s node $RPM_BUILD_ROOT%{_bindir}/nodejs
+
 # install shared lib
 export PYTHONPATH=tools
 %{__python} tools/waf-light install \
 # install shared lib
 export PYTHONPATH=tools
 %{__python} tools/waf-light install \
@@ -122,7 +121,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/*.so*
 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{_pkgconfigdir}/%{name}.pc
 version=%{version}
 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{_pkgconfigdir}/%{name}.pc
 version=%{version}
-prefix=/usr
+prefix=%{_prefix}
 libdir=${prefix}/%{_lib}
 includedir=${prefix}/include/node
 
 libdir=${prefix}/%{_lib}
 includedir=${prefix}/include/node
 
@@ -157,6 +156,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md AUTHORS ChangeLog LICENSE
 %attr(755,root,root) %{_bindir}/node
 %defattr(644,root,root,755)
 %doc README.md AUTHORS ChangeLog LICENSE
 %attr(755,root,root) %{_bindir}/node
+%attr(755,root,root) %{_bindir}/nodejs
 %attr(755,root,root) %{_libdir}/libnode.so.*.*.*
 %ghost %{_libdir}/libnode.so.4
 %dir %{_libdir}/node
 %attr(755,root,root) %{_libdir}/libnode.so.*.*.*
 %ghost %{_libdir}/libnode.so.4
 %dir %{_libdir}/node
This page took 0.167545 seconds and 4 git commands to generate.