%global packname formattable %global packver 0.2.1 %global rlibdir %{_datadir}/R/library # Not available yet. %global with_suggests 0 Name: R-%{packname} Version: %{packver} Release: 14%{?dist} Summary: Create 'Formattable' Data Structures License: MIT URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz # Here's the R view of the dependencies world: # Depends: # Imports: R-methods, R-htmltools, R-htmlwidgets, R-knitr, R-rmarkdown # Suggests: R-testthat, R-DT, R-shiny, R-covr # LinkingTo: # Enhances: BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-methods BuildRequires: R-htmltools BuildRequires: R-htmlwidgets BuildRequires: R-knitr BuildRequires: R-rmarkdown BuildRequires: R-testthat BuildRequires: R-DT BuildRequires: R-shiny %description Provides functions to create formattable vectors and data frames. 'Formattable' vectors are printed with text formatting, and formattable data frames are printed with multiple types of formatting in HTML to improve the readability of data presented in tabular form rendered in web pages. %prep %setup -q -c -n %{packname} # Don't need coverage; it's not packaged either. sed -i 's/, covr//g' %{packname}/DESCRIPTION %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 # Avoid error with .make_numeric_version # not sure where this comes from, probably a dependency export _R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS_=false %{_bindir}/R CMD check --ignore-vignettes %{packname} %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS %license %{rlibdir}/%{packname}/LICENSE %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/htmlwidgets %changelog * Thu Apr 25 2024 Iñaki Úcar - 0.2.1-14 - R-maint-sig mass rebuild * Wed Jan 24 2024 Fedora Release Engineering - 0.2.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.2.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri May 12 2023 Iñaki Úcar - 0.2.1-10 - Ignore vignettes * Fri Apr 21 2023 Iñaki Úcar - 0.2.1-9 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 0.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Sep 3 2022 Tom Callaway - 0.2.1-7 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Tom Callaway - 0.2.1-3 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 08 2021 Elliott Sales de Andrade - 0.2.1-1 - Update to latest version (#1913976) * Sun Aug 02 2020 Elliott Sales de Andrade - 0.2.0.1-1 - initial package for Fedora