[packages/R-cran-RCurl] - new

baggins baggins at pld-linux.org
Thu Oct 18 14:20:25 CEST 2012


commit 51a46bfa28316493de7ba9342095cb828a1115da
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Oct 18 14:20:14 2012 +0200

    - new

 R-cran-RCurl.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/R-cran-RCurl.spec b/R-cran-RCurl.spec
new file mode 100644
index 0000000..a300a26
--- /dev/null
+++ b/R-cran-RCurl.spec
@@ -0,0 +1,49 @@
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	RCurl
+Summary:	General network (HTTP/FTP/...) client interface for R
+Name:		R-cran-%{modulename}
+Version:	1.95r1.1
+Release:	1
+License:	BSD
+Group:		Applications/Network
+Source0:	http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	33b9f50b0fb5adc90762053d0d3fdee9
+BuildRequires:	R >= 2.8.1
+BuildRequires:	R-cran-bitops
+BuildRequires:	texlive-fonts-cmsuper
+BuildRequires:	texlive-latex-ae
+BuildRequires:	texlive-latex-bibtex
+BuildRequires:	texlive-xetex
+BuildRequires:	curl-devel
+Requires:	R-cran-bitops
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
+R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/DESCRIPTION
+%{_libdir}/R/library/%{modulename}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/R-cran-RCurl.git/commitdiff/51a46bfa28316493de7ba9342095cb828a1115da



More information about the pld-cvs-commit mailing list