%bcond_with network %global packname gert %global packver 1.9.0 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: %{packver} Release: 7%{?dist} Summary: Simple Git Client for R License: MIT URL: https://CRAN.R-project.org/package=%{packname} Source0: %{url}&version=%{version}#/%{packname}_%{version}.tar.gz # Here's the R view of the dependencies world: # Depends: # Imports: R-askpass, R-credentials >= 1.2.1, R-openssl >= 1.4.1, R-rstudioapi >= 0.11, R-sys, R-zip >= 2.1.0 # Suggests: R-spelling, R-knitr, R-rmarkdown, R-testthat # LinkingTo: # Enhances: BuildRequires: pkgconfig(libgit2) BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-askpass BuildRequires: R-credentials >= 1.2.1 BuildRequires: R-openssl >= 2.0.3 BuildRequires: R-rstudioapi >= 0.11 BuildRequires: R-sys BuildRequires: R-zip >= 2.1.0 BuildRequires: R-spelling BuildRequires: R-knitr BuildRequires: R-rmarkdown BuildRequires: R-testthat %description Simple git client for R based on 'libgit2' with support for SSH and HTTPS remotes. All functions in 'gert' use basic R data types (such as vectors and data-frames) for their arguments and return values. User credentials are shared with command line 'git' through the git-credential store and ssh keys stored on disk or ssh-agent. %prep %setup -q -c -n %{packname} %build %install export USE_SYSTEM_LIBGIT2=1 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 %{with network} %{_bindir}/R CMD check --ignore-vignettes %{packname} %else %{_bindir}/R CMD check --ignore-vignettes %{packname} --no-examples %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS %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}/WORDLIST %changelog * Wed Jul 19 2023 Fedora Release Engineering - 1.9.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.9.0-6 - R-maint-sig mass rebuild * Sun Mar 05 2023 Pete Walter - 1.9.0-5 - Rebuild for libgit2 1.6.x * Sat Jan 28 2023 Pete Walter - 1.9.0-4 - Rebuild for libgit2 1.5.x * Wed Jan 18 2023 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Dec 09 2022 Pete Walter - 1.9.0-2 - Rebuild for libgit2 1.4 * Sat Sep 17 2022 Ali Erdinc Koroglu - 1.9.0-1 - Update to 1.9.0 (RHBZ #2127064) * Thu Sep 8 2022 Tom Callaway - 1.8.0-1 - update to 1.8.0 * Sat Sep 3 2022 Tom Callaway - 1.7.1-1 - update to 1.7.1 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 1.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 28 2021 Igor Raits - 1.4.3-1 - Update to 1.4.3 * Wed Jul 21 2021 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Tom Callaway - 1.3.0-2 - Rebuilt for R 4.1.0 * Sat Apr 03 2021 Elliott Sales de Andrade - 1.3.0-1 - Update to latest version (#1944223) * Tue Feb 23 2021 Elliott Sales de Andrade - 1.2.0-1 - Update to latest version (#1920277) * Sun Feb 07 2021 Elliott Sales de Andrade - 1.1.0-1 - Update to latest version (#19202770 * Mon Jan 25 2021 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 26 2020 Elliott Sales de Andrade - 1.0.2-1 - initial package for Fedora