2008-12-22 16:27:50 +00:00
|
|
|
%ifarch x86_64
|
|
|
|
%define java_arch amd64
|
|
|
|
%else
|
|
|
|
%define java_arch %{_arch}
|
|
|
|
%endif
|
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
Name: R
|
2008-12-22 16:27:50 +00:00
|
|
|
Version: 2.8.1
|
2009-02-23 22:44:31 +00:00
|
|
|
Release: 3%{?dist}
|
2005-04-15 00:46:08 +00:00
|
|
|
Summary: A language for data analysis and graphics
|
|
|
|
URL: http://www.r-project.org
|
|
|
|
Source0: ftp://cran.r-project.org/pub/R/src/base/R-2/R-%{version}.tar.gz
|
2007-07-06 22:07:47 +00:00
|
|
|
Source1: macros.R
|
|
|
|
Source2: R-make-search-index.sh
|
2008-10-16 20:45:20 +00:00
|
|
|
Patch1: R-2.7.2-filter_asoption.patch
|
2007-08-26 22:51:42 +00:00
|
|
|
License: GPLv2+
|
2005-04-15 00:46:08 +00:00
|
|
|
Group: Applications/Engineering
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: gcc-gfortran
|
2006-04-06 22:04:55 +00:00
|
|
|
BuildRequires: gcc-c++, tetex-latex, texinfo-tex
|
2007-03-17 15:54:35 +00:00
|
|
|
BuildRequires: libpng-devel, libjpeg-devel, readline-devel
|
|
|
|
BuildRequires: tcl-devel, tk-devel, ncurses-devel
|
2005-04-15 15:48:03 +00:00
|
|
|
BuildRequires: blas >= 3.0, pcre-devel, zlib-devel
|
2007-03-17 15:54:35 +00:00
|
|
|
BuildRequires: java-1.5.0-gcj, lapack-devel
|
2005-12-31 21:29:52 +00:00
|
|
|
BuildRequires: libSM-devel, libX11-devel, libICE-devel, libXt-devel
|
2008-10-26 20:15:26 +00:00
|
|
|
BuildRequires: bzip2-devel, libXmu-devel, cairo-devel, libtiff-devel
|
2009-01-05 15:11:51 +00:00
|
|
|
BuildRequires: gcc-objc, pango-devel
|
2008-10-26 19:59:58 +00:00
|
|
|
# R-devel will pull in R-core
|
|
|
|
Requires: R-devel = %{version}-%{release}
|
|
|
|
# libRmath-devel will pull in libRmath
|
|
|
|
Requires: libRmath-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a metapackage that provides both core R userspace and
|
|
|
|
all R development components.
|
|
|
|
|
|
|
|
R is a language and environment for statistical computing and graphics.
|
|
|
|
R is similar to the award-winning S system, which was developed at
|
|
|
|
Bell Laboratories by John Chambers et al. It provides a wide
|
|
|
|
variety of statistical and graphical techniques (linear and
|
|
|
|
nonlinear modelling, statistical tests, time series analysis,
|
|
|
|
classification, clustering, ...).
|
|
|
|
|
|
|
|
R is designed as a true computer language with control-flow
|
|
|
|
constructions for iteration and alternation, and it allows users to
|
|
|
|
add additional functionality by defining new functions. For
|
|
|
|
computationally intensive tasks, C, C++ and Fortran code can be linked
|
|
|
|
and called at run time.
|
|
|
|
|
|
|
|
%package core
|
|
|
|
Summary: The minimal R components necessary for a functional runtime
|
|
|
|
Group: Applications/Engineering
|
2007-10-29 15:51:14 +00:00
|
|
|
Requires: xdg-utils, cups
|
2005-04-15 00:46:08 +00:00
|
|
|
|
2008-10-26 19:59:58 +00:00
|
|
|
# These are the submodules that R-core provides. Sometimes R modules say they
|
|
|
|
# depend on one of these submodules rather than just R. These are provided for
|
|
|
|
# packager convenience.
|
2005-04-15 00:46:08 +00:00
|
|
|
Provides: R-base = %{version}
|
2005-07-04 15:36:24 +00:00
|
|
|
Provides: R-boot = 1.2
|
2008-02-08 19:27:58 +00:00
|
|
|
Provides: R-class = 7.2
|
2008-07-07 20:56:13 +00:00
|
|
|
Provides: R-cluster = 1.11.11
|
2008-04-29 20:09:52 +00:00
|
|
|
Provides: R-codetools = 0.2
|
2005-04-15 00:46:08 +00:00
|
|
|
Provides: R-datasets = %{version}
|
2005-07-04 15:36:24 +00:00
|
|
|
Provides: R-foreign = 0.8
|
2005-04-15 00:46:08 +00:00
|
|
|
Provides: R-graphics = %{version}
|
|
|
|
Provides: R-grDevices = %{version}
|
|
|
|
Provides: R-grid = %{version}
|
2005-07-04 15:36:24 +00:00
|
|
|
Provides: R-KernSmooth = 2.22
|
2007-11-26 21:10:35 +00:00
|
|
|
Provides: R-lattice = 0.17
|
2008-02-08 19:27:58 +00:00
|
|
|
Provides: R-MASS = 7.2
|
2005-04-15 00:46:08 +00:00
|
|
|
Provides: R-methods = %{version}
|
2008-07-07 20:56:13 +00:00
|
|
|
Provides: R-mgcv = 1.4
|
2005-07-04 15:36:24 +00:00
|
|
|
Provides: R-nlme = 3.1
|
2008-02-08 19:27:58 +00:00
|
|
|
Provides: R-nnet = 7.2
|
2005-07-04 15:36:24 +00:00
|
|
|
Provides: R-rpart = 3.1
|
2008-02-08 19:27:58 +00:00
|
|
|
Provides: R-spatial = 7.2
|
2005-04-15 00:46:08 +00:00
|
|
|
Provides: R-splines = %{version}
|
|
|
|
Provides: R-stats = %{version}
|
|
|
|
Provides: R-stats4 = %{version}
|
2007-11-26 21:10:35 +00:00
|
|
|
Provides: R-survival = 2.34
|
2005-04-15 00:46:08 +00:00
|
|
|
Provides: R-tcltk = %{version}
|
|
|
|
Provides: R-tools = %{version}
|
|
|
|
Provides: R-utils = %{version}
|
2005-07-04 15:36:24 +00:00
|
|
|
Provides: R-VR = 7.2
|
2005-04-15 00:46:08 +00:00
|
|
|
|
2008-10-26 19:59:58 +00:00
|
|
|
%description core
|
|
|
|
A language and environment for statistical computing and graphics.
|
|
|
|
R is similar to the award-winning S system, which was developed at
|
|
|
|
Bell Laboratories by John Chambers et al. It provides a wide
|
2005-04-15 00:46:08 +00:00
|
|
|
variety of statistical and graphical techniques (linear and
|
|
|
|
nonlinear modelling, statistical tests, time series analysis,
|
|
|
|
classification, clustering, ...).
|
|
|
|
|
|
|
|
R is designed as a true computer language with control-flow
|
|
|
|
constructions for iteration and alternation, and it allows users to
|
|
|
|
add additional functionality by defining new functions. For
|
|
|
|
computationally intensive tasks, C, C++ and Fortran code can be linked
|
|
|
|
and called at run time.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: files for development of R packages.
|
|
|
|
Group: Applications/Engineering
|
2008-10-26 19:59:58 +00:00
|
|
|
Requires: R-core = %{version}-%{release}
|
2005-04-15 00:46:08 +00:00
|
|
|
# You need all the BuildRequires for the development version
|
|
|
|
Requires: gcc-c++, gcc-gfortran, tetex-latex, texinfo
|
2007-03-17 15:54:35 +00:00
|
|
|
Requires: libpng-devel, libjpeg-devel, readline-devel, ncurses-devel
|
2006-01-09 19:26:31 +00:00
|
|
|
Requires: libSM-devel, libX11-devel, libICE-devel, libXt-devel
|
2008-10-26 20:15:26 +00:00
|
|
|
Requires: bzip2-devel, libXmu-devel, cairo-devel, libtiff-devel
|
2007-04-25 21:32:24 +00:00
|
|
|
Requires: tcl-devel, tk-devel, pkgconfig
|
2005-04-15 00:46:08 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Install R-devel if you are going to develop or compile R packages.
|
|
|
|
|
|
|
|
%package -n libRmath
|
|
|
|
Summary: standalone math library from the R project
|
|
|
|
Group: Development/Libraries
|
2005-04-15 15:48:03 +00:00
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
%description -n libRmath
|
|
|
|
A standalone library of mathematical and statistical functions derived
|
|
|
|
from the R project. This packages provides the shared libRmath library.
|
|
|
|
|
|
|
|
%package -n libRmath-devel
|
|
|
|
Summary: standalone math library from the R project
|
|
|
|
Group: Development/Libraries
|
2009-01-05 15:11:51 +00:00
|
|
|
Requires: libRmath = %{version}-%{release}, pkgconfig
|
2005-04-15 15:48:03 +00:00
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
%description -n libRmath-devel
|
|
|
|
A standalone library of mathematical and statistical functions derived
|
|
|
|
from the R project. This packages provides the static libRmath library
|
|
|
|
and header files.
|
|
|
|
|
|
|
|
%prep
|
2006-11-04 06:16:12 +00:00
|
|
|
%setup -q
|
2008-10-16 20:45:20 +00:00
|
|
|
%patch1 -p1 -b .filter-little-out
|
2005-04-15 00:46:08 +00:00
|
|
|
|
2007-10-29 15:51:14 +00:00
|
|
|
# Filter false positive provides.
|
|
|
|
cat <<EOF > %{name}-prov
|
|
|
|
#!/bin/sh
|
|
|
|
%{__perl_provides} \
|
|
|
|
| grep -v 'File::Copy::Recursive' | grep -v 'Text::DelimMatch'
|
|
|
|
EOF
|
|
|
|
%define __perl_provides %{_builddir}/R-%{version}/%{name}-prov
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
2007-10-30 13:29:02 +00:00
|
|
|
# Filter unwanted Requires:
|
|
|
|
cat << \EOF > %{name}-req
|
|
|
|
#!/bin/sh
|
|
|
|
%{__perl_requires} \
|
|
|
|
| grep -v 'perl(Text::DelimMatch)'
|
|
|
|
EOF
|
|
|
|
%define __perl_requires %{_builddir}/R-%{version}/%{name}-req
|
|
|
|
chmod +x %{__perl_requires}
|
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
%build
|
2007-03-17 15:54:35 +00:00
|
|
|
# Add PATHS to Renviron for R_LIBS
|
|
|
|
echo 'R_LIBS=${R_LIBS-'"'%{_libdir}/R/library:%{_datadir}/R/library'"'}' >> etc/Renviron.in
|
|
|
|
|
2007-10-29 15:51:14 +00:00
|
|
|
export R_PDFVIEWER="%{_bindir}/xdg-open"
|
2005-04-15 00:46:08 +00:00
|
|
|
export R_PRINTCMD="lpr"
|
2007-10-29 15:51:14 +00:00
|
|
|
export R_BROWSER="%{_bindir}/xdg-open"
|
2008-01-31 19:48:25 +00:00
|
|
|
|
2008-02-08 19:27:58 +00:00
|
|
|
case "%{_target_cpu}" in
|
2008-01-31 19:48:25 +00:00
|
|
|
x86_64|mips64|ppc64|powerpc64|sparc64|s390x)
|
|
|
|
export CC="gcc -m64"
|
|
|
|
export CXX="g++ -m64"
|
|
|
|
export F77="gfortran -m64"
|
|
|
|
export FC="gfortran -m64"
|
|
|
|
;;
|
2008-10-16 20:45:20 +00:00
|
|
|
ia64|alpha|sh*)
|
2008-05-13 16:55:43 +00:00
|
|
|
export CC="gcc"
|
|
|
|
export CXX="g++"
|
|
|
|
export F77="gfortran"
|
|
|
|
export FC="gfortran"
|
|
|
|
;;
|
2008-01-31 19:48:25 +00:00
|
|
|
*)
|
|
|
|
export CC="gcc -m32"
|
|
|
|
export CXX="g++ -m32"
|
|
|
|
export F77="gfortran -m32"
|
|
|
|
export FC="gfortran -m32"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
export FCFLAGS="%{optflags}"
|
2005-04-15 00:46:08 +00:00
|
|
|
( %configure \
|
2005-10-06 14:22:12 +00:00
|
|
|
--with-system-zlib --with-system-bzlib --with-system-pcre \
|
2005-10-07 05:47:00 +00:00
|
|
|
--with-lapack \
|
2005-04-15 00:46:08 +00:00
|
|
|
--with-tcl-config=%{_libdir}/tclConfig.sh \
|
|
|
|
--with-tk-config=%{_libdir}/tkConfig.sh \
|
2008-01-03 15:00:01 +00:00
|
|
|
--enable-R-shlib \
|
|
|
|
rdocdir=%{_docdir}/R-%{version} \
|
|
|
|
rincludedir=%{_includedir}/R \
|
|
|
|
rsharedir=%{_datadir}/R) \
|
2006-11-04 06:16:12 +00:00
|
|
|
| grep -A30 'R is now' - > CAPABILITIES
|
2005-04-15 00:46:08 +00:00
|
|
|
make
|
|
|
|
(cd src/nmath/standalone; make)
|
|
|
|
#make check-all
|
|
|
|
make pdf
|
|
|
|
make info
|
|
|
|
|
|
|
|
%install
|
2008-01-03 15:00:01 +00:00
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install install-info install-pdf
|
2005-04-15 00:46:08 +00:00
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir.old
|
2008-01-03 15:00:01 +00:00
|
|
|
install -p CAPABILITIES ${RPM_BUILD_ROOT}%{_docdir}/R-%{version}
|
2005-04-15 00:46:08 +00:00
|
|
|
|
|
|
|
#Install libRmath files
|
2008-01-03 15:00:01 +00:00
|
|
|
(cd src/nmath/standalone; make install DESTDIR=${RPM_BUILD_ROOT})
|
2005-04-15 00:46:08 +00:00
|
|
|
|
2005-04-25 00:18:46 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
|
|
|
echo "%{_libdir}/R/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
|
|
|
2007-03-17 15:54:35 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library
|
|
|
|
|
2007-07-06 22:07:47 +00:00
|
|
|
# Install rpm helper macros
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
|
|
|
|
install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
|
|
|
|
|
|
|
|
# Install rpm helper script
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/
|
|
|
|
install -m0755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/rpm/
|
|
|
|
|
2007-10-29 16:42:30 +00:00
|
|
|
# Fix multilib
|
2008-01-03 15:00:01 +00:00
|
|
|
touch -r NEWS ${RPM_BUILD_ROOT}%{_docdir}/R-%{version}/CAPABILITIES
|
2007-10-29 16:42:30 +00:00
|
|
|
touch -r NEWS doc/manual/*.pdf
|
2007-10-29 16:48:07 +00:00
|
|
|
touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/R
|
2007-10-29 16:42:30 +00:00
|
|
|
|
2008-05-21 15:31:07 +00:00
|
|
|
# Fix html/packages.html
|
|
|
|
# We can safely use RHOME here, because all of these are system packages.
|
2008-05-21 19:26:30 +00:00
|
|
|
sed -i 's|\..\/\..|%{_libdir}/R|g' $RPM_BUILD_ROOT%{_docdir}/R-%{version}/html/packages.html
|
|
|
|
|
|
|
|
for i in $RPM_BUILD_ROOT%{_libdir}/R/library/*/html/*.html; do
|
|
|
|
sed -i 's|\..\/\..\/..\/doc|%{_docdir}/R-%{version}|g' $i
|
|
|
|
done
|
2008-05-21 15:31:07 +00:00
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
%files
|
2008-10-26 19:59:58 +00:00
|
|
|
# Metapackage
|
|
|
|
|
|
|
|
%files core
|
|
|
|
%defattr(-, root, root, -)
|
2005-04-15 00:46:08 +00:00
|
|
|
%{_bindir}/R
|
2007-04-25 21:32:24 +00:00
|
|
|
%{_bindir}/Rscript
|
2007-03-17 15:54:35 +00:00
|
|
|
%{_datadir}/R
|
2008-01-03 15:00:01 +00:00
|
|
|
%dir %{_libdir}/R
|
2008-01-07 15:25:50 +00:00
|
|
|
%{_libdir}/R/bin
|
2008-01-03 15:00:01 +00:00
|
|
|
%{_libdir}/R/etc
|
|
|
|
%{_libdir}/R/lib
|
|
|
|
%{_libdir}/R/library
|
|
|
|
%{_libdir}/R/modules
|
|
|
|
%{_libdir}/R/COPYING
|
|
|
|
%{_libdir}/R/NEWS
|
|
|
|
%{_libdir}/R/SVN-REVISION
|
2007-07-06 22:07:47 +00:00
|
|
|
/usr/lib/rpm/R-make-search-index.sh
|
2005-04-15 00:46:08 +00:00
|
|
|
%{_infodir}/R-*.info*
|
2007-07-06 22:07:47 +00:00
|
|
|
%{_sysconfdir}/rpm/macros.R
|
2005-04-15 00:46:08 +00:00
|
|
|
%{_mandir}/man1/*
|
2008-01-03 15:00:01 +00:00
|
|
|
%{_docdir}/R-%{version}
|
|
|
|
%docdir %{_docdir}/R-%{version}
|
2005-04-25 00:18:46 +00:00
|
|
|
/etc/ld.so.conf.d/*
|
2005-04-15 00:46:08 +00:00
|
|
|
|
|
|
|
%files devel
|
2008-10-26 19:59:58 +00:00
|
|
|
%defattr(-, root, root, -)
|
2007-04-25 21:32:24 +00:00
|
|
|
%{_libdir}/pkgconfig/libR.pc
|
2008-01-03 15:00:01 +00:00
|
|
|
%{_includedir}/R
|
2005-04-15 00:46:08 +00:00
|
|
|
|
|
|
|
%files -n libRmath
|
2008-10-26 19:59:58 +00:00
|
|
|
%defattr(-, root, root, -)
|
2005-04-15 00:46:08 +00:00
|
|
|
%{_libdir}/libRmath.so
|
|
|
|
|
|
|
|
%files -n libRmath-devel
|
2008-10-26 19:59:58 +00:00
|
|
|
%defattr(-, root, root, -)
|
2005-04-15 00:46:08 +00:00
|
|
|
%{_libdir}/libRmath.a
|
|
|
|
%{_includedir}/Rmath.h
|
2007-04-25 21:32:24 +00:00
|
|
|
%{_libdir}/pkgconfig/libRmath.pc
|
2005-04-15 00:46:08 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT};
|
|
|
|
|
2008-10-26 19:59:58 +00:00
|
|
|
%post core
|
2005-04-15 00:46:08 +00:00
|
|
|
# Create directory entries for info files
|
|
|
|
# (optional doc files, so we must check that they are installed)
|
|
|
|
for doc in admin exts FAQ intro lang; do
|
|
|
|
file=%{_infodir}/R-${doc}.info.gz
|
|
|
|
if [ -e $file ]; then
|
2006-12-20 00:47:34 +00:00
|
|
|
/sbin/install-info ${file} %{_infodir}/dir 2>/dev/null || :
|
2005-04-15 00:46:08 +00:00
|
|
|
fi
|
|
|
|
done
|
2005-04-25 00:18:46 +00:00
|
|
|
/sbin/ldconfig
|
2008-12-22 16:27:50 +00:00
|
|
|
R CMD javareconf \
|
|
|
|
JAR=%{jar} \
|
|
|
|
JAVA=%{java} \
|
|
|
|
JAVAC=%{javac} \
|
|
|
|
JAVA_HOME=%{java_home}/jre \
|
|
|
|
JAVAH=%{java_home}/bin/javah \
|
|
|
|
JAVA_CPPFLAGS='-I%{java_home}/include\ -I%{java_home}/include/linux' \
|
|
|
|
JAVA_LIBS='-L%{java_home}/jre/lib/%{java_arch}/server \
|
|
|
|
-L%{java_home}/jre/lib/%{java_arch}\ -L%{java_home}/lib/%{java_arch} \
|
|
|
|
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
|
|
|
|
JAVA_LD_LIBRARY_PATH=%{java_home}/jre/lib/%{java_arch}/server:%{java_home}/jre/lib/%{java_arch}:%{java_home}/lib/%{java_arch}:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
|
|
|
|
> /dev/null 2>&1 || exit 0
|
2005-04-15 00:46:08 +00:00
|
|
|
|
|
|
|
# Update package indices
|
2008-01-31 19:48:25 +00:00
|
|
|
%__cat %{_libdir}/R/library/*/CONTENTS > %{_docdir}/R-%{version}/html/search/index.txt 2>/dev/null
|
2008-04-29 20:09:52 +00:00
|
|
|
# Don't use .. based paths, substitute RHOME
|
|
|
|
sed -i "s!../../..!%{_libdir}/R!g" %{_docdir}/R-%{version}/html/search/index.txt
|
2008-01-31 19:48:25 +00:00
|
|
|
|
2007-07-06 22:07:47 +00:00
|
|
|
# This could fail if there are no noarch R libraries on the system.
|
2008-01-31 19:48:25 +00:00
|
|
|
%__cat %{_datadir}/R/library/*/CONTENTS >> %{_docdir}/R-%{version}/html/search/index.txt 2>/dev/null || exit 0
|
2008-04-29 20:09:52 +00:00
|
|
|
# Don't use .. based paths, substitute /usr/share/R
|
|
|
|
sed -i "s!../../..!/usr/share/R!g" %{_docdir}/R-%{version}/html/search/index.txt
|
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
|
2008-10-26 19:59:58 +00:00
|
|
|
%preun core
|
2005-04-15 00:46:08 +00:00
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
# Delete directory entries for info files (if they were installed)
|
|
|
|
for doc in admin exts FAQ intro lang; do
|
|
|
|
file=%{_infodir}/R-${doc}.info.gz
|
|
|
|
if [ -e ${file} ]; then
|
2006-12-20 00:47:34 +00:00
|
|
|
/sbin/install-info --delete R-${doc} %{_infodir}/dir 2>/dev/null || :
|
2005-04-15 00:46:08 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
2008-10-26 19:59:58 +00:00
|
|
|
%postun core
|
2005-04-25 00:18:46 +00:00
|
|
|
/sbin/ldconfig
|
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
%post -n libRmath
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libRmath
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%changelog
|
2009-02-23 22:44:31 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-05 15:11:51 +00:00
|
|
|
* Mon Jan 5 2009 Tom "spot" Callaway <tcallawa@redhat.com> 2.8.1-2
|
|
|
|
- add pango-devel to BuildRequires (thanks to Martyn Plummer and Peter Dalgaard)
|
|
|
|
- fix libRmath requires to need V-R (thanks to Martyn Plummer)
|
|
|
|
|
2008-12-22 16:27:50 +00:00
|
|
|
* Mon Dec 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.8.1-1
|
|
|
|
- update javareconf call in %%post (bz 477076)
|
|
|
|
- 2.8.1
|
|
|
|
|
2008-10-26 20:15:26 +00:00
|
|
|
* Sun Oct 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.8.0-2
|
|
|
|
- enable libtiff interface
|
|
|
|
|
2008-10-26 19:59:58 +00:00
|
|
|
* Sun Oct 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.8.0-1
|
|
|
|
- Update to 2.8.0
|
|
|
|
- New subpackage layout: R-core is functional userspace, R is metapackage
|
|
|
|
requiring everything
|
|
|
|
- Fix system bzip2 detection
|
|
|
|
|
2008-10-16 20:45:20 +00:00
|
|
|
* Thu Oct 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.2-2
|
|
|
|
- fix sh compile (bz 464055)
|
|
|
|
|
2008-08-29 15:53:54 +00:00
|
|
|
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.2-1
|
|
|
|
- update to 2.7.2
|
|
|
|
- fix spec for alpha compile (bz 458931)
|
|
|
|
- fix security issue in javareconf script (bz 460658)
|
|
|
|
|
2008-07-07 20:56:13 +00:00
|
|
|
* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.1-1
|
|
|
|
- update to 2.7.1
|
|
|
|
|
2008-05-28 21:07:13 +00:00
|
|
|
* Wed May 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-5
|
|
|
|
- add cairo-devel to BR/R, so that cairo backend gets built
|
|
|
|
|
2008-05-21 19:26:30 +00:00
|
|
|
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-4
|
|
|
|
- fixup sed invocation added in -3
|
|
|
|
- make -devel package depend on base R = version-release
|
|
|
|
- fix bad paths in package html files
|
|
|
|
|
2008-05-21 15:31:07 +00:00
|
|
|
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-3
|
|
|
|
- fix poorly constructed file paths in html/packages.html (bz 442727)
|
|
|
|
|
2008-05-13 16:55:43 +00:00
|
|
|
* Tue May 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-2
|
|
|
|
- add patch from Martyn Plummer to avoid possible bad path hardcoding in
|
|
|
|
/usr/bin/Rscript
|
|
|
|
- properly handle ia64 case (bz 446181)
|
|
|
|
|
2008-04-29 20:09:52 +00:00
|
|
|
* Mon Apr 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-1
|
|
|
|
- update to 2.70
|
|
|
|
- rcompgen is no longer a standalone package
|
|
|
|
- redirect javareconf to /dev/null (bz 442366)
|
|
|
|
|
2008-02-08 19:27:58 +00:00
|
|
|
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.2-1
|
|
|
|
- properly version the items in the VR bundle
|
|
|
|
- 2.6.2
|
|
|
|
- don't use setarch for java setup
|
|
|
|
- fix R post script file
|
|
|
|
|
2008-01-31 19:48:25 +00:00
|
|
|
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.1-4
|
|
|
|
- multilib handling (thanks Martyn Plummer)
|
|
|
|
- Update indices in the right place.
|
|
|
|
|
2008-01-07 15:25:50 +00:00
|
|
|
* Mon Jan 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.1-3
|
|
|
|
- move INSTALL back into R main package, as it is useful without the
|
|
|
|
other -devel bits (e.g. installing noarch package from CRAN)
|
|
|
|
|
2008-01-03 15:00:01 +00:00
|
|
|
* Tue Dec 11 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.1-2
|
|
|
|
- based on changes from Martyn Plummer <martyn.plummer@r-project.org>
|
|
|
|
- use configure options rdocdir, rincludedir, rsharedir
|
|
|
|
- use DESTDIR at installation
|
|
|
|
- remove obsolete generation of packages.html
|
|
|
|
- move header files and INSTALL R-devel package
|
|
|
|
|
2007-11-26 21:10:35 +00:00
|
|
|
* Mon Nov 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.1-1
|
|
|
|
- bump to 2.6.1
|
|
|
|
|
2007-10-30 13:29:02 +00:00
|
|
|
* Tue Oct 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.0-3.1
|
|
|
|
- fix missing perl requires
|
|
|
|
|
2007-10-29 16:42:30 +00:00
|
|
|
* Mon Oct 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.0-3
|
|
|
|
- fix multilib conflicts (bz 343061)
|
|
|
|
|
2007-10-29 15:51:14 +00:00
|
|
|
* Mon Oct 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.0-2
|
|
|
|
- add R CMD javareconf to post (bz 354541)
|
|
|
|
- don't pickup bogus perl provides (bz 356071)
|
|
|
|
- use xdg-open, drop requires for firefox/evince (bz 351841)
|
|
|
|
|
2007-10-04 19:43:37 +00:00
|
|
|
* Thu Oct 4 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.0-1
|
|
|
|
- bump to 2.6.0
|
|
|
|
|
2007-08-26 22:51:42 +00:00
|
|
|
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.5.1-3
|
|
|
|
- fix license tag
|
|
|
|
- rebuild for ppc32
|
|
|
|
|
2007-07-06 22:07:47 +00:00
|
|
|
* Thu Jul 5 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.5.1-2
|
|
|
|
- add rpm helper macros, script
|
|
|
|
|
2007-07-03 02:05:07 +00:00
|
|
|
* Mon Jul 2 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.5.1-1
|
|
|
|
- drop patch, upstream fixed
|
|
|
|
- bump to 2.5.1
|
|
|
|
|
2007-04-30 12:48:57 +00:00
|
|
|
* Mon Apr 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.5.0-2
|
|
|
|
- patch from Martyn Plummer fixes .pc files
|
|
|
|
- add new BR: gcc-objc
|
|
|
|
|
2007-04-25 21:32:24 +00:00
|
|
|
* Wed Apr 25 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.5.0-1
|
|
|
|
- bump to 2.5.0
|
|
|
|
|
2007-03-17 15:54:35 +00:00
|
|
|
* Tue Mar 13 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.4.1-4
|
|
|
|
- get rid of termcap related requires, replace with ncurses
|
|
|
|
- use java-1.5.0-gcj instead of old java-1.4.2
|
|
|
|
- add /usr/share/R/library as a valid R_LIBS directory for noarch bits
|
|
|
|
|
2007-02-25 20:00:07 +00:00
|
|
|
* Sun Feb 25 2007 Jef Spaleta <jspaleta@gmail.com> 2.4.1-3
|
|
|
|
- rebuild for reverted tcl/tk
|
|
|
|
|
2007-02-02 18:27:29 +00:00
|
|
|
* Fri Feb 2 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.4.1-2
|
|
|
|
- rebuild for new tcl/tk
|
|
|
|
|
2006-12-20 00:47:34 +00:00
|
|
|
* Tue Dec 19 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.4.1-1
|
|
|
|
- bump to 2.4.1
|
|
|
|
- fix install-info invocations in post/preun (bz 219407)
|
|
|
|
|
2006-11-04 06:16:12 +00:00
|
|
|
* Fri Nov 3 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.4.0-2
|
|
|
|
- sync with patched 2006-11-03 level to fix PR#9339
|
|
|
|
|
2006-10-16 21:09:27 +00:00
|
|
|
* Sun Oct 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.4.0-1
|
|
|
|
- bump for 2.4.0
|
|
|
|
|
2006-09-13 21:45:09 +00:00
|
|
|
* Wed Sep 12 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.1-2
|
|
|
|
- bump for FC-6
|
|
|
|
|
2006-06-03 22:47:02 +00:00
|
|
|
* Fri Jun 2 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.1-1
|
|
|
|
- bump to 2.3.1
|
|
|
|
|
2006-04-25 05:18:29 +00:00
|
|
|
* Tue Apr 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.0-2
|
|
|
|
- fix ppc build for FC-4 (artificial bump for everyone else)
|
|
|
|
|
2006-04-25 01:32:14 +00:00
|
|
|
* Mon Apr 24 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.0-1
|
|
|
|
- bump to 2.3.0 (also, bump module revisions)
|
|
|
|
|
2006-04-06 22:04:55 +00:00
|
|
|
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.1-5
|
|
|
|
- now BR is texinfo-tex, not texinfo in rawhide
|
|
|
|
|
2006-02-28 23:59:43 +00:00
|
|
|
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.1-4
|
|
|
|
- bump for FC-5
|
|
|
|
|
2006-01-09 19:26:31 +00:00
|
|
|
* Mon Jan 9 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.1-3
|
|
|
|
- fix BR: XFree86-devel for FC-5
|
|
|
|
|
2005-12-31 21:29:52 +00:00
|
|
|
* Sat Dec 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.1-2
|
|
|
|
- missing BR: libXt-devel for FC-5
|
|
|
|
|
2005-12-31 20:27:49 +00:00
|
|
|
* Tue Dec 20 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.1-1
|
|
|
|
- bump to 2.2.1
|
|
|
|
|
2005-10-07 05:47:00 +00:00
|
|
|
* Thu Oct 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.0-2
|
|
|
|
- use fixed system lapack for FC-4 and devel
|
|
|
|
|
2005-10-06 14:22:12 +00:00
|
|
|
* Thu Oct 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.0-1
|
|
|
|
- bump to 2.2.0
|
|
|
|
|
2005-07-04 15:36:24 +00:00
|
|
|
* Mon Jul 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.1.1-2
|
|
|
|
- fix version numbers on supplemental package provides
|
|
|
|
|
2005-06-20 14:13:21 +00:00
|
|
|
* Mon Jun 20 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.1.1-1
|
|
|
|
- bugfix update
|
|
|
|
|
2005-04-25 00:18:46 +00:00
|
|
|
* Mon Apr 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.1.0-51
|
|
|
|
- proper library handling
|
|
|
|
|
2005-04-18 15:06:32 +00:00
|
|
|
* Mon Apr 18 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.1.0-50
|
|
|
|
- 2.1.0, fc4 version.
|
|
|
|
- The GNOME GUI is unbundled, now provided as a package on CRAN
|
|
|
|
|
2005-04-15 15:48:03 +00:00
|
|
|
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-50
|
|
|
|
- big bump. This is the fc4 package, the fc3 package is 2.0.1-11
|
|
|
|
- enable gnome gui, add requires as needed
|
|
|
|
|
2005-04-15 00:46:08 +00:00
|
|
|
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-10
|
|
|
|
- bump for cvs errors
|
|
|
|
|
|
|
|
* Mon Apr 11 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-9
|
|
|
|
- fix URL for Source0
|
|
|
|
|
|
|
|
* Mon Apr 11 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-8
|
|
|
|
- spec file cleanup
|
|
|
|
|
|
|
|
* Fri Apr 1 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-7
|
|
|
|
- use evince instead of ggv
|
|
|
|
- make custom provides for R subfunctions
|
|
|
|
|
|
|
|
* Wed Mar 30 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-6
|
|
|
|
- configure now calls --enable-R-shlib
|
|
|
|
|
|
|
|
* Thu Mar 24 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-5
|
|
|
|
- cleaned up package for Fedora Extras
|
|
|
|
|
|
|
|
* Mon Feb 28 2005 Martyn Plummer <plummer@iarc.fr> 0:2.0.1-0.fdr.4
|
|
|
|
- Fixed file ownership in R-devel and libRmath packages
|
|
|
|
|
|
|
|
* Wed Feb 16 2005 Martyn Plummer <plummer@iarc.fr> 0:2.0.1-0.fdr.3
|
|
|
|
- R-devel package is now a stub package with no files, except a documentation
|
|
|
|
file (RPM won't accept sub-packages with no files). R now conflicts
|
|
|
|
with earlier (i.e 0:2.0.1-0.fdr.2) versions of R-devel.
|
|
|
|
- Created libRmath subpackage with shared library.
|
|
|
|
|
|
|
|
* Mon Jan 31 2005 Martyn Plummer <plummer@iarc.fr> 0:2.0.1-0.fdr.2
|
|
|
|
- Created R-devel and libRmath-devel subpackages
|
|
|
|
|
|
|
|
* Mon Nov 15 2004 Martyn Plummer <plummer@iarc.fr> 0:2.0.1-0.fdr.1
|
|
|
|
- Built R 2.0.1
|
|
|
|
|
|
|
|
* Wed Nov 10 2004 Martyn Plummer <plummer@iarc.fr> 0:2.0.0-0.fdr.3
|
|
|
|
- Set R_PRINTCMD at configure times so that by default getOption(printcmd)
|
|
|
|
gives "lpr".
|
|
|
|
- Define macro fcx for all Fedora distributions. This replaces Rinfo
|
|
|
|
|
|
|
|
* Tue Oct 12 2004 Martyn Plummer <plummer@iarc.fr> 0:2.0.0-0.fdr.2
|
|
|
|
- Info support is now conditional on the macro Rinfo, which is only
|
|
|
|
defined for Fedora 1 and 2.
|
|
|
|
|
|
|
|
* Thu Oct 7 2004 Martyn Plummer <plummer@iarc.fr> 0:2.0.0-0.fdr.1
|
|
|
|
- Built R 2.0.0
|
|
|
|
- There is no longer a BUGS file, so this is not installed as a
|
|
|
|
documentation file.
|
|
|
|
|
|
|
|
* Mon Aug 9 2004 Martyn Plummer <plummer@iarc.fr> 0:1.9.1-0.fdr.4
|
|
|
|
- Added gcc-g++ to the list of BuildRequires for all platforms.
|
|
|
|
Although a C++ compiler is not necessary to build R, it must
|
|
|
|
be present at configure time or R will not be correctly configured
|
|
|
|
to build packages containing C++ code.
|
|
|
|
|
|
|
|
* Thu Jul 1 2004 Martyn Plummer <plummer@iarc.fr> 0:1.9.1-0.fdr.3
|
|
|
|
- Modified BuildRequires so we can support older Red Hat versions without
|
|
|
|
defining any macros.
|
|
|
|
|
|
|
|
* Mon Jun 23 2004 Martyn Plummer <plummner@iarc.fr> 0:1.9.1-0.fdr.2
|
|
|
|
- Added libtermcap-devel as BuildRequires for RH 8.0 and 9. Without
|
|
|
|
this we get no readline support.
|
|
|
|
|
|
|
|
* Mon Jun 21 2004 Martyn Plummer <plummner@iarc.fr> 0:1.9.1-0.fdr.1
|
|
|
|
- Build R 1.9.1
|
|
|
|
- Removed Xorg patch since fix is now in R sources
|
|
|
|
|
|
|
|
* Mon Jun 14 2004 Martyn Plummer <plummer@iarc.fr> 0:1.9.0-0.fdr.4
|
|
|
|
- Added XFree86-devel as conditional BuildRequires for rh9, rh80
|
|
|
|
|
|
|
|
* Wed Jun 08 2004 Martyn Plummer <plummer@iarc.fr> 0:1.9.0-0.fdr.3
|
|
|
|
- Corrected names for fc1/fc2/el3 when using conditional BuildRequires
|
|
|
|
- Configure searches for C++ preprocessor and fails if we don't have
|
|
|
|
gcc-c++ installed. Added to BuildRequires for FC2.
|
|
|
|
|
|
|
|
* Tue Jun 08 2004 Martyn Plummer <plummer@iarc.fr> 0:1.9.0-0.fdr.2
|
|
|
|
- Added patch to overcome problems with X.org headers (backported
|
|
|
|
from R 1.9.1; patch supplied by Graeme Ambler)
|
|
|
|
- Changed permissions of source files to 644 to please rpmlint
|
|
|
|
|
|
|
|
* Tue May 03 2004 Martyn Plummer <plummer@iarc.fr> 0:1.9.0-0.fdr.1
|
|
|
|
- R.spec file now has mode 644. Previously it was unreadable by other
|
|
|
|
users and this was causing a crash building under mach.
|
|
|
|
- Changed version number to conform to Fedora conventions.
|
|
|
|
- Removed Provides: and Obsoletes: R-base, R-recommended, which are
|
|
|
|
now several years old. Nobody should have a copy of R-base on a
|
|
|
|
supported platform.
|
|
|
|
- Changed buildroot to Fedora standard
|
|
|
|
- Added Requires(post,preun): info
|
|
|
|
- Redirect output from postinstall/uninstall scripts to /dev/null
|
|
|
|
- Added BuildRequires tags necessary to install R with full
|
|
|
|
capabilities on a clean mach buildroot. Conditional buildrequires
|
|
|
|
for tcl-devel and tk-devel which were not present on RH9 or earlier.
|
|
|
|
|
|
|
|
* Thu Apr 01 2004 Martyn Plummer <plummer@iarc.fr>
|
|
|
|
- Added patch to set environment variable LANG to C in shell wrapper,
|
|
|
|
avoiding warnings about UTF-8 locale not being supported
|
|
|
|
|
|
|
|
* Mon Mar 15 2004 Martyn Plummer <plummer@iarc.fr>
|
|
|
|
- No need to export optimization flags. This is done by %configure
|
|
|
|
- Folded info installation into %makeinstall
|
|
|
|
- Check that RPM_BASE_ROOT is not set to "/" before cleaning up
|
|
|
|
|
|
|
|
* Thu Feb 03 2004 Martyn Plummer <plummer@iarc.fr>
|
|
|
|
- Removed tcl-devel from BuildRequires
|
|
|
|
|
|
|
|
* Tue Feb 03 2004 Martyn Plummer <plummer@iarc.fr>
|
|
|
|
- Changes from James Henstridge <james@daa.com.au> to allow building on IA64:
|
|
|
|
- Added BuildRequires for tcl-devel tk-devel tetex-latex
|
|
|
|
- Use the %configure macro to call the configure script
|
|
|
|
- Pass --with-tcl-config and --with-tk-config arguments to configure
|
|
|
|
- Set rhome to point to the build root during "make install"
|
|
|
|
|
|
|
|
* Wed Jan 07 2004 Martyn Plummer <plummer@iarc.fr>
|
|
|
|
- Changed obsolete "copyright" field to "license"
|
|
|
|
|
|
|
|
* Fri Nov 21 2003 Martyn Plummer <plummer@iarc.fr>
|
|
|
|
- Built 1.8.1
|