Initial import (#1807409).

This commit is contained in:
Elliott Sales de Andrade 2020-02-28 17:15:33 -05:00
parent 48e619f9c9
commit 32d1714184
3 changed files with 65 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/RhpcBLASctl_0.20-17.tar.gz

63
R-RhpcBLASctl.spec Normal file
View File

@ -0,0 +1,63 @@
%global packname RhpcBLASctl
%global packver 0.20-17
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 0.20.17
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}.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
* Wed Feb 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.20.17-1
- initial package for Fedora

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (RhpcBLASctl_0.20-17.tar.gz) = f4bd77ea71653269a20e88a95595dd834b07ce5cd6f615696d238120eb283a37041c38e22f855db90b0f1ce243483fbf573dc68f4973110dda40688da392c0c5