%bcond_with bootstrap %global packname htmltools %global packver 0.5.3 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packver} Release: 1%{?dist} Summary: Tools for HTML License: GPLv2+ 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-utils, R-digest, R-grDevices, R-base64enc, R-rlang # Suggests: R-markdown, R-testthat, R-withr, R-Cairo, R-ragg, R-shiny # LinkingTo: # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-utils BuildRequires: R-digest BuildRequires: R-grDevices BuildRequires: R-base64enc BuildRequires: R-rlang >= 0.4.10 BuildRequires: R-fastmap >= 1.1.0 %if %{without bootstrap} BuildRequires: R-markdown BuildRequires: R-testthat BuildRequires: R-withr BuildRequires: R-Cairo BuildRequires: R-ragg BuildRequires: R-shiny %endif %description Tools for HTML generation and output. %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 %{without bootstrap} export LANG=C.UTF-8 %{_bindir}/R CMD check %{packname} %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.md %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %changelog * Thu Aug 25 2022 Tom Callaway - 0.5.3-1 - update to 0.5.3 - rebuild for R 4.2.1 - bootstrap on * Wed Jul 20 2022 Fedora Release Engineering - 0.5.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.5.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.5.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 17 2021 Tom Callaway - 0.5.1.1-3 - bootstrap off * Fri Jun 11 2021 Tom Callaway - 0.5.1.1-2 - Rebuilt for R 4.1.0 - bootstrap * Sun Feb 07 2021 Elliott Sales de Andrade - 0.5.1.1-1 - Update to latest version (#1915472) * Mon Jan 25 2021 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Aug 14 2020 Elliott Sales de Andrade - 0.5.0-1 - Update to latest version (#1865734) * Mon Jul 27 2020 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 4 2020 Tom Callaway - 0.4.0-3 - rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 15 2019 Elliott Sales de Andrade - 0.4.0-1 - Update to latest version * Sun Aug 11 2019 Elliott Sales de Andrade - 0.3.6-8 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 0.3.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.3.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.3.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu May 17 2018 Tom Callaway - 0.3.6-4 - rebuild for R 3.5.0 * Wed Feb 07 2018 Fedora Release Engineering - 0.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Nov 07 2017 Elliott Sales de Andrade 0.3.6-2 - Remove extra Requires. * Fri Aug 25 2017 Elliott Sales de Andrade 0.3.6-1 - initial package for Fedora