%global packname RCurl %global packver 1.98 %global packrel 1.8 Name: R-%{packname} Version: %{packver}.%{packrel} Release: 9%{?dist} Summary: General network (HTTP/FTP) client interface for R # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: http://cran.r-project.org/web/packages/RCurl/index.html Source0: http://cran.r-project.org/src/contrib/%{packname}_%{packver}-%{packrel}.tar.gz Requires: texlive-latex BuildRequires: R-devel >= 3.4.0, R-bitops, R-methods, libcurl-devel, make # This is a suggests # BuildRequires: R-XML %description The package allows one to compose general HTTP requests and provides convenient functions to fetch URIs, get & post forms, etc. and process the results returned by the Web server. This provides a great deal of control over the HTTP/FTP/... connection and the form of the request while providing a higher-level interface than is available just using R socket connections. Additionally, the underlying implementation is robust and extensive, supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict, ldap, and also supports cookies, redirects, authentication, etc. %prep %setup -c -q -n %{packname} chmod -x RCurl/src/curl_base64.c %build %install mkdir -p %{buildroot}%{_libdir}/R/library %{_bindir}/R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library # Clean up in advance of check test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf %{buildroot}%{_libdir}/R/library/R.css %check # Tests attempt to use the network, which won't work in koji. # %{_bindir}/R CMD check %{packname} %files %dir %{_libdir}/R/library/%{packname} %doc %{_libdir}/R/library/%{packname}/html %doc %{_libdir}/R/library/%{packname}/DESCRIPTION %doc %{_libdir}/R/library/%{packname}/doc/ %license %{_libdir}/R/library/%{packname}/LICENSE %{_libdir}/R/library/%{packname}/INDEX %{_libdir}/R/library/%{packname}/NAMESPACE %{_libdir}/R/library/%{packname}/Meta %{_libdir}/R/library/%{packname}/R %{_libdir}/R/library/%{packname}/help %{_libdir}/R/library/%{packname}/libs/ %{_libdir}/R/library/%{packname}/CurlSSL/ %{_libdir}/R/library/%{packname}/HTTPErrors/ %{_libdir}/R/library/%{packname}/data/ %{_libdir}/R/library/%{packname}/enums/ %{_libdir}/R/library/%{packname}/etc/ %{_libdir}/R/library/%{packname}/examples/ %changelog * Wed Sep 4 2024 Miroslav Suchý - 1.98.1.8-9 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.98.1.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 1.98.1.8-7 - R-maint-sig mass rebuild * Wed Jan 24 2024 Fedora Release Engineering - 1.98.1.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.98.1.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.98.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.98.1.8-3 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.98.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 18 2022 Tom Callaway - 1.98.1.8-1 - update to 1.98-1.8 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 1.98.1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.98.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.98.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 7 2021 Tom Callaway - 1.98.1.3-1 - update to 1.98-1.3 - rebuild for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 1.98.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.98.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 3 2020 Tom Callaway - 1.98-1.2 - update to 1.98-1.2, rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 1.95.4.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 6 2019 Tom Callaway - 1.95.4.12-1 - update to 1.95-4.12 * Mon Aug 12 2019 Elliott Sales de Andrade - 1.95.4.10-6 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 1.95.4.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.95.4.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.95.4.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu May 17 2018 Tom Callaway - 1.95.4.10-2 - rebuild for R 3.5.0 * Fri Mar 23 2018 Tom Callaway - 1.95.4.10-1 - update to 1.95-4.10 * Wed Feb 07 2018 Fedora Release Engineering - 1.95.4.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.95.4.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.95.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu May 18 2017 Tom Callaway - 1.95.4.8-1 - update to 1.95-4.8 * Fri Feb 10 2017 Fedora Release Engineering - 1.95.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.95.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jun 16 2015 Fedora Release Engineering - 1.95.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Aug 15 2014 Fedora Release Engineering - 1.95.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 1.95.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Aug 02 2013 Fedora Release Engineering - 1.95.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Apr 11 2013 Tom Callaway - 1.95.4.1-1 - update to 1.95-4.1 * Wed Feb 13 2013 Fedora Release Engineering - 1.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 14 2011 Tom Callaway 1.7.0-2 - disable tests * Thu Nov 10 2011 Tom "spot" Callaway 1.7.0-1 - initial package for Fedora