[packages/nodejs] install extra files for node-gyp; expand license names
glen
glen at pld-linux.org
Sun Apr 7 21:12:50 CEST 2013
commit d5764a432cdca50083a95c1138825e3ecb4f103d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 7 22:12:17 2013 +0300
install extra files for node-gyp; expand license names
nodejs.spec | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 171ed04..e75c332 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -1,8 +1,8 @@
Summary: Asynchronous JavaScript Engine
Name: nodejs
Version: 0.10.3
-Release: 1
-License: BSD and MIT and ASL 2.0 and GPLv3
+Release: 2
+License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
Source0: http://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
# Source0-md5: 4daca92618515708a4631e98a8e8c779
@@ -108,6 +108,13 @@ echo '.so man1/node.1' > $RPM_BUILD_ROOT%{_mandir}/man1/nodejs.1
install -d $RPM_BUILD_ROOT%{_includedir}/node
cp -p src/*.h $RPM_BUILD_ROOT%{_includedir}/node
+cp -p deps/uv/include/uv.h $RPM_BUILD_ROOT%{_includedir}/node
+cp -a deps/uv/include/uv-private $RPM_BUILD_ROOT%{_includedir}/node
+
+# install for node-gyp
+install -d $RPM_BUILD_ROOT%{_usrsrc}/%{name}
+cp -p common.gypi $RPM_BUILD_ROOT%{_usrsrc}/%{name}
+ln -s %{_includedir}/node $RPM_BUILD_ROOT%{_usrsrc}/%{name}/src
# for compat of fedora derivered scripts (shebangs)
ln -s node $RPM_BUILD_ROOT%{_bindir}/nodejs
@@ -164,6 +171,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libnode.so
%{_includedir}/node
%{_pkgconfigdir}/nodejs.pc
+%{_usrsrc}/%{name}
%files doc
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/d5764a432cdca50083a95c1138825e3ecb4f103d
More information about the pld-cvs-commit
mailing list