]> git.pld-linux.org Git - packages/R-cran-RCurl.git/commitdiff
- new auto/th/R-cran-RCurl-1.95r1.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Oct 2012 12:20:14 +0000 (14:20 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Oct 2012 12:20:14 +0000 (14:20 +0200)
R-cran-RCurl.spec [new file with mode: 0644]

diff --git a/R-cran-RCurl.spec b/R-cran-RCurl.spec
new file mode 100644 (file)
index 0000000..a300a26
--- /dev/null
@@ -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}
This page took 0.051789 seconds and 4 git commands to generate.