%bcond_with suggests %global packname microbenchmark %global packvers 1.4.10 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packvers} Release: 7%{?dist} Summary: Accurate Timing Functions # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}.tar.gz # Here's the R view of the dependencies world: # Depends: # Imports: R-graphics, R-stats # Suggests: R-ggplot2, R-multcomp, R-RUnit # LinkingTo: # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-graphics BuildRequires: R-stats %if %{with suggests} BuildRequires: R-ggplot2 BuildRequires: R-multcomp BuildRequires: R-RUnit %endif %description Provides infrastructure to accurately measure and compare the execution time of R expressions. %prep %setup -q -c -n %{packname} %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 %if %{with suggests} %{_bindir}/R CMD check %{packname} %else _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %{rlibdir}/%{packname}/INDEX %license %{rlibdir}/%{packname}/LICENSE %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %{rlibdir}/%{packname}/unitTests %changelog * Wed Sep 04 2024 Miroslav Suchý - 1.4.10-7 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.4.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 1.4.10-5 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.4.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.4.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.4.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Apr 29 2023 Tom Callaway - 1.4.10-1 - update to 1.4.10 - switch from "bootstrap" to "suggests conditionalized off by default" * Fri Apr 21 2023 Iñaki Úcar - 1.4.9-3 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.4.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Aug 19 2022 Tom Callaway - 1.4.9-1 - update to 1.4.9 - rebuild for R 4.2.1 - bootstrap on * Wed Jul 20 2022 Fedora Release Engineering - 1.4.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.4.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.4.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 17 2021 Tom Callaway - 1.4.7-8 - bootstrap off * Mon Jun 14 2021 Tom Callaway - 1.4.7-7 - Rebuilt for R 4.1.0 - bootstrap * Mon Jan 25 2021 Fedora Release Engineering - 1.4.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.4.7-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.4.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 7 2020 Tom Callaway - 1.4.7-3 - rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 1.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Sep 24 2019 Elliott Sales de Andrade - 1.4.7-1 - Update to latest version * Sun Aug 11 2019 Elliott Sales de Andrade - 1.4.6-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 1.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 15 2019 Elliott Sales de Andrade - 1.4.6-1 - Update to latest version * Thu Jan 31 2019 Fedora Release Engineering - 1.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Oct 14 2018 Elliott Sales de Andrade - 1.4.5-1 - Update to latest version * Wed Aug 15 2018 Elliott Sales de Andrade - 1.4.4-1 - initial package for Fedora