]> git.pld-linux.org Git - packages/R.git/blame - R.spec
- translated kloczkish into english
[packages/R.git] / R.spec
CommitLineData
8325eaaa
JR
1Summary: A language for data analysis and graphics
2Name: R
3Version: 0.61.1
4Release: 3
5Source0: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/base/r-0_61_1.tgz
6Source1: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/mlbench_0.2-2.tar.gz
7Source2: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/acepack_1.0-2.tar.gz
8Source3: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/bootstrap_1.0-3.tar.gz
9Source4: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/class_VR5-4.tar.gz
10Source5: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/clus_1.0-2.tar.gz
11Source6: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/ctest_0.9-1.tar.gz
12Source7: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/date_1.0-3.tar.gz
13Source8: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/e1071_0.7-3.tar.gz
14Source9: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/fracdiff_1.0-2.tar.gz
15Source10: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/gee_3.13-2.tar.gz
16Source11: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/integrate_1.0-3.tar.gz
17Source12: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/jpn_1.0-1.tar.gz
18Source13: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/leaps_1.0-3.tar.gz
19Source14: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/nnet_VR5-3.tar.gz
20Source15: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/oz_1.0-1.tar.gz
21Source16: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/polynom_1.0-3.tar.gz
22Source17: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/ratetables_1.0-2.tar.gz
23Source18: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/rational_1.0-1.tar.gz
24Source19: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/spatial_VR5-2.tar.gz
25Source20: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/splines_2.0-1.tar.gz
26Source21: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/survival4_1.0-3.tar.gz
27Source22: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/xgobi_1.0-2.tar.gz
28Source23: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/principal.curve_1.0-2.tar.gz
29Source24: ftp://ftp.stat.math.ethz.ch/R-CRAN/src/contrib/quadprog_1.0-2.tar.gz
30Patch0: R-0.61.rpm.patch3
31Copyright: GPL
32Group: Development/Languages
33URL: http://stat.auckland.ac.nz/r/r.html
34Provides: R-base R-contrib
f3ba7b8e 35BuildRoot: /tmp/%{name}-%{version}-root
5c7326d9 36
37%description
38A system for statistical computation and graphics. R consists of a
39language plus a run-time environment with graphics, a debugger, access
40to certain system functions, and the ability to run programs stored in
41script files.
42
43The design of R has been heavily influenced by two existing languages:
44Becker, Chambers & Wilks' S and Sussman's Scheme. Whereas the resulting
45language is very similar in appearance to S, the underlying implementation
46and semantics are derived from Scheme.
47
48%package base
8325eaaa
JR
49Summary: The R base distribution
50Group: Development/Languages
51Provides: R-acepack R-bootstrap R-class R-clus R-ctest R-date R-e1071
52Provides: R-fracdiff R-gee R-integrate R-jpn R-leaps R-mlbench R-nnet R-oz
53Provides: R-polynom R-principal.curve R-quadprog R-ratetables R-rational
54Provides: R-spatial R-splines R-survival4 R-xgobi
5c7326d9 55
56%description base
57R is a language and run-time environment for carrying out interactive
58statistical data analysis. It is not entirely dissimilar to the S language
59developed at AT&T Bell Laboratories (and now Lucent Technologies). Indeed,
60S users will find the environment quite familiar and a good deal of S
61software will run without change under R.
62
63%package contrib
8325eaaa
JR
64Summary: contributed packages for the R language
65Group: Development/Languages
66Copyright: Mixed
67URL: http://www.ci.tuwien.ac.at/R/
68Requires: R-base >= %{version}
5c7326d9 69
70%description contrib
71Packages which extend the capabilities of the R base distribution
72and are distributed on the Comprehensive R Archive Network (CRAN).
73
74%package mlbench
8325eaaa
JR
75Summary: Machine learning benchmarks
76Group: Development/Languages
77Copyright: GPL
78URL: http://www.ics.uci.edu/~mlearn/MLRepository.html
79Requires: R-base >= %{version}
5c7326d9 80
81%description mlbench
82R package which contains a collection of real-world datasets and
83functions for creating artificial datasets that work as benchmarks
84for machine learning methods.
85
86%prep
8325eaaa
JR
87%setup -q -c -n R-cran -T -b 2
88%setup -q -c -n R-cran -T -D -b 3
89%setup -q -c -n R-cran -T -D -b 4
90%setup -q -c -n R-cran -T -D -b 5
91%setup -q -c -n R-cran -T -D -b 6
92%setup -q -c -n R-cran -T -D -b 7
93%setup -q -c -n R-cran -T -D -b 8
94%setup -q -c -n R-cran -T -D -b 9
95%setup -q -c -n R-cran -T -D -b 10
96%setup -q -c -n R-cran -T -D -b 11
97%setup -q -c -n R-cran -T -D -b 12
98%setup -q -c -n R-cran -T -D -b 13
99%setup -q -c -n R-cran -T -D -b 14
100%setup -q -c -n R-cran -T -D -b 15
101%setup -q -c -n R-cran -T -D -b 16
102%setup -q -c -n R-cran -T -D -b 17
103%setup -q -c -n R-cran -T -D -b 18
104%setup -q -c -n R-cran -T -D -b 19
105%setup -q -c -n R-cran -T -D -b 20
106%setup -q -c -n R-cran -T -D -b 21
107%setup -q -c -n R-cran -T -D -b 22
108%setup -q -c -n R-cran -T -D -b 23
109%setup -q -c -n R-cran -T -D -b 24
110%setup -q
111%setup -q -T -D -a 1
5c7326d9 112%patch0 -p1
113# These files have the path for PERL hard-coded as /usr/local/bin/perl
114# We need to remove them to avoid dependency problems
115rm ./doc/keyword-test.orig ./etc/undoc/R-funs.orig ./etc/undoc/extrExamp.orig
116
117%build
5c7326d9 118make
119make help
120make html
121make clean
122make acclean
123
124# Install contrib packages
125#
126RHOME=`pwd`;export RHOME
127cd ../R-cran
128for pkg in `ls`
129do
130 ${RHOME}/etc/INSTALL -latex ${pkg}
131done
132cd ${RHOME}
133
134# Install mlbench
135#
136${RHOME}/etc/INSTALL mlbench
137
138#Remove old template files.
139#
140for oldinfile in `find . -name '*.in' -print`
141do
142 rm ${oldinfile}
143done
144
145# Gather documentation from contrib packages in one directory
146# Assume that anything not in one of the standard directories is
147# documentation, and copy it.
148#
149mkdir ${RHOME}/contrib
150cd ${RPM_BUILD_DIR}/R-cran
151for pkg in `ls`; do
152 if [ -d ${pkg} ]; then
153 mkdir ${RHOME}/${pkg}
154 for docfile in `ls ${pkg}`; do
155 case $docfile in
156 INDEX) ;;
157 TITLE) ;;
158 R) ;;
159 man) ;;
160 src) ;;
161 src-c) ;;
162 data) ;;
163 *) cp -R -P ${pkg}/${docfile} ${RHOME};;
164 esac
165 done
166 fi
167done
168cd ${RHOME}
169
170
171%install
3ffc4e62 172install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
173install R.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
1d8caf0e 174install -d ${RPM_BUILD_ROOT}%{_libdir}/R
175cp -R afm bin cmd demos doc etc html include library ${RPM_BUILD_ROOT}%{_libdir}/R
16e7eb03 176install -d ${RPM_BUILD_ROOT}%{_bindir}
177install -m 755 bin/R ${RPM_BUILD_ROOT}%{_bindir}/R
5c7326d9 178
179%files base
8325eaaa 180%defattr(644,root,root,755)
3ffc4e62 181%attr(-,root,root) %{_mandir}/man1/R.1
16e7eb03 182%attr(-,root,root) %{_bindir}/R
1d8caf0e 183%attr(-,root,root) %dir %{_libdir}/R
184%attr(-,root,root) %{_libdir}/R/afm
185%attr(-,root,root) %{_libdir}/R/bin
186%attr(-,root,root) %{_libdir}/R/cmd
187%attr(-,root,root) %{_libdir}/R/demos
188%attr(-,root,root) %{_libdir}/R/etc
189%attr(-,root,root) %{_libdir}/R/html
190%attr(-,root,root) %{_libdir}/R/include
191%attr(-,root,root) %dir %{_libdir}/R/library
192%attr(-,root,root) %{_libdir}/R/library/base/
193%attr(-,root,root) %{_libdir}/R/library/eda/
194%attr(-,root,root) %{_libdir}/R/library/mva/
195%attr(-,root,root) %{_libdir}/R/library/stepfun/
5c7326d9 196%attr(-,root,root) %doc CHANGES COPYING COPYRIGHTS MIRROR-SITES PROJECTS README RESOURCES TASKS
197
198%files contrib
8325eaaa 199%defattr(644,root,root,755)
1d8caf0e 200%attr(-,root,root) %{_libdir}/R/library/acepack
5c7326d9 201%attr(-,root,root) %doc acepack
1d8caf0e 202%attr(-,root,root) %{_libdir}/R/library/bootstrap
5c7326d9 203%attr(-,root,root) %doc bootstrap
1d8caf0e 204%attr(-,root,root) %{_libdir}/R/library/class
5c7326d9 205%attr(-,root,root) %doc class
1d8caf0e 206%attr(-,root,root) %{_libdir}/R/library/clus
5c7326d9 207%attr(-,root,root) %doc clus
1d8caf0e 208%attr(-,root,root) %{_libdir}/R/library/ctest
5c7326d9 209%attr(-,root,root) %doc ctest
1d8caf0e 210%attr(-,root,root) %{_libdir}/R/library/date
5c7326d9 211%attr(-,root,root) %doc date
1d8caf0e 212%attr(-,root,root) %{_libdir}/R/library/e1071
5c7326d9 213%attr(-,root,root) %doc e1071
1d8caf0e 214%attr(-,root,root) %{_libdir}/R/library/fracdiff
5c7326d9 215%attr(-,root,root) %doc fracdiff
1d8caf0e 216%attr(-,root,root) %{_libdir}/R/library/gee
5c7326d9 217%attr(-,root,root) %doc gee
1d8caf0e 218%attr(-,root,root) %{_libdir}/R/library/integrate
5c7326d9 219%attr(-,root,root) %doc integrate
1d8caf0e 220%attr(-,root,root) %{_libdir}/R/library/jpn
5c7326d9 221%attr(-,root,root) %doc jpn
1d8caf0e 222%attr(-,root,root) %{_libdir}/R/library/leaps
5c7326d9 223%attr(-,root,root) %doc leaps
1d8caf0e 224%attr(-,root,root) %{_libdir}/R/library/nnet
5c7326d9 225%attr(-,root,root) %doc nnet
1d8caf0e 226%attr(-,root,root) %{_libdir}/R/library/oz
5c7326d9 227%attr(-,root,root) %doc oz
1d8caf0e 228%attr(-,root,root) %{_libdir}/R/library/polynom
5c7326d9 229%attr(-,root,root) %doc polynom
1d8caf0e 230%attr(-,root,root) %{_libdir}/R/library/ratetables
5c7326d9 231%attr(-,root,root) %doc ratetables
1d8caf0e 232%attr(-,root,root) %{_libdir}/R/library/rational
5c7326d9 233%attr(-,root,root) %doc rational
1d8caf0e 234%attr(-,root,root) %{_libdir}/R/library/spatial
5c7326d9 235%attr(-,root,root) %doc spatial
1d8caf0e 236%attr(-,root,root) %{_libdir}/R/library/splines
5c7326d9 237%attr(-,root,root) %doc splines
1d8caf0e 238%attr(-,root,root) %{_libdir}/R/library/survival4
5c7326d9 239%attr(-,root,root) %doc survival4
1d8caf0e 240%attr(-,root,root) %{_libdir}/R/library/xgobi
5c7326d9 241%attr(-,root,root) %doc xgobi
1d8caf0e 242%attr(-,root,root) %{_libdir}/R/library/principal.curve
5c7326d9 243%attr(-,root,root) %doc principal.curve
1d8caf0e 244%attr(-,root,root) %{_libdir}/R/library/quadprog
5c7326d9 245%attr(-,root,root) %doc quadprog
246
247%files mlbench
8325eaaa 248%defattr(644,root,root,755)
1d8caf0e 249%attr(-,root,root) %{_libdir}/R/library/mlbench
5c7326d9 250%attr(-,root,root) %doc mlbench/COPYRIGHT
251%attr(-,root,root) %doc mlbench/ChangeLog
252%attr(-,root,root) %doc mlbench/README
253
254%clean
8325eaaa 255rm -rf ${RPM_BUILD_ROOT}
5c7326d9 256
257%post base
1d8caf0e 258(cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
5c7326d9 259
260%preun base
261# These files are not owned by any package, so we have to remove them
262# but only if this is the last version of R-base on the system.
263#
264if [ "$1" = 0 ];
265then
1d8caf0e 266 rm -f %{_libdir}/R/library/LibIndex
267 rm -f %{_libdir}/R/library/index.html
5c7326d9 268fi
269
270%post contrib
1d8caf0e 271(cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
5c7326d9 272
273%postun contrib
1d8caf0e 274(cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
5c7326d9 275
276%post mlbench
1d8caf0e 277(cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
5c7326d9 278
279%postun mlbench
1d8caf0e 280(cd %{_libdir}/R/library; cat */TITLE > LibIndex; ../etc/build-htmlpkglist)
This page took 0.072821 seconds and 4 git commands to generate.