]> git.pld-linux.org Git - packages/R-cran-RCurl.git/blob - R-cran-RCurl.spec
- up to 1.95r4.1
[packages/R-cran-RCurl.git] / R-cran-RCurl.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      RCurl
3 Summary:        General network (HTTP/FTP/...) client interface for R
4 Name:           R-cran-%{modulename}
5 Version:        1.95r4.1
6 Release:        1
7 License:        BSD
8 Group:          Applications/Network
9 Source0:        http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
10 # Source0-md5:  ae05762f9dceb92e9aa95417399ce931
11 BuildRequires:  R >= 2.8.1
12 BuildRequires:  R-cran-bitops
13 BuildRequires:  texlive-fonts-cmsuper
14 BuildRequires:  texlive-latex-ae
15 BuildRequires:  texlive-latex-bibtex
16 BuildRequires:  texlive-xetex
17 BuildRequires:  curl-devel
18 Requires:       R-cran-bitops
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The package allows one to compose general HTTP requests and provides
23 convenient functions to fetch URIs, get & post forms, etc. and process
24 the results returned by the Web server. This provides a great deal of
25 control over the HTTP/FTP/... connection and the form of the request
26 while providing a higher-level interface than is available just using
27 R socket connections. Additionally, the underlying implementation is
28 robust and extensive, supporting FTP/FTPS/TFTP (uploads and
29 downloads), SSL/HTTPS, telnet, dict, ldap, and also supports cookies,
30 redirects, authentication, etc.
31
32 %prep
33 %setup -q -c
34
35 %build
36 R CMD build %{modulename}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
41 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc %{modulename}/DESCRIPTION
49 %{_libdir}/R/library/%{modulename}
This page took 0.090769 seconds and 3 git commands to generate.