1 Summary: A language for data analysis and graphics
5 Source0: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/base/%{name}-%{version}.tgz
6 Source1: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/mlbench_0.4-1.tar.gz
7 Source2: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/acepack_1.2-1.tar.gz
8 Source3: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/bootstrap_1.0-5.tar.gz
9 #Source4: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/class_VR5-4.tar.gz
10 #Source5: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/clus_1.0-2.tar.gz
11 #Source6: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/ctest_0.9-1.tar.gz
12 Source7: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/date_1.2-4.tar.gz
13 Source8: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/e1071_0.9-2.tar.gz
14 Source9: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/fracdiff_1.0-6.tar.gz
15 Source10: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/gee_4.13-3.tar.gz
16 Source11: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/integrate_2.2-2.tar.gz
17 #Source12: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/jpn_1.0-1.tar.gz
18 Source13: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/leaps_2.0.tar.gz
19 #Source14: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/nnet_VR5-3.tar.gz
20 Source15: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/oz_1.0-3.tar.gz
21 Source16: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/polynom_1.1-3.tar.gz
22 #Source17: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/ratetables_1.0-2.tar.gz
23 #Source18: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/rational_1.0-1.tar.gz
24 #Source19: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/spatial_VR5-2.tar.gz
25 #Source20: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/splines_2.0-1.tar.gz
26 Source21: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/survival5_1.1-5.tar.gz
27 Source22: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/xgobi_1.2-2.tar.gz
28 #Source23: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/principal.curve_1.0-2.tar.gz
29 Source24: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/quadprog_1.4-1.tar.gz
30 Source31: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/mlbench.pdf
31 Source32: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/acepack.pdf
32 Source33: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/bootstrap.pdf
33 Source37: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/date.pdf
34 Source38: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/e1071.pdf
35 Source39: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/fracdiff.pdf
36 Source40: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/gee.pdf
37 Source41: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/intergate.pdf
38 Source43: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/leaps.pdf
39 Source45: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/oz.pdf
40 Source46: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/polymon.pdf
41 Source51: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/survival5.pdf
42 Source52: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/xgobi.pdf
43 Source54: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/quadprog.pdf
44 Patch0: R-0.61.rpm.patch3
46 Group: Development/Languages
47 URL: http://stat.auckland.ac.nz/r/r.html
48 Provides: R-base R-contrib
49 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 A system for statistical computation and graphics. R consists of a
53 language plus a run-time environment with graphics, a debugger, access
54 to certain system functions, and the ability to run programs stored in
57 The design of R has been heavily influenced by two existing languages:
58 Becker, Chambers & Wilks' S and Sussman's Scheme. Whereas the resulting
59 language is very similar in appearance to S, the underlying implementation
60 and semantics are derived from Scheme.
63 Summary: The R base distribution
64 Group: Development/Languages
65 Provides: R-acepack R-bootstrap R-class R-clus R-ctest R-date R-e1071
66 Provides: R-fracdiff R-gee R-integrate R-jpn R-leaps R-mlbench R-nnet R-oz
67 Provides: R-polynom R-principal.curve R-quadprog R-ratetables R-rational
68 Provides: R-spatial R-splines R-survival4 R-xgobi
71 R is a language and run-time environment for carrying out interactive
72 statistical data analysis. It is not entirely dissimilar to the S language
73 developed at AT&T Bell Laboratories (and now Lucent Technologies). Indeed,
74 S users will find the environment quite familiar and a good deal of S
75 software will run without change under R.
78 Summary: contributed packages for the R language
79 Group: Development/Languages
81 URL: http://www.ci.tuwien.ac.at/R/
82 Requires: R-base >= %{version}
85 Packages which extend the capabilities of the R base distribution
86 and are distributed on the Comprehensive R Archive Network (CRAN).
89 Summary: Machine learning benchmarks
90 Group: Development/Languages
92 URL: http://www.ics.uci.edu/~mlearn/MLRepository.html
93 Requires: R-base >= %{version}
96 R package which contains a collection of real-world datasets and
97 functions for creating artificial datasets that work as benchmarks
98 for machine learning methods.
101 %setup -q -c -n R-cran -T -b 2
102 %setup -q -c -n R-cran -T -D -b 3
103 %setup -q -c -n R-cran -T -D -b 4
104 %setup -q -c -n R-cran -T -D -b 5
105 %setup -q -c -n R-cran -T -D -b 6
106 %setup -q -c -n R-cran -T -D -b 7
107 %setup -q -c -n R-cran -T -D -b 8
108 %setup -q -c -n R-cran -T -D -b 9
109 %setup -q -c -n R-cran -T -D -b 10
110 %setup -q -c -n R-cran -T -D -b 11
111 %setup -q -c -n R-cran -T -D -b 12
112 %setup -q -c -n R-cran -T -D -b 13
113 %setup -q -c -n R-cran -T -D -b 14
114 %setup -q -c -n R-cran -T -D -b 15
115 %setup -q -c -n R-cran -T -D -b 16
116 %setup -q -c -n R-cran -T -D -b 17
117 %setup -q -c -n R-cran -T -D -b 18
118 %setup -q -c -n R-cran -T -D -b 19
119 %setup -q -c -n R-cran -T -D -b 20
120 %setup -q -c -n R-cran -T -D -b 21
121 %setup -q -c -n R-cran -T -D -b 22
122 %setup -q -c -n R-cran -T -D -b 23
123 %setup -q -c -n R-cran -T -D -b 24
127 # These files have the path for PERL hard-coded as /usr/local/bin/perl
128 # We need to remove them to avoid dependency problems
129 rm ./doc/keyword-test.orig ./etc/undoc/R-funs.orig ./etc/undoc/extrExamp.orig
138 # Install contrib packages
140 RHOME=`pwd`;export RHOME
144 ${RHOME}/etc/INSTALL -latex ${pkg}
150 ${RHOME}/etc/INSTALL mlbench
152 #Remove old template files.
154 for oldinfile in `find . -name '*.in' -print`
159 # Gather documentation from contrib packages in one directory
160 # Assume that anything not in one of the standard directories is
161 # documentation, and copy it.
163 mkdir ${RHOME}/contrib
164 cd ${RPM_BUILD_DIR}/R-cran
166 if [ -d ${pkg} ]; then
167 mkdir ${RHOME}/${pkg}
168 for docfile in `ls ${pkg}`; do
177 *) cp -R -P ${pkg}/${docfile} ${RHOME};;
185 install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
186 install R.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
187 install -d ${RPM_BUILD_ROOT}%{_libdir}/R
188 cp -R afm bin cmd demos doc etc html include library ${RPM_BUILD_ROOT}%{_libdir}/R
189 install -d ${RPM_BUILD_ROOT}%{_bindir}
190 install -m 755 bin/R ${RPM_BUILD_ROOT}%{_bindir}/R
193 %defattr(644,root,root,755)
194 %attr(-,root,root) %{_mandir}/man1/R.1
195 %attr(-,root,root) %{_bindir}/R
196 %attr(-,root,root) %dir %{_libdir}/R
197 %attr(-,root,root) %{_libdir}/R/afm
198 %attr(-,root,root) %{_libdir}/R/bin
199 %attr(-,root,root) %{_libdir}/R/cmd
200 %attr(-,root,root) %{_libdir}/R/demos
201 %attr(-,root,root) %{_libdir}/R/etc
202 %attr(-,root,root) %{_libdir}/R/html
203 %attr(-,root,root) %{_libdir}/R/include
204 %attr(-,root,root) %dir %{_libdir}/R/library
205 %attr(-,root,root) %{_libdir}/R/library/base/
206 %attr(-,root,root) %{_libdir}/R/library/eda/
207 %attr(-,root,root) %{_libdir}/R/library/mva/
208 %attr(-,root,root) %{_libdir}/R/library/stepfun/
209 %attr(-,root,root) %doc CHANGES COPYING COPYRIGHTS MIRROR-SITES PROJECTS README RESOURCES TASKS
212 %defattr(644,root,root,755)
213 %attr(-,root,root) %{_libdir}/R/library/acepack
214 %attr(-,root,root) %doc acepack
215 %attr(-,root,root) %{_libdir}/R/library/bootstrap
216 %attr(-,root,root) %doc bootstrap
217 %attr(-,root,root) %{_libdir}/R/library/class
218 %attr(-,root,root) %doc class
219 %attr(-,root,root) %{_libdir}/R/library/clus
220 %attr(-,root,root) %doc clus
221 %attr(-,root,root) %{_libdir}/R/library/ctest
222 %attr(-,root,root) %doc ctest
223 %attr(-,root,root) %{_libdir}/R/library/date
224 %attr(-,root,root) %doc date
225 %attr(-,root,root) %{_libdir}/R/library/e1071
226 %attr(-,root,root) %doc e1071
227 %attr(-,root,root) %{_libdir}/R/library/fracdiff
228 %attr(-,root,root) %doc fracdiff
229 %attr(-,root,root) %{_libdir}/R/library/gee
230 %attr(-,root,root) %doc gee
231 %attr(-,root,root) %{_libdir}/R/library/integrate
232 %attr(-,root,root) %doc integrate
233 %attr(-,root,root) %{_libdir}/R/library/jpn
234 %attr(-,root,root) %doc jpn
235 %attr(-,root,root) %{_libdir}/R/library/leaps
236 %attr(-,root,root) %doc leaps
237 %attr(-,root,root) %{_libdir}/R/library/nnet
238 %attr(-,root,root) %doc nnet
239 %attr(-,root,root) %{_libdir}/R/library/oz
240 %attr(-,root,root) %doc oz
241 %attr(-,root,root) %{_libdir}/R/library/polynom
242 %attr(-,root,root) %doc polynom
243 %attr(-,root,root) %{_libdir}/R/library/ratetables
244 %attr(-,root,root) %doc ratetables
245 %attr(-,root,root) %{_libdir}/R/library/rational
246 %attr(-,root,root) %doc rational
247 %attr(-,root,root) %{_libdir}/R/library/spatial
248 %attr(-,root,root) %doc spatial
249 %attr(-,root,root) %{_libdir}/R/library/splines
250 %attr(-,root,root) %doc splines
251 %attr(-,root,root) %{_libdir}/R/library/survival4
252 %attr(-,root,root) %doc survival4
253 %attr(-,root,root) %{_libdir}/R/library/xgobi
254 %attr(-,root,root) %doc xgobi
255 %attr(-,root,root) %{_libdir}/R/library/principal.curve
256 %attr(-,root,root) %doc principal.curve
257 %attr(-,root,root) %{_libdir}/R/library/quadprog
258 %attr(-,root,root) %doc quadprog
261 %defattr(644,root,root,755)
262 %attr(-,root,root) %{_libdir}/R/library/mlbench
263 %attr(-,root,root) %doc mlbench/COPYRIGHT
264 %attr(-,root,root) %doc mlbench/ChangeLog
265 %attr(-,root,root) %doc mlbench/README
268 rm -rf ${RPM_BUILD_ROOT}
271 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
274 # These files are not owned by any package, so we have to remove them
275 # but only if this is the last version of R-base on the system.
279 rm -f %{_libdir}/R/library/LibIndex
280 rm -f %{_libdir}/R/library/index.html
284 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
287 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
290 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
293 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)