%global __brp_check_rpaths %{nil} %global packname pingers %global packver 0.1.1 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} Version: 0.1.1 Release: 3%{?dist}%{?buildtag} Summary: Identify, Ping, and Log Internet Provider Connection Data License: MIT + file LICENSE URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz BuildRequires: R-devel >= 3.4.0 Requires: R-core >= 3.4.0 BuildArch: noarch BuildRequires: R-CRAN-dplyr BuildRequires: R-CRAN-stringr BuildRequires: R-CRAN-tibble BuildRequires: R-CRAN-tictoc BuildRequires: R-CRAN-tidyselect BuildRequires: R-CRAN-data.table BuildRequires: R-CRAN-lubridate BuildRequires: R-CRAN-plotly BuildRequires: R-CRAN-reshape2 Requires: R-CRAN-dplyr Requires: R-CRAN-stringr Requires: R-CRAN-tibble Requires: R-CRAN-tictoc Requires: R-CRAN-tidyselect Requires: R-CRAN-data.table Requires: R-CRAN-lubridate Requires: R-CRAN-plotly Requires: R-CRAN-reshape2 %description To assist you with troubleshooting internet connection issues and assist in isolating packet loss on your network. It does this by allowing you to retrieve the top trace route destinations your internet provider uses, and recursively ping each server in series while capturing the results and writing them to a log file. Each iteration it queries the destinations again, before shuffling the sequence of destinations to ensure the analysis is unbiased and consistent across each trace route. %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 %files %{rlibdir}/%{packname}