2021-04-17 05:03:02 +00:00
|
|
|
%global packname highr
|
2022-12-30 20:46:41 +00:00
|
|
|
%global packver 0.10
|
2017-08-29 23:41:05 +00:00
|
|
|
%global rlibdir %{_datadir}/R/library
|
|
|
|
|
|
|
|
# Needs knitr (build loop)
|
2022-09-04 11:29:35 +00:00
|
|
|
%bcond_with bootstrap
|
2017-08-29 23:41:05 +00:00
|
|
|
|
|
|
|
Name: R-%{packname}
|
2022-12-30 20:46:41 +00:00
|
|
|
Version: %{packver}
|
2024-07-26 00:37:58 +00:00
|
|
|
Release: 10%{?dist}
|
2017-08-29 23:41:05 +00:00
|
|
|
Summary: Syntax Highlighting for R Source Code
|
|
|
|
|
2024-07-26 00:37:58 +00:00
|
|
|
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
|
|
|
License: GPL-2.0-or-later
|
2019-01-23 00:55:21 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2021-04-17 05:03:02 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
2017-08-29 23:41:05 +00:00
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
2021-04-17 05:03:02 +00:00
|
|
|
# Imports: R-xfun >= 0.18
|
|
|
|
# Suggests: R-knitr, R-markdown, R-testit
|
2017-08-29 23:41:05 +00:00
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2019-03-21 00:08:37 +00:00
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
2021-04-17 05:03:02 +00:00
|
|
|
BuildRequires: R-xfun >= 0.18
|
2017-11-08 01:39:55 +00:00
|
|
|
BuildRequires: R-testit
|
2021-04-17 05:03:02 +00:00
|
|
|
%if %{without bootstrap}
|
2017-11-08 01:39:55 +00:00
|
|
|
BuildRequires: R-knitr
|
2021-04-17 05:03:02 +00:00
|
|
|
BuildRequires: R-markdown
|
2017-08-29 23:41:05 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
2021-04-17 05:03:02 +00:00
|
|
|
Provides syntax highlighting for R source code. Currently it supports LaTeX and
|
|
|
|
HTML output. Source code of other languages is supported via Andre Simon's
|
|
|
|
highlight package (<http://www.andre-simon.de>).
|
2017-08-29 23:41:05 +00:00
|
|
|
|
2017-11-08 01:39:55 +00:00
|
|
|
|
2017-08-29 23:41:05 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
2017-11-08 01:39:55 +00:00
|
|
|
|
2017-08-29 23:41:05 +00:00
|
|
|
%build
|
|
|
|
|
2017-11-08 01:39:55 +00:00
|
|
|
|
2017-08-29 23:41:05 +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
|
|
|
|
|
2017-11-08 01:39:55 +00:00
|
|
|
|
2017-08-29 23:41:05 +00:00
|
|
|
%check
|
2021-04-17 05:03:02 +00:00
|
|
|
%if %{without bootstrap}
|
2023-05-12 11:42:12 +00:00
|
|
|
%{_bindir}/R CMD check --ignore-vignettes %{packname}
|
2019-03-21 00:08:37 +00:00
|
|
|
%else
|
|
|
|
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
2017-08-29 23:41:05 +00:00
|
|
|
%endif
|
|
|
|
|
2017-11-08 01:39:55 +00:00
|
|
|
|
2017-08-29 23:41:05 +00:00
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/doc
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
2021-04-17 05:03:02 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/NEWS.Rd
|
2017-08-29 23:41:05 +00:00
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-07-26 00:37:58 +00:00
|
|
|
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 0.10-10
|
|
|
|
- convert license to SPDX
|
|
|
|
|
2024-07-17 15:39:45 +00:00
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
2024-04-25 11:45:41 +00:00
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 0.10-8
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2024-01-22 21:42:55 +00:00
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 10:59:32 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-19 11:57:20 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-05-12 11:42:12 +00:00
|
|
|
* Fri May 12 2023 Iñaki Úcar <iucar@fedoraproject.org> - 0.10-4
|
|
|
|
- Ignore vignettes
|
|
|
|
|
2023-04-21 11:37:26 +00:00
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 0.10-3
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2023-01-18 20:32:17 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-12-30 20:46:41 +00:00
|
|
|
* Fri Dec 30 2022 Tom Callaway <spot@fedoraproject.org> - 0.10-1
|
|
|
|
- update to 0.10
|
|
|
|
|
2022-08-19 14:48:15 +00:00
|
|
|
* Fri Aug 19 2022 Tom Callaway <spot@fedoraproject.org> - 0.9-7
|
|
|
|
- rebuild for R 4.2.1
|
|
|
|
- bootstrap on
|
|
|
|
|
2022-07-20 19:34:23 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-19 20:05:48 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 16:29:02 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-17 20:45:34 +00:00
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 0.9-3
|
|
|
|
- bootstrap off
|
|
|
|
|
2021-06-11 14:28:47 +00:00
|
|
|
* Fri Jun 11 2021 Tom Callaway <spot@fedoraproject.org> - 0.9-2
|
|
|
|
- Rebuilt for R 4.1.0
|
|
|
|
- bootstrap
|
|
|
|
|
2021-04-17 05:03:02 +00:00
|
|
|
* Sat Apr 17 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9-1
|
|
|
|
- Update to latest version (#1950577)
|
|
|
|
|
2021-01-25 23:03:52 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 11:00:26 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-04 21:04:52 +00:00
|
|
|
* Thu Jun 4 2020 Tom Callaway <spot@fedoraproject.org> - 0.8-5
|
|
|
|
- disable with_doc to break knitr loop
|
|
|
|
- rebuild for R 4
|
|
|
|
|
2020-01-28 10:14:14 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-12 05:00:51 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8-3
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 16:36:21 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-21 00:08:37 +00:00
|
|
|
* Wed Mar 20 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8-1
|
|
|
|
- Update to latest version
|
|
|
|
- Enable documentation
|
|
|
|
|
2019-02-03 07:41:54 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 19:28:39 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-10 02:10:44 +00:00
|
|
|
* Sat Jun 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7-1
|
|
|
|
- Update to latest veresion
|
|
|
|
|
2018-02-07 01:16:17 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-06-10 02:10:44 +00:00
|
|
|
* Tue Nov 07 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6-3
|
2017-11-08 01:39:55 +00:00
|
|
|
- Enable tests during build.
|
|
|
|
- Cleanup BRs.
|
|
|
|
|
2018-06-10 02:10:44 +00:00
|
|
|
* Thu Aug 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6-2
|
2017-08-29 23:41:05 +00:00
|
|
|
- Fix license and use https links.
|
|
|
|
|
|
|
|
* Fri Feb 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.6-1
|
|
|
|
- initial package for Fedora
|