2021-02-08 16:44:34 +00:00
|
|
|
%global packname cachem
|
2021-06-14 18:13:02 +00:00
|
|
|
%global packver 1.0.5
|
2021-02-08 16:44:34 +00:00
|
|
|
|
|
|
|
Name: R-%{packname}
|
|
|
|
Version: %{packver}
|
2022-07-20 19:18:13 +00:00
|
|
|
Release: 4%{?dist}
|
2021-02-08 16:44:34 +00:00
|
|
|
Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
URL: http://cran.r-project.org/web/packages/cachem/index.html
|
|
|
|
Summary: Cache R Objects with Automatic Pruning
|
|
|
|
BuildRequires: R-devel >= 3.0.0, tetex-latex, R-rlang, R-fastmap, gcc
|
|
|
|
BuildRequires: R-testthat
|
|
|
|
|
|
|
|
%description
|
|
|
|
Key-value stores with automatic pruning. Caches can limit either their total
|
|
|
|
size or the age of the oldest object (or both), automatically pruning objects
|
|
|
|
to maintain the constraints.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/R/library
|
|
|
|
%{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}
|
|
|
|
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{_bindir}/R CMD check %{packname}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{_libdir}/R/library/%{packname}
|
|
|
|
%doc %{_libdir}/R/library/%{packname}/LICENSE
|
|
|
|
%doc %{_libdir}/R/library/%{packname}/html
|
|
|
|
%doc %{_libdir}/R/library/%{packname}/NEWS.md
|
|
|
|
%{_libdir}/R/library/%{packname}/DESCRIPTION
|
|
|
|
%{_libdir}/R/library/%{packname}/INDEX
|
|
|
|
%{_libdir}/R/library/%{packname}/NAMESPACE
|
|
|
|
%{_libdir}/R/library/%{packname}/Meta
|
|
|
|
%{_libdir}/R/library/%{packname}/R
|
|
|
|
%{_libdir}/R/library/%{packname}/help
|
|
|
|
%{_libdir}/R/library/%{packname}/libs
|
|
|
|
|
|
|
|
%changelog
|
2022-07-20 19:18:13 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-19 19:51:55 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 16:15:53 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-14 18:13:02 +00:00
|
|
|
* Mon Jun 14 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.5-1
|
|
|
|
- update to 1.0.5
|
|
|
|
- Rebuilt for R 4.1.0
|
|
|
|
|
2021-02-08 16:44:34 +00:00
|
|
|
* Thu Feb 4 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.2-1
|
|
|
|
- initial package
|