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-4.tar.gz
12 Source2: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/VR_6.3-1.tar.gz
13 Source3: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/acepack_1.3.tar.gz
14 Source4: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/bootstrap_1.0-9.tar.gz
15 Source5: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/cluster_1.3-6.tar.gz
16 Source6: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/date_1.2-11.tar.gz
17 Source7: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/e1071_1.2-1.tar.gz
18 Source8: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/fracdiff_1.0-7.tar.gz
19 Source9: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/gee_4.13-6.tar.gz
20 #Source10: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/integrate_2.2-3.tar.gz
21 # Source11: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/jpn_1.0-1.tar.gz
22 Source12: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/leaps_2.1-1.tar.gz
23 Source13: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/oz_1.0-6.tar.gz
24 Source14: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/polynom_1.1-8.tar.gz
25 Source15: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/princurve_1.1-3.tar.gz
26 Source16: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/quadprog_1.4-3.tar.gz
27 # Source17: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/ratetables_1.0-2.tar.gz
28 # Source18: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/rational_1.0-1.tar.gz
29 Source19: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/survival_2.6.tar.gz
30 Source20: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/xgobi_1.2-5.tar.gz
31 Patch0: R-destdir.patch
32 # Patch0: %{name}-0.61.rpm.patch3
34 Group: Development/Languages
35 Group(de): Entwicklung/Sprachen
36 Group(pl): Programowanie/Jêzyki
37 URL: http://stat.auckland.ac.nz/r/r.html
38 Provides: R-base R-contrib
39 BuildRequires: libstdc++-devel
40 BuildRequires: gcc-c++
41 BuildRequires: gcc-g77
42 BuildRequires: perl >= 5
43 BuildRequires: libtool
44 BuildRequires: tetex-latex
45 BuildRequires: tetex-dvips
46 BuildRequires: tetex-pdftex
48 BuildRequires: XFree86-devel
49 BuildRequires: libpng-devel >= 1.0.5
50 BuildRequires: libjpeg-devel >= 6b
51 BuildRequires: libxml-devel
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 14
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 19
165 %setup -q -c -n R-cran -T -D -b 20
170 # These files have the path for PERL hard-coded as /usr/local/bin/perl
171 # We need to remove them to avoid dependency problems
172 rm -f ./doc/keyword-test.orig ./etc/undoc/R-funs.orig ./etc/undoc/extrExamp.orig
176 %{!?_without_gnome:--with-gnome} \
177 %{?_without_gnome:--without-gnome} \
186 # Install contrib packages
188 R_HOME=`pwd`;export R_HOME
189 PERL5LIB=`pwd`/share/perl;export PERL5LIB
193 ${R_HOME}/bin/INSTALL ${pkg}
199 ${R_HOME}/bin/INSTALL mlbench
201 #Remove old template files.
203 for oldinfile in `find . -name '*.in' -print`
205 mv ${oldinfile} ${oldinfile}.old
209 # Gather documentation from contrib packages in one directory
210 # Assume that anything not in one of the standard directories is
211 # documentation, and copy it.
213 mkdir ${R_HOME}/contrib
214 cd ${RPM_BUILD_DIR}/R-cran
216 if [ -d ${pkg} ]; then
217 mkdir ${R_HOME}/${pkg}
218 for docfile in `ls ${pkg}`; do
227 *) cp -R -P ${pkg}/${docfile} ${R_HOME};;
235 rm -rf $RPM_BUILD_ROOT
236 install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
237 install doc/R.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
238 install -d ${RPM_BUILD_ROOT}%{_libdir}/R
239 # cp -R afm bin cmd demos doc etc html include library ${RPM_BUILD_ROOT}%{_libdir}/R
240 cp -R afm bin doc etc include library modules ${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/include
283 %attr(-,root,root) %dir %{_libdir}/R/library
284 %attr(-,root,root) %{_libdir}/R/library/base/
285 %attr(-,root,root) %{_libdir}/R/library/ctest
286 %attr(-,root,root) %{_libdir}/R/library/eda/
287 %attr(-,root,root) %{_libdir}/R/library/mva/
288 %attr(-,root,root) %{_libdir}/R/library/splines
289 %attr(-,root,root) %{_libdir}/R/library/stepfun/
290 %attr(-,root,root) %{_libdir}/R/modules
291 %attr(-,root,root) %doc CHANGES COPYING COPYRIGHTS MIRROR-SITES PROJECTS README RESOURCES TASKS
292 %attr(-,root,root) %doc html
295 %defattr(644,root,root,755)
296 %attr(-,root,root) %{_libdir}/R/library/MASS
297 %attr(-,root,root) %{_libdir}/R/library/class
298 %attr(-,root,root) %{_libdir}/R/library/spatial
299 %attr(-,root,root) %{_libdir}/R/library/nnet
300 %attr(-,root,root) %doc VR
301 %attr(-,root,root) %{_libdir}/R/library/acepack
302 %attr(-,root,root) %doc acepack
303 %attr(-,root,root) %{_libdir}/R/library/bootstrap
304 %attr(-,root,root) %doc bootstrap
305 %attr(-,root,root) %{_libdir}/R/library/cluster
306 %attr(-,root,root) %doc cluster
307 %attr(-,root,root) %{_libdir}/R/library/date
308 %attr(-,root,root) %doc date
309 %attr(-,root,root) %{_libdir}/R/library/e1071
310 %attr(-,root,root) %doc e1071
311 %attr(-,root,root) %{_libdir}/R/library/fracdiff
312 %attr(-,root,root) %doc fracdiff
313 %attr(-,root,root) %{_libdir}/R/library/gee
314 %attr(-,root,root) %doc gee
315 %attr(-,root,root) %{_libdir}/R/library/integrate
316 %attr(-,root,root) %doc integrate
317 # %attr(-,root,root) %{_libdir}/R/library/jpn
318 # %attr(-,root,root) %doc jpn
319 %attr(-,root,root) %{_libdir}/R/library/leaps
320 %attr(-,root,root) %doc leaps
321 %attr(-,root,root) %{_libdir}/R/library/oz
322 %attr(-,root,root) %doc oz
323 %attr(-,root,root) %{_libdir}/R/library/polynom
324 %attr(-,root,root) %doc polynom
325 %attr(-,root,root) %{_libdir}/R/library/princurve
326 %attr(-,root,root) %doc princurve
327 %attr(-,root,root) %{_libdir}/R/library/quadprog
328 %attr(-,root,root) %doc quadprog
329 # %attr(-,root,root) %{_libdir}/R/library/ratetables
330 # %attr(-,root,root) %doc ratetables
331 # %attr(-,root,root) %{_libdir}/R/library/rational
332 # %attr(-,root,root) %doc rational
333 %attr(-,root,root) %{_libdir}/R/library/survival
334 %attr(-,root,root) %doc survival
335 %attr(-,root,root) %{_libdir}/R/library/xgobi
336 %attr(-,root,root) %doc xgobi
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