%global packname RhpcBLASctl %global packver 0.21 %global packrel 247.1 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packver}.%{packrel} Release: 1%{?dist} Summary: Control the Number of Threads on BLAS License: AGPLv3 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: # Suggests: # LinkingTo: # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) %description Control the number of threads on BLAS (aka GotoBLAS, OpenBLAS, ACML, BLIS and MKL). And possible to control the number of threads in OpenMP. Get a number of logical cores and physical cores if feasible. %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 %{_bindir}/R CMD check %{packname} %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 %changelog * Thu Sep 1 2022 Tom Callaway - 0.21.247.1-1 - update to 0.21-247.1 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.20.137-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.20.137-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.20.137-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 7 2021 Tom Callaway - 0.20.137-4 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.20.137-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.20.137-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 3 2020 Tom Callaway - 0.20.137-1 - update to 0.20-137, rebuild for R 4 * Wed Feb 26 2020 Elliott Sales de Andrade - 0.20.17-1 - initial package for Fedora