%bcond_with check %global packname pbapply %global ver 1.7 %global packrel 2 %global _description %{expand: A lightweight package that adds progress bar to vectorized R functions ('*apply'). The implementation can easily be added to functions where showing the progress is useful (e.g. bootstrap). The type and style of the progress bar (with percentages or remaining time) can be set through options. Supports several parallel processing backends.} Name: R-%{packname} Version: %{ver}.%{packrel} Release: 6%{?dist} Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{ver}-%{packrel}.tar.gz # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only URL: https://cran.rstudio.com/web/packages/pbapply/index.html Summary: Adding Progress Bar to '*apply' Functions BuildRequires: R-devel, tex(latex), R-parallel Requires: R-core %if %{with check} BuildRequires: R-shiny %endif BuildArch: noarch %description %_description %prep %setup -q -c -n %{packname} %build %install mkdir -p %{buildroot}%{_datadir}/R/library %{_bindir}/R CMD INSTALL -l %{buildroot}%{_datadir}/R/library %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf %{buildroot}%{_datadir}/R/library/R.css %check %if %{with check} export LANG=C.UTF-8 %{_bindir}/R CMD check --ignore-vignettes %{packname} %endif %files %dir %{_datadir}/R/library/%{packname} %doc %{_datadir}/R/library/%{packname}/html %doc %{_datadir}/R/library/%{packname}/NEWS.md %doc %{_datadir}/R/library/%{packname}/WORDLIST %{_datadir}/R/library/%{packname}/DESCRIPTION %{_datadir}/R/library/%{packname}/INDEX %{_datadir}/R/library/%{packname}/NAMESPACE %{_datadir}/R/library/%{packname}/Meta %{_datadir}/R/library/%{packname}/R %{_datadir}/R/library/%{packname}/help %changelog * Mon Jul 29 2024 Miroslav Suchý - 1.7.2-6 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.7.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 1.7.2-4 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Aug 17 2023 Iztok Fister Jr. - 1.7.2-1 - Update to 1.7-2 * Wed Jul 19 2023 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.7.0-2 - R-maint-sig mass rebuild * Wed Mar 15 2023 Iztok Fister Jr. - 1.7.0-1 - Update to 1.7-0 * Wed Jan 18 2023 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 25 2022 Tom Callaway - 1.5.0-1 - update to 1.5-0 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 1.4.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.4.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 14 2021 Tom Callaway - 1.4.3-2 - Rebuilt for R 4.1.0 * Tue Apr 27 2021 Iztok Fister Jr. - 1.4.3-1 - Switched to noarch * Sun Apr 25 2021 Iztok Fister Jr. - 1.4.3-1 - Initial package