%global packname chron %global packver 2.3-56 %global rlibdir %{_libdir}/R/library # Dependency loops. %bcond_with bootstrap Name: R-%{packname} Version: 2.3.56 Release: 2%{?dist} Summary: Chronological Objects which can Handle Dates and Times 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-graphics, R-stats # Suggests: R-scales, R-ggplot2 # LinkingTo: # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-graphics BuildRequires: R-stats %if %{without bootstrap} BuildRequires: R-scales BuildRequires: R-ggplot2 %endif %description Provides chronological objects which can handle dates and times. %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} %{_bindir}/R CMD check %{packname} %else _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %{rlibdir}/%{packname}/INDEX %doc %{rlibdir}/%{packname}/CITATION %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %changelog * Mon Jan 25 2021 Fedora Release Engineering - 2.3.56-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Aug 19 2020 Elliott Sales de Andrade - 2.3.56-1 - Update to latest version (#1869685) * Mon Jul 27 2020 Fedora Release Engineering - 2.3.55-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 3 2020 Tom Callaway - 2.3.55-2 - rebuild for R 4 * Mon Feb 24 2020 Elliott Sales de Andrade - 2.3.55-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 2.3.54-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 26 2019 Elliott Sales de Andrade - 2.3.54-1 - Update to latest version * Sun Aug 11 2019 Elliott Sales de Andrade - 2.3.53-4 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 2.3.53-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 2.3.53-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Sep 10 2018 Elliott Sales de Andrade - 2.3.53-1 - Update to latest version * Thu Jul 12 2018 Fedora Release Engineering - 2.3.52-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue May 29 2018 Elliott Sales de Andrade - 2.3.52-2 - Rebuild for R 3.5.0 * Sun May 06 2018 Elliott Sales de Andrade - 2.3.52-1 - initial package for Fedora