3 # _without_gnome - without gnome support
5 Summary: A language for data analysis and graphics
6 Summary(pl): Jêzyk do analizy danych oraz grafiki
10 Source0: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/base/%{name}-%{version}.tgz
11 Source1: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/mlbench_0.5-2.tar.gz
12 Source2: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/acepack_1.3.tar.gz
13 Source3: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/bootstrap_1.0-7.tar.gz
14 Source4: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/VR_6.2-9.tar.gz
15 Source5: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/cluster_1.3-4.tar.gz
16 # Source6: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/ctest_0.9-1.tar.gz
17 Source7: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/date_1.2-9.tar.gz
18 Source8: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/e1071_1.2-0.tar.gz
19 Source9: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/fracdiff_1.0-6.tar.gz
20 Source10: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/gee_4.13-5.tar.gz
21 Source11: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/integrate_2.2-3.tar.gz
22 # Source12: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/jpn_1.0-1.tar.gz
23 Source13: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/leaps_2.1-1.tar.gz
24 Source15: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/oz_1.0-6.tar.gz
25 Source16: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/polynom_1.1-7.tar.gz
26 # Source17: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/ratetables_1.0-2.tar.gz
27 # Source18: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/rational_1.0-1.tar.gz
28 # Source20: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/splines_2.0-1.tar.gz
29 Source21: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/survival_2.6.tar.gz
30 Source22: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/xgobi_1.2-4.tar.gz
31 Source23: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/princurve_1.1-2.tar.gz
32 Source24: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/quadprog_1.4-3.tar.gz
33 # Patch0: %{name}-0.61.rpm.patch3
35 Group: Development/Languages
36 Group(de): Entwicklung/Sprachen
37 Group(pl): Programowanie/Jêzyki
38 URL: http://stat.auckland.ac.nz/r/r.html
39 Provides: R-base R-contrib
40 BuildRequires: libstdc++-devel
41 BuildRequires: gcc-c++
42 BuildRequires: gcc-g77
43 BuildRequires: perl >= 5
44 BuildRequires: libtool
45 BuildRequires: tetex-latex
46 BuildRequires: tetex-dvips
47 BuildRequires: tetex-pdftex
49 BuildRequires: XFree86-devel
50 BuildRequires: libpng-devel >= 1.0.5
51 BuildRequires: libjpeg-devel >= 6b
52 BuildRequires: libxml-devel
53 BuildRequires: zlib >= 1.1.3
54 BuildRequires: readline-devel
56 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
57 %{!?_without_gnome:BuildRequires: ORBit-devel}
58 %{!?_without_gnome:BuildRequires: libglade-devel}
59 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 A system for statistical computation and graphics. R consists of a
63 language plus a run-time environment with graphics, a debugger, access
64 to certain system functions, and the ability to run programs stored in
67 The design of R has been heavily influenced by two existing languages:
68 Becker, Chambers & Wilks' S and Sussman's Scheme. Whereas the
69 resulting language is very similar in appearance to S, the underlying
70 implementation and semantics are derived from Scheme.
73 System do obliczeñ statystycznych i grafiki. R sk³ada siê z jêzyka
74 oraz ¶rodowiska uruchomieniowego z grafik±, debuggerem, dostêpem do
75 niektórych funkcji systemowych oraz mo¿liwo¶ci± uruchamiania programów
76 zapisanych w skryptach.
78 Jêzyk R by³ zainspirowany dwoma istniej±cymi jêzykami: S (Beckera,
79 Chambersa i Wilksa) oraz Scheme (Sussmana). R jest podobny do S, ale
80 implementacja i semantyka wywodzi siê ze Scheme.
83 Summary: The R base distribution
84 Summary(pl): Podstawowa dystrybucja R
85 Group: Development/Languages
86 Group(de): Entwicklung/Sprachen
87 Group(pl): Programowanie/Jêzyki
88 Provides: R-acepack R-bootstrap R-VR R-cluster R-ctest R-date R-e1071
89 Provides: R-fracdiff R-gee R-integrate R-jpn R-leaps R-mlbench R-oz
90 Provides: R-polynom R-princurve R-quadprog R-ratetables R-rational
91 Provides: R-splines R-survival R-xgobi
92 Obsoletes: R-principal.curve R-survival4 R-clus R-class R-nnet R-spatial
95 R is a language and run-time environment for carrying out interactive
96 statistical data analysis. It is not entirely dissimilar to the S
97 language developed at AT&T Bell Laboratories (and now Lucent
98 Technologies). Indeed, S users will find the environment quite
99 familiar and a good deal of S software will run without change under
102 %description base -l pl
103 R jest jêzykiem i ¶rodowiskiem uruchomieniowym do interaktywnej
104 analizy danych statystycznych. R nie jest ca³kowicie zgodny z jêzykiem
105 S opracowanym w AT&T Bell Laboratiories (a teraz Lucent Technologies),
106 mimo to u¿ytkownicy S zauwa¿± zbli¿one ¶rodowisko, a du¿a czê¶æ
107 oprogramowania w S bêdzie dzia³a³a bez zmian w R.
110 Summary: Contributed packages for the R language
111 Summary(pl): Dodatkowe pakiety do jêzyka R
112 Group: Development/Languages
113 Group(de): Entwicklung/Sprachen
114 Group(pl): Programowanie/Jêzyki
116 URL: http://www.ci.tuwien.ac.at/R/
117 Requires: R-base >= %{version}
120 Packages which extend the capabilities of the R base distribution and
121 are distributed on the Comprehensive R Archive Network (CRAN).
123 %description contrib -l pl
124 Pakiety rozszerzaj±ce mo¿liwo¶ci podstawowej dystrybucji jêzyka R,
125 dystrubuowane w archiwum CRAN (Comprehensive R Archive Network).
128 Summary: Machine learning benchmarks
129 Summary(pl): Testy wydajno¶ci uczenia maszyny
130 Group: Development/Languages
131 Group(de): Entwicklung/Sprachen
132 Group(pl): Programowanie/Jêzyki
134 URL: http://www.ics.uci.edu/~mlearn/MLRepository.html
135 Requires: R-base >= %{version}
138 R package which contains a collection of real-world datasets and
139 functions for creating artificial datasets that work as benchmarks for
140 machine learning methods.
142 %description mlbench -l pl
143 Ten podpakiet R zawiera zestaw rzeczywistych danych i funkcji do
144 zrobienia sztucznych danych dzia³aj±cych jako test wydajno¶ci metod
148 %setup -q -c -n R-cran -T -b 2
149 %setup -q -c -n R-cran -T -D -b 3
150 %setup -q -c -n R-cran -T -D -b 4
151 %setup -q -c -n R-cran -T -D -b 5
152 # %setup -q -c -n R-cran -T -D -b 6
153 %setup -q -c -n R-cran -T -D -b 7
154 %setup -q -c -n R-cran -T -D -b 8
155 %setup -q -c -n R-cran -T -D -b 9
156 %setup -q -c -n R-cran -T -D -b 10
157 %setup -q -c -n R-cran -T -D -b 11
158 # %setup -q -c -n R-cran -T -D -b 12
159 %setup -q -c -n R-cran -T -D -b 13
160 %setup -q -c -n R-cran -T -D -b 15
161 %setup -q -c -n R-cran -T -D -b 16
162 # %setup -q -c -n R-cran -T -D -b 17
163 # %setup -q -c -n R-cran -T -D -b 18
164 # %setup -q -c -n R-cran -T -D -b 20
165 %setup -q -c -n R-cran -T -D -b 21
166 %setup -q -c -n R-cran -T -D -b 22
167 %setup -q -c -n R-cran -T -D -b 23
168 %setup -q -c -n R-cran -T -D -b 24
172 # These files have the path for PERL hard-coded as /usr/local/bin/perl
173 # We need to remove them to avoid dependency problems
174 rm -f ./doc/keyword-test.orig ./etc/undoc/R-funs.orig ./etc/undoc/extrExamp.orig
178 %{!?_without_gnome:--with-gnome} \
179 %{?_without_gnome:--without-gnome} \
188 # Install contrib packages
190 R_HOME=`pwd`;export R_HOME
191 PERL5LIB=`pwd`/share/perl;export PERL5LIB
195 ${R_HOME}/bin/INSTALL ${pkg}
201 ${R_HOME}/bin/INSTALL mlbench
203 #Remove old template files.
205 for oldinfile in `find . -name '*.in' -print`
210 # Gather documentation from contrib packages in one directory
211 # Assume that anything not in one of the standard directories is
212 # documentation, and copy it.
214 mkdir ${R_HOME}/contrib
215 cd ${RPM_BUILD_DIR}/R-cran
217 if [ -d ${pkg} ]; then
218 mkdir ${R_HOME}/${pkg}
219 for docfile in `ls ${pkg}`; do
228 *) cp -R -P ${pkg}/${docfile} ${R_HOME};;
236 rm -rf $RPM_BUILD_ROOT
237 install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
238 install R.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
239 install -d ${RPM_BUILD_ROOT}%{_libdir}/R
240 cp -R afm bin cmd demos doc etc html include library ${RPM_BUILD_ROOT}%{_libdir}/R
241 install -d ${RPM_BUILD_ROOT}%{_bindir}
242 install -m 755 bin/R ${RPM_BUILD_ROOT}%{_bindir}/R
245 rm -rf $RPM_BUILD_ROOT
248 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
251 # These files are not owned by any package, so we have to remove them
252 # but only if this is the last version of R-base on the system.
256 rm -f %{_libdir}/R/library/LibIndex
257 rm -f %{_libdir}/R/library/index.html
261 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
264 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
267 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
270 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
273 %defattr(644,root,root,755)
274 %attr(-,root,root) %{_mandir}/man1/R.1
275 %attr(-,root,root) %{_bindir}/R
276 %attr(-,root,root) %dir %{_libdir}/R
277 %attr(-,root,root) %{_libdir}/R/afm
278 %attr(-,root,root) %{_libdir}/R/bin
279 %attr(-,root,root) %{_libdir}/R/cmd
280 %attr(-,root,root) %{_libdir}/R/demos
281 %attr(-,root,root) %{_libdir}/R/etc
282 %attr(-,root,root) %{_libdir}/R/html
283 %attr(-,root,root) %{_libdir}/R/include
284 %attr(-,root,root) %dir %{_libdir}/R/library
285 %attr(-,root,root) %{_libdir}/R/library/base/
286 %attr(-,root,root) %{_libdir}/R/library/eda/
287 %attr(-,root,root) %{_libdir}/R/library/mva/
288 %attr(-,root,root) %{_libdir}/R/library/stepfun/
289 %attr(-,root,root) %doc CHANGES COPYING COPYRIGHTS MIRROR-SITES PROJECTS README RESOURCES TASKS
292 %defattr(644,root,root,755)
293 %attr(-,root,root) %{_libdir}/R/library/acepack
294 %attr(-,root,root) %doc acepack
295 %attr(-,root,root) %{_libdir}/R/library/bootstrap
296 %attr(-,root,root) %doc bootstrap
297 %attr(-,root,root) %{_libdir}/R/library/class
298 %attr(-,root,root) %doc class
299 %attr(-,root,root) %{_libdir}/R/library/clus
300 %attr(-,root,root) %doc clus
301 %attr(-,root,root) %{_libdir}/R/library/ctest
302 %attr(-,root,root) %doc ctest
303 %attr(-,root,root) %{_libdir}/R/library/date
304 %attr(-,root,root) %doc date
305 %attr(-,root,root) %{_libdir}/R/library/e1071
306 %attr(-,root,root) %doc e1071
307 %attr(-,root,root) %{_libdir}/R/library/fracdiff
308 %attr(-,root,root) %doc fracdiff
309 %attr(-,root,root) %{_libdir}/R/library/gee
310 %attr(-,root,root) %doc gee
311 %attr(-,root,root) %{_libdir}/R/library/integrate
312 %attr(-,root,root) %doc integrate
313 %attr(-,root,root) %{_libdir}/R/library/jpn
314 %attr(-,root,root) %doc jpn
315 %attr(-,root,root) %{_libdir}/R/library/leaps
316 %attr(-,root,root) %doc leaps
317 %attr(-,root,root) %{_libdir}/R/library/nnet
318 %attr(-,root,root) %doc nnet
319 %attr(-,root,root) %{_libdir}/R/library/oz
320 %attr(-,root,root) %doc oz
321 %attr(-,root,root) %{_libdir}/R/library/polynom
322 %attr(-,root,root) %doc polynom
323 %attr(-,root,root) %{_libdir}/R/library/ratetables
324 %attr(-,root,root) %doc ratetables
325 %attr(-,root,root) %{_libdir}/R/library/rational
326 %attr(-,root,root) %doc rational
327 %attr(-,root,root) %{_libdir}/R/library/spatial
328 %attr(-,root,root) %doc spatial
329 %attr(-,root,root) %{_libdir}/R/library/splines
330 %attr(-,root,root) %doc splines
331 %attr(-,root,root) %{_libdir}/R/library/survival4
332 %attr(-,root,root) %doc survival4
333 %attr(-,root,root) %{_libdir}/R/library/xgobi
334 %attr(-,root,root) %doc xgobi
335 %attr(-,root,root) %{_libdir}/R/library/principal.curve
336 %attr(-,root,root) %doc principal.curve
337 %attr(-,root,root) %{_libdir}/R/library/quadprog
338 %attr(-,root,root) %doc quadprog
341 %defattr(644,root,root,755)
342 %attr(-,root,root) %{_libdir}/R/library/mlbench
343 %attr(-,root,root) %doc mlbench/COPYRIGHT
344 %attr(-,root,root) %doc mlbench/ChangeLog
345 %attr(-,root,root) %doc mlbench/README