R-cachem/R-cachem.spec

87 lines
3.1 KiB
RPMSpec
Raw Permalink Normal View History

2021-02-08 16:44:34 +00:00
%global packname cachem
2022-08-25 15:26:45 +00:00
%global packver 1.0.6
2021-02-08 16:44:34 +00:00
Name: R-%{packname}
Version: %{packver}
Release: 8.1.riscv64%{?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
2023-04-21 13:14:57 +00:00
BuildRequires: R-devel >= 3.0.0, tex(latex), R-rlang, R-fastmap, gcc
BuildRequires: R-testthat
2021-02-08 16:44:34 +00:00
%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}
2021-02-08 16:44:34 +00:00
%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
2024-04-25 11:18:43 +00:00
* 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
2023-04-21 11:14:24 +00:00
* 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
2022-08-25 15:26:45 +00:00
* 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
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