R-matrixStats/R-matrixStats.spec

73 lines
2.6 KiB
RPMSpec
Raw Normal View History

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}
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
* 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
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* 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
* 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