initial package
This commit is contained in:
parent
4846efde4b
commit
2e6ace8346
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/matrixStats_0.52.2.tar.gz
|
55
R-matrixStats.spec
Normal file
55
R-matrixStats.spec
Normal file
@ -0,0 +1,55 @@
|
||||
%global packname matrixStats
|
||||
%global packver 0.52.2
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: %{packver}
|
||||
Release: 1%{?dist}
|
||||
Summary: Functions that Apply to Rows and Columns of Matrices (and to Vectors)
|
||||
Group: Applications/Productivity
|
||||
License: Artistic 2.0
|
||||
URL: http://cran.r-project.org/web/packages/%{packname}/index.html
|
||||
Source0: http://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
||||
Requires: R-core >= 3.4.0
|
||||
BuildRequires: R-devel >= 3.4.0
|
||||
|
||||
%description
|
||||
High-performing functions operating on rows and columns of matrices, e.g.
|
||||
col / rowMedians(), col / rowRanks(), and col / rowSds(). Functions optimized
|
||||
per data type and for subsetted calculations such that both memory usage and
|
||||
processing time is minimized. There are also optimized vector-based methods,
|
||||
e.g. binMeans(), madDiff() and weightedMedian().
|
||||
|
||||
%prep
|
||||
%setup -c -q -n %{packname}
|
||||
sed -i "s/\r//g" %{packname}/NEWS
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libdir}/R/library
|
||||
R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library
|
||||
# Clean up in advance of check
|
||||
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
||||
%{__rm} -rf %{buildroot}%{_libdir}/R/library/R.css
|
||||
|
||||
%check
|
||||
# Too many missing deps
|
||||
# %%{_bindir}/R CMD check %%{packname}
|
||||
|
||||
%files
|
||||
%dir %{_libdir}/R/library/%{packname}
|
||||
%doc %{_libdir}/R/library/%{packname}/html
|
||||
%{_libdir}/R/library/%{packname}/DESCRIPTION
|
||||
%doc %{_libdir}/R/library/%{packname}/NEWS
|
||||
%{_libdir}/R/library/%{packname}/INDEX
|
||||
%{_libdir}/R/library/%{packname}/libs/
|
||||
%{_libdir}/R/library/%{packname}/Meta
|
||||
%{_libdir}/R/library/%{packname}/NAMESPACE
|
||||
%{_libdir}/R/library/%{packname}/R
|
||||
%{_libdir}/R/library/%{packname}/benchmarking
|
||||
%{_libdir}/R/library/%{packname}/doc
|
||||
%{_libdir}/R/library/%{packname}/help
|
||||
|
||||
%changelog
|
||||
* Wed May 31 2017 Tom Callaway <spot@fedoraproject.org> - 0.52.2-1
|
||||
- initial package
|
Loading…
Reference in New Issue
Block a user