## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global packname roxygen2 %global packver 7.2.1 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packver} Release: %autorelease Summary: In-Line Documentation for R License: MIT 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-brew, R-cli >= 3.3.0, R-commonmark, R-desc >= 1.2.0, R-digest, R-knitr, R-methods, R-pkgload >= 1.0.2, R-purrr >= 0.3.3, R-R6 >= 2.1.2, R-rlang >= 1.0.0, R-stringi, R-stringr >= 1.0.0, R-utils, R-withr, R-xml2 # Suggests: R-covr, R-devtools, R-rmarkdown, R-testthat >= 3.1.2, R-R.methodsS3, R-R.oo, R-yaml # LinkingTo: cpp11 # Enhances: BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-brew BuildRequires: R-cli >= 3.3.0 BuildRequires: R-commonmark BuildRequires: R-desc >= 1.2.0 BuildRequires: R-digest BuildRequires: R-knitr BuildRequires: R-methods BuildRequires: R-pkgload >= 1.0.2 BuildRequires: R-purrr >= 0.3.3 BuildRequires: R-R6 >= 2.1.2 BuildRequires: R-rlang >= 1.0.0 BuildRequires: R-stringi BuildRequires: R-stringr >= 1.0.0 BuildRequires: R-utils BuildRequires: R-withr BuildRequires: R-xml2 BuildRequires: R-cpp11-devel BuildRequires: R-rmarkdown BuildRequires: R-testthat >= 3.1.2 BuildRequires: R-R.methodsS3 BuildRequires: R-R.oo BuildRequires: R-yaml %description Generate your Rd documentation, 'NAMESPACE' file, and collation field using specially formatted comments. Writing documentation in-line with code makes it easier to keep your documentation up-to-date as your requirements change. 'Roxygen2' is inspired by the 'Doxygen' system for C++. %prep %setup -q -c -n %{packname} # Don't need coverage; it's not packaged either. sed -i 's/covr, //g' %{packname}/DESCRIPTION %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 export LANG=C.UTF-8 %{_bindir}/R CMD check %{packname} %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.md %license %{rlibdir}/%{packname}/LICENSE %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %dir %{rlibdir}/%{packname}/libs %{rlibdir}/%{packname}/libs/%{packname}.so %{rlibdir}/%{packname}/roxygen2-tags.yml %changelog * Sat Sep 3 2022 Tom Callaway - 7.2.1-1 - update to 7.2.1 - rebuild for R 4.2.1 * Wed Jul 21 2021 Fedora Release Engineering - 7.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 17 2021 Tom Callaway - 7.1.1-4 - bootstrap off * Mon Jun 14 2021 Tom Callaway - 7.1.1-3 - Rebuilt for R 4.1.0 - bootstrap * Mon Jan 25 2021 Fedora Release Engineering - 7.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Sep 07 2020 Elliott Sales de Andrade - 7.1.1-1 - Update to latest version (#1851631) * Sat Aug 01 2020 Fedora Release Engineering - 7.1.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 7.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 7 2020 Tom Callaway - 7.1.0-2 - rebuild for R 4 - disable with_suggests to break the loop with devtools * Sat Mar 14 2020 Elliott Sales de Andrade - 7.1.0-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 7.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 02 2019 Elliott Sales de Andrade - 7.0.2-1 - Update to latest version * Fri Nov 22 2019 Elliott Sales de Andrade - 7.0.1-1 - Update to latest version * Wed Nov 13 2019 Elliott Sales de Andrade - 7.0.0-1 - Update to latest version * Wed Nov 06 2019 Elliott Sales de Andrade - 6.1.1-4 - Exclude Suggests for unavailable packages * Sun Aug 11 2019 Elliott Sales de Andrade - 6.1.1-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 6.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 21 2019 Elliott Sales de Andrade - 6.1.1-1 - Update to latest version * Thu Jan 31 2019 Fedora Release Engineering - 6.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 6.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 30 2018 Elliott Sales de Andrade - 6.0.1-2 - Rebuild for R 3.5.0 * Sun May 06 2018 Elliott Sales de Andrade - 6.0.1-1 - initial package for Fedora