added configure options to use mode system shared librares [release 12.9.1-2mamba;Sat Aug 31 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 07:40:38 +01:00
parent 7fcbb6ec4f
commit 8e0b14f12e

View File

@ -1,6 +1,6 @@
Name: nodejs
Version: 11.15.0
Release: 1mamba
Version: 12.9.1
Release: 2mamba
Summary: Evented I/O for V8 JavaScript
Group: System/Servers
Vendor: openmamba
@ -11,9 +11,12 @@ Source: http://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcares-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuv-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -31,10 +34,21 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q -n node-v%{version}
#-D -T
%build
#:<< _EOF
./configure \
--prefix=%{_prefix}
--prefix=%{_prefix} \
--with-intl=system-icu \
--shared-openssl \
--shared-zlib \
--shared-libuv \
--experimental-http-parser \
--shared-cares
# --shared-nghttp2
# --without-npm \
%make | make
@ -51,23 +65,14 @@ ln -s node %{buildroot}/%{_bindir}/nodejs
%defattr(-,root,root)
%{_bindir}/nodejs
%{_bindir}/node
#%{_bindir}/node-repl
#%{_bindir}/node-waf
%{_bindir}/npm
%{_bindir}/npx
#%{_libdir}/dtrace/node.d
#%dir %{_includedir}/node
#%{_includedir}/node/*
#%dir %{_libdir}/node
#%dir %{_libdir}/node/wafadmin
#%{_libdir}/node/wafadmin/*
%dir %{_prefix}/lib/node_modules
%{_prefix}/lib/node_modules/npm
%{_datadir}/systemtap/tapset/node.stp
%{_mandir}/man1/node.1*
%dir %{_datadir}/doc/node
%{_datadir}/doc/node/*
#%{_libdir}/pkgconfig/nodejs.pc
%doc AUTHORS LICENSE
%files devel
@ -76,17 +81,23 @@ ln -s node %{buildroot}/%{_bindir}/nodejs
%{_includedir}/node/*.h
%{_includedir}/node/common.gypi
%{_includedir}/node/config.gypi
%dir %{_includedir}/node/libplatform
%{_includedir}/node/libplatform/*.h
%ifarch %{ix86}
%dir %{_includedir}/node/openssl
%{_includedir}/node/openssl/*.h
%dir %{_includedir}/node/openssl/archs
%{_includedir}/node/openssl/archs/
%{_includedir}/node/openssl/*
%dir %{_includedir}/node/uv
%{_includedir}/node/uv/*
%endif
%dir %{_includedir}/node/libplatform
%{_includedir}/node/libplatform/*.h
#%doc ChangeLog
%changelog
* Sat Aug 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 12.9.1-2mamba
- added configure options to use mode system shared librares
* Thu Aug 29 2019 Automatic Build System <autodist@mambasoft.it> 12.9.1-1mamba
- automatic version update by autodist
* Wed May 08 2019 Automatic Build System <autodist@mambasoft.it> 11.15.0-1mamba
- automatic version update by autodist