87 lines
3.1 KiB
RPMSpec
87 lines
3.1 KiB
RPMSpec
%global packname cachem
|
|
%global packver 1.0.6
|
|
|
|
Name: R-%{packname}
|
|
Version: %{packver}
|
|
Release: 8.0.riscv64%{?dist}
|
|
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, tex(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
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.0.6-7
|
|
- R-maint-sig mass rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.0.6-3
|
|
- R-maint-sig mass rebuild
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Thu Aug 25 2022 Tom Callaway <spot@fedoraproject.org> - 1.0.6-1
|
|
- update to 1.0.6
|
|
- rebuild for R 4.2.1
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Mon Jun 14 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.5-1
|
|
- update to 1.0.5
|
|
- Rebuilt for R 4.1.0
|
|
|
|
* Thu Feb 4 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.2-1
|
|
- initial package
|