!1 Init package
From: @misaka00251 Reviewed-by: @laokz Signed-off-by: @laokz
This commit is contained in:
commit
c090cab4fa
62
R-RCurl.spec
Normal file
62
R-RCurl.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%global packname RCurl
|
||||
%global packver 1.98
|
||||
%global packrel 1.3
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: %{packver}.%{packrel}
|
||||
Release: 1
|
||||
Summary: General network (HTTP/FTP) client interface for R
|
||||
License: 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
|
||||
|
||||
%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
|
||||
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
||||
rm -rf %{buildroot}%{_libdir}/R/library/R.css
|
||||
|
||||
%check
|
||||
# No network in OBS
|
||||
#{_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 Jun 15 2022 misaka00251 <misaka00251@misakanet.cn> - 1.98.1.3-1
|
||||
- Init package (Thanks to fedora team)
|
||||
BIN
RCurl_1.98-1.3.tar.gz
Normal file
BIN
RCurl_1.98-1.3.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user