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: zlib >= 1.1.3
53 BuildRequires: readline-devel
55 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
56 %{!?_without_gnome:BuildRequires: ORBit-devel}
57 %{!?_without_gnome:BuildRequires: libglade-devel}
58 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61 A system for statistical computation and graphics. R consists of a
62 language plus a run-time environment with graphics, a debugger, access
63 to certain system functions, and the ability to run programs stored in
66 The design of R has been heavily influenced by two existing languages:
67 Becker, Chambers & Wilks' S and Sussman's Scheme. Whereas the
68 resulting language is very similar in appearance to S, the underlying
69 implementation and semantics are derived from Scheme.
72 System do obliczeñ statystycznych i grafiki. R sk³ada siê z jêzyka
73 oraz ¶rodowiska uruchomieniowego z grafik±, debuggerem, dostêpem do
74 niektórych funkcji systemowych oraz mo¿liwo¶ci± uruchamiania programów
75 zapisanych w skryptach.
77 Jêzyk R by³ zainspirowany dwoma istniej±cymi jêzykami: S (Beckera,
78 Chambersa i Wilksa) oraz Scheme (Sussmana). R jest podobny do S, ale
79 implementacja i semantyka wywodzi siê ze Scheme.
82 Summary: The R base distribution
83 Summary(pl): Podstawowa dystrybucja R
84 Group: Development/Languages
85 Group(de): Entwicklung/Sprachen
86 Group(pl): Programowanie/Jêzyki
87 Provides: R-acepack R-bootstrap R-VR R-cluster R-ctest R-date R-e1071
88 Provides: R-fracdiff R-gee R-integrate R-jpn R-leaps R-mlbench R-oz
89 Provides: R-polynom R-princurve R-quadprog R-ratetables R-rational
90 Provides: R-splines R-survival R-xgobi
91 Obsoletes: R-principal.curve R-survival4 R-clus R-class R-nnet R-spatial
94 R is a language and run-time environment for carrying out interactive
95 statistical data analysis. It is not entirely dissimilar to the S
96 language developed at AT&T Bell Laboratories (and now Lucent
97 Technologies). Indeed, S users will find the environment quite
98 familiar and a good deal of S software will run without change under
101 %description base -l pl
102 R jest jêzykiem i ¶rodowiskiem uruchomieniowym do interaktywnej
103 analizy danych statystycznych. R nie jest ca³kowicie zgodny z jêzykiem
104 S opracowanym w AT&T Bell Laboratiories (a teraz Lucent Technologies),
105 mimo to u¿ytkownicy S zauwa¿± zbli¿one ¶rodowisko, a du¿a czê¶æ
106 oprogramowania w S bêdzie dzia³a³a bez zmian w R.
109 Summary: Contributed packages for the R language
110 Summary(pl): Dodatkowe pakiety do jêzyka R
111 Group: Development/Languages
112 Group(de): Entwicklung/Sprachen
113 Group(pl): Programowanie/Jêzyki
115 URL: http://www.ci.tuwien.ac.at/R/
116 Requires: R-base >= %{version}
119 Packages which extend the capabilities of the R base distribution and
120 are distributed on the Comprehensive R Archive Network (CRAN).
122 %description contrib -l pl
123 Pakiety rozszerzaj±ce mo¿liwo¶ci podstawowej dystrybucji jêzyka R,
124 dystrubuowane w archiwum CRAN (Comprehensive R Archive Network).
127 Summary: Machine learning benchmarks
128 Summary(pl): Testy wydajno¶ci uczenia maszyny
129 Group: Development/Languages
130 Group(de): Entwicklung/Sprachen
131 Group(pl): Programowanie/Jêzyki
133 URL: http://www.ics.uci.edu/~mlearn/MLRepository.html
134 Requires: R-base >= %{version}
137 R package which contains a collection of real-world datasets and
138 functions for creating artificial datasets that work as benchmarks for
139 machine learning methods.
141 %description mlbench -l pl
142 Ten podpakiet R zawiera zestaw rzeczywistych danych i funkcji do
143 zrobienia sztucznych danych dzia³aj±cych jako test wydajno¶ci metod
147 %setup -q -c -n R-cran -T -b 2
148 %setup -q -c -n R-cran -T -D -b 3
149 %setup -q -c -n R-cran -T -D -b 4
150 %setup -q -c -n R-cran -T -D -b 5
151 # %setup -q -c -n R-cran -T -D -b 6
152 %setup -q -c -n R-cran -T -D -b 7
153 %setup -q -c -n R-cran -T -D -b 8
154 %setup -q -c -n R-cran -T -D -b 9
155 %setup -q -c -n R-cran -T -D -b 10
156 %setup -q -c -n R-cran -T -D -b 11
157 # %setup -q -c -n R-cran -T -D -b 12
158 %setup -q -c -n R-cran -T -D -b 13
159 %setup -q -c -n R-cran -T -D -b 15
160 %setup -q -c -n R-cran -T -D -b 16
161 # %setup -q -c -n R-cran -T -D -b 17
162 # %setup -q -c -n R-cran -T -D -b 18
163 # %setup -q -c -n R-cran -T -D -b 20
164 %setup -q -c -n R-cran -T -D -b 21
165 %setup -q -c -n R-cran -T -D -b 22
166 %setup -q -c -n R-cran -T -D -b 23
167 %setup -q -c -n R-cran -T -D -b 24
171 # These files have the path for PERL hard-coded as /usr/local/bin/perl
172 # We need to remove them to avoid dependency problems
173 rm -f ./doc/keyword-test.orig ./etc/undoc/R-funs.orig ./etc/undoc/extrExamp.orig
177 %{!?_without_gnome:--with-gnome} \
178 %{?_without_gnome:--without-gnome} \
187 # Install contrib packages
189 RHOME=`pwd`;export RHOME
193 ${RHOME}%{_sysconfdir}/INSTALL -latex ${pkg}
199 ${RHOME}%{_sysconfdir}/INSTALL mlbench
201 #Remove old template files.
203 for oldinfile in `find . -name '*.in' -print`
208 # Gather documentation from contrib packages in one directory
209 # Assume that anything not in one of the standard directories is
210 # documentation, and copy it.
212 mkdir ${RHOME}/contrib
213 cd ${RPM_BUILD_DIR}/R-cran
215 if [ -d ${pkg} ]; then
216 mkdir ${RHOME}/${pkg}
217 for docfile in `ls ${pkg}`; do
226 *) cp -R -P ${pkg}/${docfile} ${RHOME};;
234 rm -rf $RPM_BUILD_ROOT
235 install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
236 install R.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
237 install -d ${RPM_BUILD_ROOT}%{_libdir}/R
238 cp -R afm bin cmd demos doc etc html include library ${RPM_BUILD_ROOT}%{_libdir}/R
239 install -d ${RPM_BUILD_ROOT}%{_bindir}
240 install -m 755 bin/R ${RPM_BUILD_ROOT}%{_bindir}/R
243 rm -rf $RPM_BUILD_ROOT
246 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
249 # These files are not owned by any package, so we have to remove them
250 # but only if this is the last version of R-base on the system.
254 rm -f %{_libdir}/R/library/LibIndex
255 rm -f %{_libdir}/R/library/index.html
259 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
262 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
265 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
268 (cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
271 %defattr(644,root,root,755)
272 %attr(-,root,root) %{_mandir}/man1/R.1
273 %attr(-,root,root) %{_bindir}/R
274 %attr(-,root,root) %dir %{_libdir}/R
275 %attr(-,root,root) %{_libdir}/R/afm
276 %attr(-,root,root) %{_libdir}/R/bin
277 %attr(-,root,root) %{_libdir}/R/cmd
278 %attr(-,root,root) %{_libdir}/R/demos
279 %attr(-,root,root) %{_libdir}/R%{_sysconfdir}
280 %attr(-,root,root) %{_libdir}/R/html
281 %attr(-,root,root) %{_libdir}/R/include
282 %attr(-,root,root) %dir %{_libdir}/R/library
283 %attr(-,root,root) %{_libdir}/R/library/base/
284 %attr(-,root,root) %{_libdir}/R/library/eda/
285 %attr(-,root,root) %{_libdir}/R/library/mva/
286 %attr(-,root,root) %{_libdir}/R/library/stepfun/
287 %attr(-,root,root) %doc CHANGES COPYING COPYRIGHTS MIRROR-SITES PROJECTS README RESOURCES TASKS
290 %defattr(644,root,root,755)
291 %attr(-,root,root) %{_libdir}/R/library/acepack
292 %attr(-,root,root) %doc acepack
293 %attr(-,root,root) %{_libdir}/R/library/bootstrap
294 %attr(-,root,root) %doc bootstrap
295 %attr(-,root,root) %{_libdir}/R/library/class
296 %attr(-,root,root) %doc class
297 %attr(-,root,root) %{_libdir}/R/library/clus
298 %attr(-,root,root) %doc clus
299 %attr(-,root,root) %{_libdir}/R/library/ctest
300 %attr(-,root,root) %doc ctest
301 %attr(-,root,root) %{_libdir}/R/library/date
302 %attr(-,root,root) %doc date
303 %attr(-,root,root) %{_libdir}/R/library/e1071
304 %attr(-,root,root) %doc e1071
305 %attr(-,root,root) %{_libdir}/R/library/fracdiff
306 %attr(-,root,root) %doc fracdiff
307 %attr(-,root,root) %{_libdir}/R/library/gee
308 %attr(-,root,root) %doc gee
309 %attr(-,root,root) %{_libdir}/R/library/integrate
310 %attr(-,root,root) %doc integrate
311 %attr(-,root,root) %{_libdir}/R/library/jpn
312 %attr(-,root,root) %doc jpn
313 %attr(-,root,root) %{_libdir}/R/library/leaps
314 %attr(-,root,root) %doc leaps
315 %attr(-,root,root) %{_libdir}/R/library/nnet
316 %attr(-,root,root) %doc nnet
317 %attr(-,root,root) %{_libdir}/R/library/oz
318 %attr(-,root,root) %doc oz
319 %attr(-,root,root) %{_libdir}/R/library/polynom
320 %attr(-,root,root) %doc polynom
321 %attr(-,root,root) %{_libdir}/R/library/ratetables
322 %attr(-,root,root) %doc ratetables
323 %attr(-,root,root) %{_libdir}/R/library/rational
324 %attr(-,root,root) %doc rational
325 %attr(-,root,root) %{_libdir}/R/library/spatial
326 %attr(-,root,root) %doc spatial
327 %attr(-,root,root) %{_libdir}/R/library/splines
328 %attr(-,root,root) %doc splines
329 %attr(-,root,root) %{_libdir}/R/library/survival4
330 %attr(-,root,root) %doc survival4
331 %attr(-,root,root) %{_libdir}/R/library/xgobi
332 %attr(-,root,root) %doc xgobi
333 %attr(-,root,root) %{_libdir}/R/library/principal.curve
334 %attr(-,root,root) %doc principal.curve
335 %attr(-,root,root) %{_libdir}/R/library/quadprog
336 %attr(-,root,root) %doc quadprog
339 %defattr(644,root,root,755)
340 %attr(-,root,root) %{_libdir}/R/library/mlbench
341 %attr(-,root,root) %doc mlbench/COPYRIGHT
342 %attr(-,root,root) %doc mlbench/ChangeLog
343 %attr(-,root,root) %doc mlbench/README