R-highr/R-highr.spec

168 lines
5.4 KiB
RPMSpec
Raw Normal View History

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-04-25 11:45:41 +00:00
Release: 8%{?dist}
2017-08-29 23:41:05 +00:00
Summary: Syntax Highlighting for R Source Code
License: GPLv2+
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
BuildRequires: R-devel
BuildRequires: tex(latex)
2021-04-17 05:03:02 +00:00
BuildRequires: R-xfun >= 0.18
BuildRequires: R-testit
2021-04-17 05:03:02 +00:00
%if %{without bootstrap}
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-08-29 23:41:05 +00:00
%prep
%setup -q -c -n %{packname}
2017-08-29 23:41:05 +00:00
%build
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-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}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
2017-08-29 23:41:05 +00:00
%endif
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-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
* 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
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
* 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
* 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
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)
* 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
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
* 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
- 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