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}
|
2019-10-16 23:43:15 +00:00
|
|
|
Version: 1.5.1
|
2021-01-25 23:04:16 +00:00
|
|
|
Release: 5%{?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
|
|
|
|
# Suggests: R-knitr >= 1.8
|
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
|
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
|
|
|
|
|
|
|
|
%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
|
|
|
|
%if %{with_doc}
|
|
|
|
%{_bindir}/R CMD check %{packname}
|
|
|
|
%else
|
|
|
|
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/doc
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
|
|
|
%doc %{rlibdir}/%{packname}/NEWS
|
|
|
|
%{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
|
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
|