## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global packname V8 %global packver 4.4.2 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: 4.4.2 Release: %autorelease Summary: Embedded JavaScript and WebAssembly Engine for R License: MIT URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz Patch: 0001-Use-local-path-for-example-sources.patch # nodejs does not build on all arches ExclusiveArch: %{nodejs_arches} # Here's the R view of the dependencies world: # Depends: # Imports: R-Rcpp >= 0.12.12, R-jsonlite >= 1.0, R-curl >= 1.0, R-utils # Suggests: R-testthat, R-knitr, R-rmarkdown # LinkingTo: # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: v8-devel BuildRequires: js-underscore BuildRequires: R-Rcpp-devel >= 0.12.12 BuildRequires: R-jsonlite >= 1.0 BuildRequires: R-curl >= 1.0 BuildRequires: R-utils BuildRequires: R-testthat BuildRequires: R-knitr BuildRequires: R-rmarkdown BuildRequires: glyphicons-halflings-fonts # This is not packaged and it's only used to make sure example docs build when # offline anyway. Provides: bundled(js-crossfilter) = 1.3.12 %description An R interface to V8: Google's open source JavaScript and WebAssembly engine. %prep %setup -q -c -n %{packname} cd V8 %autopatch -p1 %build %install mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css %check export LANG=C.UTF-8 # Vignettes use the network. %{_bindir}/R CMD check %{packname} --ignore-vignettes %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %license %{rlibdir}/%{packname}/LICENSE %doc %{rlibdir}/%{packname}/NEWS %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/js %{rlibdir}/%{packname}/wasm %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 4.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Apr 26 2024 Iñaki Úcar - 4.4.2-1 - Update to latest version * Thu Apr 25 2024 Iñaki Úcar - 4.3.0-7 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 4.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 4.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Apr 29 2023 Elliott Sales de Andrade - 4.3.0-3 - Rebuild for nodejs20 * Fri Apr 21 2023 Iñaki Úcar - 4.3.0-2 - R-maint-sig mass rebuild * Sun Apr 09 2023 Elliott Sales de Andrade - 4.3.0-1 - Update to latest version (#2185377) * Wed Jan 18 2023 Fedora Release Engineering - 4.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Dec 02 2022 Elliott Sales de Andrade - 4.2.2-1 - Update to latest version * Wed Jul 20 2022 Fedora Release Engineering - 3.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 3.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 3.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 24 2021 Stephen Gallagher - 3.4.2-2 - Rebuild for Node.js 16 * Tue Jun 15 2021 Tom Callaway - 3.4.2-1 - update to 3.4.2 - Rebuilt for R 4.1.0 * Sat Apr 24 2021 Elliott Sales de Andrade - 3.4.1-1 - Update to latest version (#1952839) * Mon Jan 25 2021 Fedora Release Engineering - 3.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 06 2020 Elliott Sales de Andrade - 3.4.0-1 - Update to latest version (#1894577) * Mon Oct 26 2020 Elliott Sales de Andrade - 3.3.1-1 - Update to latest version (#1891266) * Sat Sep 12 2020 Elliott Sales de Andrade - 3.2.0-3 - Fix checks for pointer compression, fixing build on s390x * Sat Aug 01 2020 Fedora Release Engineering - 3.2.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 21 2020 Elliott Sales de Andrade - 3.2.0-1 - Update to latest version * Wed Jul 8 2020 Dennis Gilmore - 3.1.0-3 - Rebuild for nodejs deps * Sat Jun 6 2020 Tom Callaway - 3.1.0-2 - rebuild for R 4 * Sun May 31 2020 Elliott Sales de Andrade - 3.1.0-1 - Update to latest version * Sat Mar 14 2020 Elliott Sales de Andrade - 3.0.2-1 - Update to latest version * Tue Feb 25 2020 Elliott Sales de Andrade - 3.0.1-2 - Fix test on big-endian systems * Mon Feb 24 2020 Elliott Sales de Andrade - 3.0.1-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 26 2019 Elliott Sales de Andrade - 2.3-1 - Update to latest version * Sun Aug 11 2019 Elliott Sales de Andrade - 2.2-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Apr 13 2019 Elliott Sales de Andrade - 2.2-1 - Update to latest version * Tue Apr 09 2019 Elliott Sales de Andrade - 2.1-1 - Update to latest version - Switch to v8 provided by nodejs * Fri Feb 08 2019 Elliott Sales de Andrade - 2.0-1 - Update to latest version * Thu Jan 31 2019 Fedora Release Engineering - 1.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Sep 23 2018 Elliott Sales de Andrade - 1.5-7 - Fix unbundling of JavaScript files * Thu Jul 12 2018 Fedora Release Engineering - 1.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 16 2018 Tom Callaway - 1.5-5 - rebuild for R 3.5.0 * Sun Mar 18 2018 Elliott Sales de Andrade - 1.5-4 - Add missing Rcpp Requires * Wed Feb 07 2018 Fedora Release Engineering - 1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 03 2018 Elliott Sales de Andrade - 1.5-2 - Use jsdir macro for JavaScript files * Thu Nov 09 2017 Elliott Sales de Andrade - 1.5-1 - initial package for Fedora ## END: Generated by rpmautospec