2017-06-02 16:00:23 +00:00
|
|
|
%global packname matrixStats
|
2018-03-23 17:59:08 +00:00
|
|
|
%global packver 0.53.1
|
2017-06-02 16:00:23 +00:00
|
|
|
|
|
|
|
Name: R-%{packname}
|
|
|
|
Version: %{packver}
|
2018-07-12 19:32:18 +00:00
|
|
|
Release: 3%{?dist}
|
2017-06-02 16:00:23 +00:00
|
|
|
Summary: Functions that Apply to Rows and Columns of Matrices (and to Vectors)
|
|
|
|
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-07-12 19:32:18 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.53.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-18 01:10:42 +00:00
|
|
|
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 0.53.1-2
|
|
|
|
- Rebuild for R 3.5.0
|
|
|
|
|
2018-03-23 17:59:08 +00:00
|
|
|
* Fri Mar 23 2018 Tom Callaway <spot@fedoraproject.org> - 0.53.1-1
|
|
|
|
- update to 0.53.1
|
|
|
|
|
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
|