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