R-purrr/R-purrr.spec

170 lines
5.6 KiB
RPMSpec
Raw Normal View History

2019-02-18 00:27:21 +00:00
# When we are bootstrapping, we drop some dependencies, and/or build time tests.
2022-09-04 11:32:55 +00:00
%bcond_with bootstrap
2019-02-18 00:27:21 +00:00
2020-05-22 21:06:14 +00:00
%global packname purrr
2023-01-20 15:03:15 +00:00
%global packver 1.0.1
2019-02-18 00:27:21 +00:00
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
2022-09-01 19:46:02 +00:00
Version: %{packver}
2024-04-25 14:34:52 +00:00
Release: 6%{?dist}
2019-02-18 00:27:21 +00:00
Summary: Functional Programming Tools
License: GPLv3
URL: https://CRAN.R-project.org/package=%{packname}
2020-05-22 21:06:14 +00:00
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
2019-02-18 00:27:21 +00:00
# Here's the R view of the dependencies world:
# Depends:
2022-12-30 21:49:03 +00:00
# Imports: R-cli >= 3.4.0, R-lifecycle >= 1.0.3, R-magrittr >= 1.5.0, R-rlang >= 0.4.10, R-vctrs >= 0.5.0
# Suggests: R-covr, R-dplyr >= 0.7.8, R-httr, R-knitr, R-lubridate, R-rmarkdown, R-testthat >= 3.0.0, R-tibble, R-tidyselect
# LinkingTo: R-cli
2019-02-18 00:27:21 +00:00
# Enhances:
BuildRequires: R-devel
BuildRequires: tex(latex)
2022-12-30 21:49:03 +00:00
BuildRequires: R-cli >= 3.4.0
BuildRequires: R-lifecycle >= 1.0.3
BuildRequires: R-magrittr >= 1.5.0
BuildRequires: R-rlang >= 0.4.10
BuildRequires: R-vctrs >= 0.5.0
BuildRequires: R-httr
2019-02-18 00:27:21 +00:00
BuildRequires: R-knitr
2022-12-30 21:49:03 +00:00
BuildRequires: R-lubridate
2019-02-18 00:27:21 +00:00
BuildRequires: R-rmarkdown
2022-12-30 21:49:03 +00:00
BuildRequires: R-testthat >= 3.0.0
2019-10-21 17:25:26 +00:00
%if %{without bootstrap}
BuildRequires: R-tibble
2019-02-18 00:27:21 +00:00
BuildRequires: R-dplyr >= 0.7.8
BuildRequires: R-tidyselect
%endif
%description
A complete and consistent functional programming toolkit for R.
%prep
%setup -q -c -n %{packname}
# Don't need coverage; it's not packaged either.
2019-03-04 22:52:12 +00:00
sed -i 's/covr, //g' %{packname}/DESCRIPTION
2019-02-18 00:27:21 +00:00
%build
%install
mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
%check
2019-10-21 17:25:26 +00:00
%if %{without bootstrap}
2023-04-21 20:00:23 +00:00
%{_bindir}/R CMD check --ignore-vignettes %{packname}
2019-02-18 00:27:21 +00:00
%else
2023-04-21 20:00:23 +00:00
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check --ignore-vignettes %{packname} --no-examples
2019-02-18 00:27:21 +00:00
%endif
%files
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS.md
%license %{rlibdir}/%{packname}/LICENSE
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%dir %{rlibdir}/%{packname}/libs
%{rlibdir}/%{packname}/libs/%{packname}.so
%changelog
2024-04-25 14:34:52 +00:00
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.0.1-6
- R-maint-sig mass rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-04-21 12:09:49 +00:00
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.0.1-2
- R-maint-sig mass rebuild
2023-01-20 15:03:15 +00:00
* Fri Jan 20 2023 Tom Callaway <spot@fedoraproject.org> - 1.0.1-1
- update to 1.0.1
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-12-30 21:49:03 +00:00
* Fri Dec 30 2022 Tom Callaway <spot@fedoraproject.org> - 1.0.0-1
- update to 1.0.0
2022-09-01 19:46:02 +00:00
* Thu Sep 1 2022 Tom Callaway <spot@fedoraproject.org> - 0.3.4-11
- rebuild for R 4.2.1
- bootstrap on
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-17 21:11:08 +00:00
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 0.3.4-7
- bootstrap off
2021-06-14 18:20:08 +00:00
* Mon Jun 14 2021 Tom Callaway <spot@fedoraproject.org> - 0.3.4-6
- bootstrap
- Rebuilt for R 4.1.0
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 5 2020 Tom Callaway <spot@fedoraproject.org> - 0.3.4-2
- move tibble under bootstrap conditional
- bootstrap build for R 4
2020-05-22 21:06:14 +00:00
* Thu May 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.4-1
- Update to latest version
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-10-21 17:13:51 +00:00
* Mon Oct 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.3-1
- Update to latest version
2019-10-21 17:25:26 +00:00
- Disable bootstrap
2019-10-21 17:13:51 +00:00
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.2-3
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-03-17 06:20:50 +00:00
* Sat Mar 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.2-1
- Update to latest version
2019-03-04 22:52:12 +00:00
* Mon Mar 04 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.1-1
- Update to latest version
2019-02-18 00:27:21 +00:00
* Fri Feb 15 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-1
- initial package for Fedora