14 |
|
|
15 |
Summary: A language for data analysis and graphics |
Summary: A language for data analysis and graphics |
16 |
Name: R-base |
Name: R-base |
17 |
Version: 2.12.0 |
Version: 2.13.0 |
18 |
Release: %mkrel 4 |
Release: %mkrel 1 |
19 |
License: GPLv2+ |
License: GPLv2+ |
20 |
Group: Sciences/Mathematics |
Group: Sciences/Mathematics |
21 |
URL: http://www.r-project.org |
URL: http://www.r-project.org |
22 |
Source0: http://cran.r-project.org/src/base/R-2/R-%{version}.tar.gz |
Source0: http://cran.r-project.org/src/base/R-2/R-%{version}.tar.gz |
23 |
Source1: R-icons-png.tar.bz2 |
Source1: R-icons-png.tar.bz2 |
24 |
Source2: R.bash_completion.bz2 |
Source2: R.bash_completion.bz2 |
25 |
Patch0: R-2.8.1-menu.patch |
Patch0: R-2.8.1-menu.patch |
26 |
|
Patch1: R-2.13.0-disable-optimized-BLAS-test.patch |
27 |
Patch2: R-2.8.1-underlinking.patch |
Patch2: R-2.8.1-underlinking.patch |
28 |
Patch3: R-2.7.2-CVE-2008-3931.patch |
Patch3: R-2.7.2-CVE-2008-3931.patch |
29 |
Patch5: R-2.10.1-gfxdemos.patch |
Patch5: R-2.10.1-gfxdemos.patch |
114 |
%prep |
%prep |
115 |
%setup -qn R-%{version} |
%setup -qn R-%{version} |
116 |
%patch0 -p1 |
%patch0 -p1 |
117 |
|
%patch1 -p1 |
118 |
#%patch2 -p1 |
#%patch2 -p1 |
119 |
#%patch3 -p1 -b .cve |
#%patch3 -p1 -b .cve |
120 |
%patch5 -p1 |
%patch5 -p1 |
182 |
# DON'T comment "make check" below! If R doesn't pass the 'check' test |
# DON'T comment "make check" below! If R doesn't pass the 'check' test |
183 |
# then it is probably badly compiled, or there are problems with |
# then it is probably badly compiled, or there are problems with |
184 |
# the compiler. |
# the compiler. |
185 |
|
%check |
186 |
|
make check |
187 |
|
|
|
# (tpg) disable for now checks for ix86, because they fails only in iurt! |
|
|
#%ifarch %{ix86} |
|
|
#%check |
|
|
#make check |
|
|
#%endif |
|
188 |
|
|
189 |
%install |
%install |
190 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
263 |
%_install_info R-FAQ.info |
%_install_info R-FAQ.info |
264 |
%_install_info R-intro.info |
%_install_info R-intro.info |
265 |
%_install_info R-lang.info |
%_install_info R-lang.info |
|
%{_bindir}/R CMD perl %{_libdir}/R/share/perl/build-help.pl --htmllist > /dev/null 2>&1 |
|
|
cat %{_libdir}/R/library/*/CONTENTS > %{_libdir}/R/doc/html/search/index.txt 2>/dev/null || : |
|
266 |
|
|
267 |
%preun |
%preun |
268 |
if [ $1 = 0 ]; then |
if [ $1 = 0 ]; then |
|
rm -f %{_libdir}/R/doc/html/function.html \ |
|
|
%{_libdir}/R/doc/html/packages.html \ |
|
|
%{_libdir}/R/doc/html/search/index.txt |
|
269 |
%_remove_install_info R-admin.info |
%_remove_install_info R-admin.info |
270 |
%_remove_install_info R-data.info |
%_remove_install_info R-data.info |
271 |
%_remove_install_info R-exts.info |
%_remove_install_info R-exts.info |