175 lines
5.7 KiB
RPMSpec
175 lines
5.7 KiB
RPMSpec
%global packname highr
|
|
%global packver 0.10
|
|
%global rlibdir %{_datadir}/R/library
|
|
|
|
# Needs knitr (build loop)
|
|
%bcond_with bootstrap
|
|
|
|
Name: R-%{packname}
|
|
Version: %{packver}
|
|
Release: 10%{?dist}
|
|
Summary: Syntax Highlighting for R Source Code
|
|
|
|
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
|
License: GPL-2.0-or-later
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
|
|
|
# Here's the R view of the dependencies world:
|
|
# Depends:
|
|
# Imports: R-xfun >= 0.18
|
|
# Suggests: R-knitr, R-markdown, R-testit
|
|
# LinkingTo:
|
|
# Enhances:
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: R-devel
|
|
BuildRequires: tex(latex)
|
|
BuildRequires: R-xfun >= 0.18
|
|
BuildRequires: R-testit
|
|
%if %{without bootstrap}
|
|
BuildRequires: R-knitr
|
|
BuildRequires: R-markdown
|
|
%endif
|
|
|
|
|
|
%description
|
|
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>).
|
|
|
|
|
|
%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
|
|
%if %{without bootstrap}
|
|
%{_bindir}/R CMD check --ignore-vignettes %{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.Rd
|
|
%{rlibdir}/%{packname}/INDEX
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
%{rlibdir}/%{packname}/Meta
|
|
%{rlibdir}/%{packname}/R
|
|
%{rlibdir}/%{packname}/help
|
|
|
|
|
|
%changelog
|
|
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 0.10-10
|
|
- convert license to SPDX
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 0.10-8
|
|
- R-maint-sig mass rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Fri May 12 2023 Iñaki Úcar <iucar@fedoraproject.org> - 0.10-4
|
|
- Ignore vignettes
|
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 0.10-3
|
|
- R-maint-sig mass rebuild
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Fri Dec 30 2022 Tom Callaway <spot@fedoraproject.org> - 0.10-1
|
|
- update to 0.10
|
|
|
|
* Fri Aug 19 2022 Tom Callaway <spot@fedoraproject.org> - 0.9-7
|
|
- rebuild for R 4.2.1
|
|
- bootstrap on
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 0.9-3
|
|
- bootstrap off
|
|
|
|
* Fri Jun 11 2021 Tom Callaway <spot@fedoraproject.org> - 0.9-2
|
|
- Rebuilt for R 4.1.0
|
|
- bootstrap
|
|
|
|
* Sat Apr 17 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9-1
|
|
- Update to latest version (#1950577)
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Thu Jun 4 2020 Tom Callaway <spot@fedoraproject.org> - 0.8-5
|
|
- disable with_doc to break knitr loop
|
|
- rebuild for R 4
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8-3
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Wed Mar 20 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8-1
|
|
- Update to latest version
|
|
- Enable documentation
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Sat Jun 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7-1
|
|
- Update to latest veresion
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Tue Nov 07 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6-3
|
|
- Enable tests during build.
|
|
- Cleanup BRs.
|
|
|
|
* Thu Aug 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6-2
|
|
- 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
|