2024-08-13 00:00:37 +00:00
|
|
|
%bcond_with bootstrap
|
2021-06-11 15:58:58 +00:00
|
|
|
|
2017-09-20 19:05:47 +00:00
|
|
|
%global packname htmlwidgets
|
|
|
|
%global rlibdir %{_datadir}/R/library
|
|
|
|
|
|
|
|
# Remove knitr dependency, which also Suggests this package.
|
2020-06-05 12:53:28 +00:00
|
|
|
%global with_doc 0
|
2017-09-20 19:05:47 +00:00
|
|
|
|
|
|
|
Name: R-%{packname}
|
2022-09-01 19:57:45 +00:00
|
|
|
Version: 1.5.4
|
2024-08-13 00:00:37 +00:00
|
|
|
Release: 8.1.riscv64%{?dist}
|
2017-09-20 19:05:47 +00:00
|
|
|
Summary: HTML Widgets for R
|
|
|
|
|
|
|
|
License: MIT
|
2019-01-23 00:55:21 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2017-09-20 19:05:47 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
|
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
2018-04-26 05:49:55 +00:00
|
|
|
# Imports: R-grDevices, R-htmltools >= 0.3, R-jsonlite >= 0.9.16, R-yaml
|
2021-06-11 15:58:58 +00:00
|
|
|
# Suggests: R-knitr >= 1.8, R-rmarkdown, R-testthat
|
2017-09-20 19:05:47 +00:00
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2018-04-26 05:49:55 +00:00
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
BuildRequires: R-grDevices
|
|
|
|
BuildRequires: R-htmltools >= 0.3
|
|
|
|
BuildRequires: R-jsonlite >= 0.9.16
|
|
|
|
BuildRequires: R-yaml
|
2021-06-11 15:58:58 +00:00
|
|
|
%if %{without bootstrap}
|
2017-09-20 19:05:47 +00:00
|
|
|
%if %{with_doc}
|
2018-04-26 05:49:55 +00:00
|
|
|
BuildRequires: R-knitr >= 1.8
|
2017-09-20 19:05:47 +00:00
|
|
|
%endif
|
2021-06-11 15:58:58 +00:00
|
|
|
BuildRequires: R-rmarkdown
|
|
|
|
BuildRequires: R-testthat
|
|
|
|
%endif
|
2017-09-20 19:05:47 +00:00
|
|
|
|
|
|
|
%description
|
2019-02-16 08:38:43 +00:00
|
|
|
A framework for creating HTML widgets that render in various contexts
|
|
|
|
including the R console, 'R Markdown' documents, and 'Shiny' web
|
|
|
|
applications.
|
2017-09-20 19:05:47 +00:00
|
|
|
|
2018-04-26 05:49:55 +00:00
|
|
|
|
2017-09-20 19:05:47 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
2018-04-26 05:49:55 +00:00
|
|
|
|
2017-09-20 19:05:47 +00:00
|
|
|
%build
|
|
|
|
|
2018-04-26 05:49:55 +00:00
|
|
|
|
2017-09-20 19:05:47 +00:00
|
|
|
%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
|
|
|
|
|
2018-04-26 05:49:55 +00:00
|
|
|
|
2017-09-20 19:05:47 +00:00
|
|
|
%check
|
2021-06-11 15:58:58 +00:00
|
|
|
%if %{without bootstrap}
|
2017-09-20 19:05:47 +00:00
|
|
|
%if %{with_doc}
|
|
|
|
%{_bindir}/R CMD check %{packname}
|
|
|
|
%else
|
|
|
|
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
|
|
|
%endif
|
2021-06-11 15:58:58 +00:00
|
|
|
%endif
|
2017-09-20 19:05:47 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/doc
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
2021-06-11 17:27:05 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/NEWS.md
|
2017-09-20 19:05:47 +00:00
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%license %{rlibdir}/%{packname}/LICENSE
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
|
|
|
%{rlibdir}/%{packname}/templates
|
|
|
|
%{rlibdir}/%{packname}/www
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-08-13 00:00:37 +00:00
|
|
|
* Mon Aug 12 2024 Jason Montleon <jmontleo@redhat.com> - 1.5.4-8.1.riscv64
|
|
|
|
- Turn off bootstrap (riscv64)
|
2024-07-17 15:40:15 +00:00
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
2024-04-25 11:46:27 +00:00
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.5.4-7
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2024-01-22 21:44:08 +00:00
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 11:00:02 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-19 11:57:53 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-04-21 11:38:12 +00:00
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.5.4-3
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2023-01-18 20:32:45 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-09-01 19:57:45 +00:00
|
|
|
* Thu Sep 1 2022 Tom Callaway <spot@fedoraproject.org> - 1.5.4-1
|
|
|
|
- update to 1.5.4
|
|
|
|
- rebuild for R 4.2.1
|
|
|
|
|
2022-07-20 19:34:52 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-19 20:06:15 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 16:29:28 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-17 20:47:04 +00:00
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 1.5.3-2
|
|
|
|
- bootstrap off
|
|
|
|
|
2021-06-11 15:58:58 +00:00
|
|
|
* Fri Jun 11 2021 Tom Callaway <spot@fedoraproject.org> - 1.5.3-1
|
|
|
|
- update to 1.5.3
|
|
|
|
- Rebuilt for R 4.1.0
|
|
|
|
- bootstrap
|
|
|
|
|
2021-01-25 23:04:16 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 11:00:53 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-05 12:53:28 +00:00
|
|
|
* Fri Jun 5 2020 Tom Callaway <spot@fedoraproject.org> - 1.5.1-3
|
|
|
|
- disable with doc to break knitr loop
|
|
|
|
- rebuild for R 4
|
|
|
|
|
2020-01-28 10:14:50 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-16 23:43:15 +00:00
|
|
|
* Wed Oct 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.1-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-08-12 05:00:52 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3-3
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 16:36:57 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-16 08:38:43 +00:00
|
|
|
* Sat Feb 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3-1
|
|
|
|
- Update to latest version
|
2019-02-16 08:43:46 +00:00
|
|
|
- Enable documentation
|
2019-02-16 08:38:43 +00:00
|
|
|
|
2019-01-31 12:15:33 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 19:28:58 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-26 05:49:55 +00:00
|
|
|
* Thu Apr 26 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-02-07 01:16:37 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-20 19:05:47 +00:00
|
|
|
* Thu Sep 07 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.9-2
|
|
|
|
- Fix file list.
|
|
|
|
- Fix inverted condition.
|
|
|
|
|
|
|
|
* Fri Aug 25 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.9-1
|
|
|
|
- initial package for Fedora
|