2021-04-25 05:33:32 +00:00
|
|
|
%global packname rsvg
|
|
|
|
%global packver 2.1.1
|
2019-05-24 02:48:00 +00:00
|
|
|
%global rlibdir %{_libdir}/R/library
|
2020-08-09 07:35:58 +00:00
|
|
|
|
|
|
|
%bcond_with bootstrap
|
2019-05-24 02:48:00 +00:00
|
|
|
|
|
|
|
Name: R-%{packname}
|
2021-04-25 05:33:32 +00:00
|
|
|
Version: 2.1.1
|
|
|
|
Release: 1%{?dist}
|
2019-05-24 02:48:00 +00:00
|
|
|
Summary: Render SVG Images into PDF, PNG, PostScript, or Bitmap Arrays
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2021-04-25 05:33:32 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
2019-05-24 02:48:00 +00:00
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
|
|
|
# Imports:
|
2021-04-25 05:33:32 +00:00
|
|
|
# Suggests: R-spelling, R-svglite, R-magick, R-webp, R-ggplot2, R-knitr, R-rmarkdown
|
2019-05-24 02:48:00 +00:00
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
2020-08-09 07:35:58 +00:00
|
|
|
%if %{without bootstrap}
|
2019-05-24 02:48:00 +00:00
|
|
|
BuildRequires: R-spelling
|
|
|
|
BuildRequires: R-svglite
|
2020-06-05 15:36:17 +00:00
|
|
|
BuildRequires: R-magick
|
2019-05-24 02:48:00 +00:00
|
|
|
BuildRequires: R-webp
|
|
|
|
BuildRequires: R-ggplot2
|
2021-04-25 05:33:32 +00:00
|
|
|
BuildRequires: R-knitr
|
|
|
|
BuildRequires: R-rmarkdown
|
2020-06-05 15:36:17 +00:00
|
|
|
%endif
|
2019-05-24 02:48:00 +00:00
|
|
|
BuildRequires: librsvg2-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
Renders vector-based svg images into high-quality custom-size bitmap arrays
|
|
|
|
using 'librsvg2'. The resulting bitmap can be written to e.g. png, jpeg or webp
|
|
|
|
format. In addition, the package can convert images directly to various formats
|
|
|
|
such as pdf or postscript.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
2020-08-09 07:35:58 +00:00
|
|
|
%if %{without bootstrap}
|
2019-05-24 02:48:00 +00:00
|
|
|
%{_bindir}/R CMD check %{packname}
|
2020-06-05 15:36:17 +00:00
|
|
|
%endif
|
2019-05-24 02:48:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
2021-04-25 05:33:32 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/doc
|
2019-05-24 02:48:00 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
|
|
|
%doc %{rlibdir}/%{packname}/NEWS
|
2021-04-25 05:33:32 +00:00
|
|
|
%license %{rlibdir}/%{packname}/LICENSE
|
2019-05-24 02:48:00 +00:00
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
|
|
|
%{rlibdir}/%{packname}/WORDLIST
|
|
|
|
%dir %{rlibdir}/%{packname}/libs
|
|
|
|
%{rlibdir}/%{packname}/libs/%{packname}.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-04-25 05:33:32 +00:00
|
|
|
* Sun Apr 25 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.1-1
|
|
|
|
- Update to latest version (#1951996)
|
|
|
|
|
2021-01-25 23:22:21 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-09 07:35:58 +00:00
|
|
|
* Sun Aug 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1-4
|
|
|
|
- Enable full checks again
|
|
|
|
|
2020-08-01 08:01:22 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-3
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 11:18:13 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-05 15:36:17 +00:00
|
|
|
* Fri Jun 5 2020 Tom Callaway <spot@fedoraproject.org> - 2.1-5
|
|
|
|
- update to 2.1
|
|
|
|
- conditionalize check around suggests (magick is not in Fedora)
|
|
|
|
- rebuild for R 4
|
|
|
|
|
2020-01-28 10:38:45 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-12 05:01:08 +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:59:09 +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-05-24 02:48:00 +00:00
|
|
|
* Thu May 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3-1
|
|
|
|
- initial package for Fedora
|