2017-06-02 16:00:23 +00:00
|
|
|
%global packname matrixStats
|
|
|
|
%global packver 0.52.2
|
|
|
|
|
|
|
|
Name: R-%{packname}
|
|
|
|
Version: %{packver}
|
2018-02-07 01:18:59 +00:00
|
|
|
Release: 4%{?dist}
|
2017-06-02 16:00:23 +00:00
|
|
|
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
|
2018-02-07 01:18:59 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 17:12:10 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 02:15:10 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-02 16:00:23 +00:00
|
|
|
* Wed May 31 2017 Tom Callaway <spot@fedoraproject.org> - 0.52.2-1
|
|
|
|
- initial package
|