%global packname tikzDevice %global packver 0.12.4 %global rlibdir %{_libdir}/R/library # Some dependency loops. %global with_suggests 0 Name: R-%{packname} Version: %{packver} Release: 8%{?dist} Summary: R Graphics Output in LaTeX Format # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later 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-filehash >= 2.3, R-png # Suggests: R-evaluate, R-formatR, R-ggplot2, R-knitr, R-lattice, R-maps, R-scales, R-stringr, R-testthat >= 0.8.1, R-withr, R-covr # LinkingTo: # Enhances: Requires: texlive-pgf >= 2.0 Requires: tex(preview.sty) BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: texlive-pgf >= 2.0 BuildRequires: tex(preview.sty) BuildRequires: R-filehash >= 2.3 BuildRequires: R-png BuildRequires: R-evaluate BuildRequires: R-lattice BuildRequires: R-stringr BuildRequires: R-testthat >= 0.8.1 BuildRequires: R-withr BuildRequires: R-covr %if %{with_suggests} BuildRequires: R-formatR BuildRequires: R-ggplot2 BuildRequires: R-knitr BuildRequires: R-maps BuildRequires: R-scales %endif %description Provides a graphics output device for R that records plots in a LaTeX-friendly format. The device transforms plotting commands issued by R functions into LaTeX code blocks. When included in a LaTeX document, these blocks are interpreted with the help of 'TikZ'---a graphics package for TeX and friends written by Till Tantau. Using the 'tikzDevice', the text of R plots can contain LaTeX commands such as mathematical formula. The device also allows arbitrary LaTeX code to be inserted into the output stream. %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 export LANG=C.utf8 %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}/doc %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 * Fri Jul 26 2024 Miroslav Suchý - 0.12.4-8 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 0.12.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 0.12.4-6 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.12.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.12.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.12.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 0.12.4-2 - R-maint-sig mass rebuild * Tue Feb 14 2023 Tom Callaway - 0.12.4-1 - update to 0.12.4 * Wed Jan 18 2023 Fedora Release Engineering - 0.12.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Sep 2 2022 Tom Callaway - 0.12.3.1-9 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.12.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.12.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.12.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Tom Callaway - 0.12.3.1-5 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.12.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.12.3.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.12.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 21 2020 Elliott Sales de Andrade - 0.12.3.1-1 - Update to latest version * Sun Jun 7 2020 Tom Callaway - 0.12.3-3 - rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 0.12.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Aug 17 2019 Elliott Sales de Andrade - 0.12.3-1 - Update to latest version * Sun Aug 11 2019 Elliott Sales de Andrade - 0.12-5 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jul 08 2018 Elliott Sales de Andrade - 0.12-1 - Update to latest version * Fri May 18 2018 Tom Callaway - 0.11-2 - rebuild for R 3.5.0 * Sat Mar 24 2018 Elliott Sales de Andrade - 0.11-1 - Update to latest version * Wed Feb 07 2018 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 06 2017 Elliott Sales de Andrade - 0.10.1-1 - initial package for Fedora