%global packname gmp %global packver 0.7 %global packrel 4 %global rlibdir %{_libdir}/R/library # Rmpfr requires this package. %global with_loop 0 Name: R-%{packname} Version: %{packver}.%{packrel} Release: 1%{?dist} Summary: Multiple Precision Arithmetic License: GPL-2.0-or-later URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}-%{packrel}.tar.gz # Here's the R view of the dependencies world: # Depends: # Imports: R-methods # Suggests: R-Rmpfr, R-MASS, R-round # LinkingTo: # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: gmp-devel >= 4.2.3 BuildRequires: R-methods, R-MASS %if %{with_loop} BuildRequires: R-Rmpfr # Suggests not in Fedora BuildRequires: R-round %endif %description Multiple Precision Arithmetic (big integers and rationals, prime number tests, matrix computation), "arithmetic without limitations" using the C library GMP (GNU Multiple Precision Arithmetic). %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 %{with_loop} %{_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 %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %{rlibdir}/%{packname}/data %changelog * Fri Apr 26 2024 Iñaki Úcar - 0.7.4-1 - Update to latest version * Thu Apr 25 2024 Iñaki Úcar - 0.7.1-6 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 0.7.1-2 - R-maint-sig mass rebuild * Wed Feb 8 2023 Tom Callaway - 0.7.1-1 - update to 0.7-1 * Wed Jan 18 2023 Fedora Release Engineering - 0.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 18 2022 Tom Callaway - 0.6.6-1 - update to 0.6-6 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.6.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 8 2021 Tom Callaway - 0.6.2-1 - Update to 0.6-2 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.5.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.5.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 4 2020 Tom Callaway - 0.5.14-2 - rebuild for R 4 * Thu May 21 2020 Elliott Sales de Andrade - 0.5.14-1 - Update to latest version * Mon Feb 24 2020 Elliott Sales de Andrade - 0.5.13.6-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 0.5.13.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Aug 11 2019 Elliott Sales de Andrade - 0.5.13.5-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 0.5.13.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 11 2019 Elliott Sales de Andrade - 0.5.13.5-1 - Update to latest version * Mon Mar 04 2019 Elliott Sales de Andrade - 0.5.13.4-1 - Update to latest version * Thu Jan 31 2019 Fedora Release Engineering - 0.5.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jul 22 2018 Elliott Sales de Andrade - 0.5.13.2-1 - Update to latest version * Thu Jul 12 2018 Fedora Release Engineering - 0.5.13.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu May 17 2018 Tom Callaway - 0.5.13.1-2 - rebuild for R 3.5.0 * Sun Mar 25 2018 Elliott Sales de Andrade - 0.5.13.1-1 - initial package for Fedora