R-showtext/R-showtext.spec

189 lines
6.6 KiB
RPMSpec
Raw Normal View History

2020-05-22 07:49:27 +00:00
%global packname showtext
2022-09-02 17:01:30 +00:00
%global packver 0.9
%global packrel 5
2018-06-05 22:13:42 +00:00
%global rlibdir %{_libdir}/R/library
# knitr suggests this package and vice versa.
%bcond_without bootstrap
2018-06-05 22:13:42 +00:00
Name: R-%{packname}
2022-09-02 17:01:30 +00:00
Version: %{packver}.%{packrel}
Release: 9.0.riscv64%{?dist}
2018-06-05 22:13:42 +00:00
Summary: Using Fonts More Easily in R Graphs
2018-06-05 22:23:51 +00:00
# Main: ASL 2.0
# src/tidy.h, src/utf8.c and src/utf8.h: libpng/zlib
# Automatically converted from old format: ASL 2.0 and zlib - review is highly recommended.
License: Apache-2.0 AND Zlib
2019-01-23 00:55:28 +00:00
URL: https://CRAN.R-project.org/package=%{packname}
2022-09-02 17:01:30 +00:00
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}-%{packrel}.tar.gz
2018-06-05 22:13:42 +00:00
# Here's the R view of the dependencies world:
# Depends: R-sysfonts >= 0.7.1, R-showtextdb >= 2.0
# Imports: R-grDevices
# Suggests: R-knitr, R-rmarkdown, R-prettydoc, R-curl, R-jsonlite
# LinkingTo:
# Enhances:
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(zlib)
BuildRequires: R-sysfonts >= 0.7.1
BuildRequires: R-showtextdb >= 2.0
BuildRequires: R-grDevices
BuildRequires: R-curl
BuildRequires: R-jsonlite
2020-08-13 09:00:55 +00:00
%if %{without bootstrap}
2018-06-05 22:13:42 +00:00
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-prettydoc
%endif
%description
2019-06-13 01:46:49 +00:00
Making it easy to use various types of fonts (TrueType, OpenType, Type 1, web
fonts, etc.) in R graphs, and supporting most output formats of R graphics
including PNG, PDF and SVG. Text glyphs will be converted into polygons or
raster images, hence after the plot has been created, it no longer relies on
the font files. No external software such as Ghostscript is needed to use this
package.
2018-06-05 22:13:42 +00:00
%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-13 09:00:55 +00:00
%if %{without bootstrap}
%{_bindir}/R CMD check %{packname} --no-vignettes
2018-06-05 22:13:42 +00:00
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-vignettes
2018-06-05 22:13:42 +00:00
%endif
%files
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS.Rd
%doc %{rlibdir}/%{packname}/AUTHORS
2018-06-05 22:23:51 +00:00
%license %{rlibdir}/%{packname}/COPYRIGHTS
2018-06-05 22:13:42 +00:00
%{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
* Wed Aug 7 2024 Miroslav Suchý <msuchy@redhat.com> - 0.9.5-9
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
2024-04-25 14:56:31 +00:00
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 0.9.5-7
- R-maint-sig mass rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-04-21 12:22:35 +00:00
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 0.9.5-3
- R-maint-sig mass rebuild
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-09-02 17:01:30 +00:00
* Fri Sep 2 2022 Tom Callaway <spot@fedoraproject.org> - 0.9.5-1
- update to 0.9-5
- rebuild for R 4.2.1
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-15 21:23:35 +00:00
* Tue Jun 15 2021 Tom Callaway <spot@fedoraproject.org> - 0.9.2-3
- Rebuilt for R 4.1.0
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-10 09:35:02 +00:00
* Sun Jan 10 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.2-1
- Update to latest version (#1914612)
2020-11-15 06:07:52 +00:00
* Sun Nov 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.1-1
- Update to latest version (#1897803)
2020-08-13 09:00:55 +00:00
* Thu Aug 13 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9-1
- Update to latest version (#1868570)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-07 17:14:51 +00:00
* Sun Jun 7 2020 Tom Callaway <spot@fedoraproject.org> - 0.8.1-2
- rebuild for R 4
2020-05-31 08:37:31 +00:00
* Sun May 31 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.1-1
- Update to latest version
2020-05-22 07:49:27 +00:00
* Thu May 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8-1
- Update to latest version
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7-3
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-06-13 01:46:49 +00:00
* Wed Jun 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7-1
- Update to latest version
2019-02-21 02:49:47 +00:00
* Wed Feb 20 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6-1
- Update to latest version
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-08 22:26:51 +00:00
* Fri Jun 08 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-2
- Rebuild for R 3.5.0
2018-06-05 22:23:51 +00:00
- Fix license tagging
- Fix file line endings
2018-06-05 22:13:42 +00:00
* Thu May 31 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-1
- initial package for Fedora