R-dplyr/R-dplyr.spec

191 lines
6.2 KiB
RPMSpec
Raw Normal View History

2022-09-04 11:28:43 +00:00
%bcond_with bootstrap
2021-03-06 23:04:21 +00:00
2020-02-26 02:45:11 +00:00
%global packname dplyr
2023-02-27 18:47:42 +00:00
%global packver 1.1.0
2019-03-06 23:50:06 +00:00
%global rlibdir %{_libdir}/R/library
%global __suggests_exclude ^R\\((Lahman|RMySQL|RPostgreSQL)\\)
2019-03-06 23:50:06 +00:00
Name: R-%{packname}
Version: %{packver}
2023-02-27 18:47:42 +00:00
Release: 1%{?dist}
2019-03-06 23:50:06 +00:00
Summary: A Grammar of Data Manipulation
License: MIT
URL: https://CRAN.R-project.org/package=%{packname}
2020-02-26 02:45:11 +00:00
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
2019-03-06 23:50:06 +00:00
# Here's the R view of the dependencies world:
# Depends:
2023-02-27 18:47:42 +00:00
# Imports: R-cli >= 3.4.0, R-generics, R-glue >= 1.3.2, R-lifecycle >= 1.0.3, R-magrittr >= 1.5, R-methods, R-pillar >= 1.5.1, R-R6, R-rlang >= 1.0.6, R-tibble >= 2.1.3, R-tidyselect >= 1.2.0, R-utils, R-vctrs >= 0.5.2
# Suggests: R-bench, R-broom, R-callr, R-covr, R-DBI, R-dbplyr >= 2.2.1, R-ggplot2, R-knitr, R-Lahman, R-lobstr, R-microbenchmark, R-nycflights13, R-purrr, R-rmarkdown, R-RMySQL, R-RPostgreSQL, R-RSQLite, R-stringi >= 1.7.6, R-testthat >= 3.1.5, R-tidyr >= 1.3.0, R-withr
2020-09-12 10:30:17 +00:00
# LinkingTo:
2019-03-06 23:50:06 +00:00
# Enhances:
BuildRequires: R-devel
BuildRequires: tex(latex)
2023-02-27 18:47:42 +00:00
BuildRequires: R-cli >= 3.4.0
2020-09-12 10:30:17 +00:00
BuildRequires: R-generics
BuildRequires: R-glue >= 1.3.2
2023-02-27 18:47:42 +00:00
BuildRequires: R-lifecycle >= 1.0.3
2019-03-06 23:50:06 +00:00
BuildRequires: R-magrittr >= 1.5
BuildRequires: R-methods
2023-02-27 18:47:42 +00:00
BuildRequires: R-pillar >= 1.5.1
2019-08-26 03:38:04 +00:00
BuildRequires: R-R6
2023-02-27 18:47:42 +00:00
BuildRequires: R-rlang >= 1.0.6
2020-09-12 10:30:17 +00:00
BuildRequires: R-tibble >= 2.1.3
2023-02-27 18:47:42 +00:00
BuildRequires: R-tidyselect >= 1.2.0
2019-03-06 23:50:06 +00:00
BuildRequires: R-utils
2023-02-27 18:47:42 +00:00
BuildRequires: R-vctrs >= 0.5.2
2019-08-26 03:38:04 +00:00
BuildRequires: R-callr
BuildRequires: R-DBI
2023-02-27 18:47:42 +00:00
BuildRequires: R-ggplot2
2019-08-26 03:38:04 +00:00
BuildRequires: R-knitr
2020-09-12 10:30:17 +00:00
BuildRequires: R-lobstr
2019-08-26 03:38:04 +00:00
BuildRequires: R-microbenchmark
2020-09-12 10:30:17 +00:00
BuildRequires: R-purrr
2019-08-26 03:38:04 +00:00
BuildRequires: R-rmarkdown
BuildRequires: R-RSQLite
2023-02-27 18:47:42 +00:00
BuildRequires: R-stringi >= 1.7.6
BuildRequires: R-testthat >= 3.1.5
2019-08-26 03:38:04 +00:00
BuildRequires: R-withr
%if %{without bootstrap}
2020-09-12 10:30:17 +00:00
BuildRequires: R-bench
2019-08-26 03:38:04 +00:00
BuildRequires: R-broom
2023-02-27 18:47:42 +00:00
BuildRequires: R-dbplyr >= 2.2.1
2020-09-12 10:30:17 +00:00
BuildRequires: R-nycflights13
2023-02-27 18:47:42 +00:00
BuildRequires: R-tidyr >= 1.3.0
2022-09-04 12:03:04 +00:00
BuildRequires: R-ggplot2
2019-03-06 23:50:06 +00:00
%endif
2020-09-12 10:30:17 +00:00
Obsoletes: %{name}-devel < 0.8.5-4
2019-03-06 23:50:06 +00:00
%description
A fast, consistent tool for working with data frame like objects, both in
memory and out of memory.
%prep
%setup -q -c -n %{packname}
# Don't need coverage; it's not packaged either.
2020-09-12 10:30:17 +00:00
# Lahman is not yet packaged.
# RMySQL/RPostgreSQL are old wrappers, so won't be packaged by me at least.
sed -i \
-e 's/covr, //g' \
-e 's/Lahman, //g' \
-e 's/RMySQL, RPostgreSQL, //g' \
%{packname}/DESCRIPTION
2019-03-06 23:50:06 +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
export LANG=C.UTF-8
%if %{without bootstrap}
2023-02-27 19:04:54 +00:00
# yay weird ibm arches
%ifarch ppc64le
%{_bindir}/R CMD check %{packname} --no-vignettes
%else
2020-09-12 10:30:17 +00:00
%{_bindir}/R CMD check %{packname}
2023-02-27 19:04:54 +00:00
%endif
2020-09-12 10:30:17 +00:00
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-vignettes
2019-03-06 23:50:06 +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
%{rlibdir}/%{packname}/data
%dir %{rlibdir}/%{packname}/libs
%{rlibdir}/%{packname}/libs/%{packname}.so
%changelog
2023-02-27 18:47:42 +00:00
* Mon Feb 27 2023 Tom Callaway <spot@fedoraproject.org> - 1.1.0-1
- update to 1.1.0
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Sep 1 2022 Tom Callaway <spot@fedoraproject.org> - 1.0.10-1
- update to 1.0.10
- rebuild for R 4.2.1
- bootstrap on
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-17 20:37:06 +00:00
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.6-2
- bootstrap off
* Tue Jun 15 2021 Tom Callaway <spot@fedoraproject.org> - 1.0.6-1
- update to 1.0.6
- bootstrap
- Rebuilt for R 4.1.0
2021-03-06 23:04:21 +00:00
* Sat Mar 06 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.5-1
- Update to latest version (#1935731)
2021-02-24 00:26:22 +00:00
* Sun Feb 07 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.4-1
- Update to latest version (#1916807)
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-09-12 10:30:17 +00:00
* Sat Sep 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.2-1
- Update to latest version (#1841868)
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-07 17:14:50 +00:00
* Sun Jun 7 2020 Tom Callaway <spot@fedoraproject.org> - 0.8.5-2
- rebuild for R 4
- broom is now an R package so it does not need to be excluded
- remove from BuildRequires other packages that are not yet available
2020-06-07 17:14:50 +00:00
2020-03-15 04:31:04 +00:00
* Sun Mar 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.5-1
- Update to latest version
2020-02-26 02:45:11 +00:00
* Mon Feb 24 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.4-1
- Update to latest version
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-08-26 03:38:04 +00:00
* Sun Aug 25 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.3-1
- Update to latest version
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0.1-3
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-03-06 23:50:06 +00:00
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0.1-1
- initial package for Fedora