R/R.spec

1626 lines
55 KiB
RPMSpec
Raw Normal View History

2008-12-22 16:27:50 +00:00
%ifarch x86_64
2016-01-26 18:45:09 +00:00
%global java_arch amd64
2008-12-22 16:27:50 +00:00
%else
2016-01-26 18:45:09 +00:00
%global java_arch %{_arch}
2008-12-22 16:27:50 +00:00
%endif
2013-04-05 21:05:26 +00:00
# Assume not modern. Override if needed.
%global modern 0
2013-04-05 21:05:26 +00:00
# Track if we're hardening (all current fedora and RHEL 7+)
%global hardening 0
2014-04-30 01:31:43 +00:00
%global with_lto 0
%global with_java_headless 0
%global system_tre 0
# We need to use system tre on F21+/RHEL7
%if 0%{?fedora} >= 21
%global system_tre 1
2014-04-30 01:31:43 +00:00
%global with_java_headless 1
%endif
2014-07-15 20:42:38 +00:00
# Using lto breaks debuginfo.
# %%if 0%%{?fedora} >= 19
2014-07-15 20:42:38 +00:00
# %%global with_lto 1
# %%endif
%if 0%{?rhel} >= 7
%global system_tre 1
2014-07-15 20:42:38 +00:00
# %%global with_lto 1
2014-04-30 01:31:43 +00:00
%global with_java_headless 1
%global hardening 1
%endif
2013-04-05 21:05:26 +00:00
%if 0%{?fedora}
%global modern 1
%global hardening 1
2013-04-05 21:05:26 +00:00
%endif
%if 0%{?rhel} >= 6
%global modern 1
2013-04-05 21:05:26 +00:00
%endif
2015-06-18 17:00:26 +00:00
# default to 0.
%global texi2any 0
%if 0%{?fedora} >= 20
%global texi2any 1
%endif
%if 0%{?rhel} >= 7
%global texi2any 1
%endif
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: R
2016-03-18 16:25:07 +00:00
Version: 3.2.4
Release: 1%{?dist}
Summary: A language for data analysis and graphics
URL: http://www.r-project.org
2016-03-18 16:25:07 +00:00
Source0: ftp://cran.r-project.org/pub/R/src/base/R-3/R-%{version}-revised.tar.gz
Source1: macros.R
Source2: R-make-search-index.sh
%if %{texi2any}
# If we have texi2any 5.1+, we can generate the docs on the fly.
# If not, we're building for a very old target (RHEL 6 or older)
%else
# In this case, we need to use pre-built manuals.
# NOTE: These need to be updated for every new version.
Source100: https://cran.r-project.org/doc/manuals/r-release/R-intro.html
Source101: https://cran.r-project.org/doc/manuals/r-release/R-data.html
Source102: https://cran.r-project.org/doc/manuals/r-release/R-admin.html
Source103: https://cran.r-project.org/doc/manuals/r-release/R-exts.html
Source104: https://cran.r-project.org/doc/manuals/r-release/R-lang.html
Source105: https://cran.r-project.org/doc/manuals/r-release/R-ints.html
Source106: https://cran.r-project.org/doc/FAQ/R-FAQ.html
%endif
Patch0: 0001-Disable-backing-store-in-X11-window.patch
2007-08-26 22:51:42 +00:00
License: GPLv2+
Group: Applications/Engineering
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran
BuildRequires: gcc-c++, tex(latex), texinfo-tex
BuildRequires: libpng-devel, libjpeg-devel, readline-devel
BuildRequires: tcl-devel, tk-devel, ncurses-devel
2015-05-04 11:11:13 +00:00
BuildRequires: pcre-devel, zlib-devel
2015-07-10 14:47:04 +00:00
%if 0%{?rhel}
# RHEL older than 6
%if 0%{?rhel} < 6
2015-07-10 16:12:58 +00:00
BuildRequires: curl-devel
2015-07-10 14:47:04 +00:00
# RHEL newer than 6
%else
2015-07-10 16:12:58 +00:00
BuildRequires: libcurl-devel
2015-07-10 14:47:04 +00:00
%endif
# Fedora (assuming modern)
%else
BuildRequires: libcurl-devel
%endif
2015-05-04 11:11:13 +00:00
# valgrind is available only on selected arches
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64
BuildRequires: valgrind-devel
%endif
2014-04-30 01:31:43 +00:00
%if %{with_java_headless}
2014-03-24 01:51:28 +00:00
BuildRequires: java-headless
2013-04-05 21:05:26 +00:00
%else
BuildRequires: java
2014-04-30 01:31:43 +00:00
%endif
%if %{system_tre}
BuildRequires: tre-devel
BuildRequires: autoconf, automake, libtool
%endif
2014-07-15 20:42:38 +00:00
%if 0%{?fedora} >= 21
BuildRequires: lapack-devel >= 3.5.0-7
BuildRequires: blas-devel >= 3.5.0-7
%else
%if 0%{?fedora} >= 19
BuildRequires: lapack-devel >= 3.4.2-7
BuildRequires: blas-devel >= 3.4.2-7
%else
2013-04-05 21:05:26 +00:00
BuildRequires: lapack-devel
2014-07-15 20:42:38 +00:00
BuildRequires: blas-devel >= 3.0
%endif
%endif
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
2013-04-05 21:05:26 +00:00
BuildRequires: gcc-objc, pango-devel, xz-devel
%if %{modern}
BuildRequires: libicu-devel
%endif
BuildRequires: less
%if 0%{?fedora} >= 18
BuildRequires: tex(inconsolata.sty)
2014-04-22 15:48:51 +00:00
BuildRequires: tex(upquote.sty)
2014-04-30 01:31:43 +00:00
%endif
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}
2013-04-05 21:05:26 +00:00
%if %{modern}
2012-10-29 19:57:49 +00:00
# Pull in Java bits (if you don't want this, use R-core)
Requires: R-java = %{version}-%{release}
2013-04-05 21:05:26 +00:00
%endif
2008-10-26 19:59:58 +00:00
%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
# R inherits the compiler flags it was built with, hence we need this on hardened systems
%if 0%{hardening}
Requires: redhat-rpm-config
%endif
2013-04-05 21:05:26 +00:00
%if %{modern}
Requires: tex(dvips), vi
%else
Requires: vim-minimal
%endif
2014-08-08 12:50:58 +00:00
Requires: perl, sed, gawk, tex(latex), less, make, unzip
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.
Provides: R-base = %{version}
2016-03-18 16:25:07 +00:00
Provides: R-boot = 1.3.18
2015-12-11 21:28:25 +00:00
Provides: R-class = 7.3.14
2015-08-14 18:27:10 +00:00
Provides: R-cluster = 2.0.3
Provides: R-codetools = 0.2.14
Provides: R-datasets = %{version}
2015-12-11 21:28:25 +00:00
Provides: R-foreign = 0.8.66
Provides: R-graphics = %{version}
Provides: R-grDevices = %{version}
Provides: R-grid = %{version}
2015-08-14 18:27:10 +00:00
Provides: R-KernSmooth = 2.23.15
Provides: R-lattice = 0.20.33
2015-12-11 21:28:25 +00:00
Provides: R-MASS = 7.3.45
2016-03-18 16:25:07 +00:00
Provides: R-Matrix = 1.2.4
2009-04-20 14:45:15 +00:00
Obsoletes: R-Matrix < 0.999375-7
Provides: R-methods = %{version}
2016-03-18 16:25:07 +00:00
Provides: R-mgcv = 1.8.12
Provides: R-nlme = 3.1.125
Provides: R-nnet = 7.3.12
2011-11-16 14:33:09 +00:00
Provides: R-parallel = %{version}
2015-08-14 18:27:10 +00:00
Provides: R-rpart = 4.1.10
2016-03-18 16:25:07 +00:00
Provides: R-spatial = 7.3.11
Provides: R-splines = %{version}
Provides: R-stats = %{version}
Provides: R-stats4 = %{version}
2015-08-14 18:27:10 +00:00
Provides: R-survival = 2.38.3
Provides: R-tcltk = %{version}
Provides: R-tools = %{version}
Provides: R-utils = %{version}
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
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-devel
Summary: Core files for development of R packages (no Java)
Group: Applications/Engineering
2008-10-26 19:59:58 +00:00
Requires: R-core = %{version}-%{release}
# You need all the BuildRequires for the development version
Requires: gcc-c++, gcc-gfortran, tex(latex), texinfo-tex
Requires: bzip2-devel, libX11-devel, pcre-devel, zlib-devel
2014-04-25 20:20:32 +00:00
Requires: tcl-devel, tk-devel, pkgconfig, xz-devel
Requires: blas-devel >= 3.0, lapack-devel
2014-04-25 20:20:32 +00:00
%if %{modern}
Requires: libicu-devel
%endif
%if %{system_tre}
Requires: tre-devel
%endif
2012-11-27 21:47:47 +00:00
# TeX files needed
%if 0%{?fedora} >= 18
Requires: tex(ecrm1000.tfm)
Requires: tex(inconsolata.sty)
Requires: tex(ptmr8t.tfm)
Requires: tex(ptmb8t.tfm)
Requires: tex(pcrr8t.tfm)
Requires: tex(phvr8t.tfm)
Requires: tex(ptmri8t.tfm)
Requires: tex(ptmro8t.tfm)
2012-11-27 21:47:47 +00:00
Requires: tex(cm-super-ts1.enc)
%endif
2015-01-02 21:29:56 +00:00
# "qpdf is needed for checks on size reduction of PDFs"
2015-03-09 21:32:32 +00:00
# qpdf is not in epel, and since 99% of R doesn't use it, we'll let it slide.
%if 0%{?fedora}
2015-01-02 21:29:56 +00:00
Requires: qpdf
2015-03-09 21:32:32 +00:00
%endif
2015-01-02 21:29:56 +00:00
2016-03-18 16:25:07 +00:00
Provides: R-Matrix-devel = 1.2.4
2009-04-20 14:45:15 +00:00
Obsoletes: R-Matrix-devel < 0.999375-7
2013-04-05 21:05:26 +00:00
%if %{modern}
%description core-devel
Install R-core-devel if you are going to develop or compile R packages.
This package does not configure the R environment for Java, install
R-java-devel if you want this.
2013-04-05 21:05:26 +00:00
%else
%description core-devel
Install R-core-devel if you are going to develop or compile R packages.
%endif
%package devel
Summary: Full R development environment metapackage
Requires: R-core-devel = %{version}-%{release}
2013-04-05 21:05:26 +00:00
%if %{modern}
Requires: R-java-devel = %{version}-%{release}
2014-01-24 16:38:40 +00:00
%else
Group: Development/Libraries
2013-04-05 21:05:26 +00:00
%endif
%description devel
This is a metapackage to install a complete (with Java) R development
environment.
2013-04-05 21:05:26 +00:00
%if %{modern}
%package java
Summary: R with Fedora provided Java Runtime Environment
Group: Applications/Engineering
Requires(post): R-core = %{version}-%{release}
2014-04-30 01:31:43 +00:00
%if %{with_java_headless}
2014-03-24 01:51:28 +00:00
Requires(post): java-headless
2014-04-30 01:31:43 +00:00
%else
Requires(post): java
2014-04-30 01:31:43 +00:00
%endif
%description java
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.
This package also has an additional dependency on java, as provided by
Fedora's openJDK.
%package java-devel
Summary: Development package for use with Java enabled R components
Group: Applications/Engineering
Requires(post): R-core-devel = %{version}-%{release}
Requires(post): java-devel
%description java-devel
Install R-java-devel if you are going to develop or compile R packages
that assume java is present and configured on the system.
2013-04-05 21:05:26 +00:00
%endif
%package -n libRmath
Summary: Standalone math library from the R project
Group: Development/Libraries
%description -n libRmath
A standalone library of mathematical and statistical functions derived
from the R project. This package provides the shared libRmath library.
%package -n libRmath-devel
Summary: Headers from the R Standalone math library
Group: Development/Libraries
Requires: libRmath = %{version}-%{release}, pkgconfig
%description -n libRmath-devel
A standalone library of mathematical and statistical functions derived
from the R project. This package provides the libRmath header files.
%package -n libRmath-static
Summary: Static R Standalone math library
Group: Development/Libraries
Requires: libRmath-devel = %{version}-%{release}
%description -n libRmath-static
A standalone library of mathematical and statistical functions derived
from the R project. This package provides the static libRmath library.
%prep
2016-03-18 16:25:07 +00:00
%setup -q -n %{name}-revised
%patch0 -p1 -b .disable-backing-store
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
2016-03-18 16:25:07 +00:00
# %%global __perl_provides %%{_builddir}/R-%%{version}/%%{name}-prov
%global __perl_provides %{_builddir}/R-revised/%{name}-prov
2007-10-29 15:51:14 +00:00
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
2016-03-18 16:25:07 +00:00
# %%global __perl_requires %%{_builddir}/R-%%{version}/%%{name}-req
%global __perl_requires %{_builddir}/R-revised/%{name}-req
2007-10-30 13:29:02 +00:00
chmod +x %{__perl_requires}
%build
# Add PATHS to Renviron for R_LIBS_SITE
echo 'R_LIBS_SITE=${R_LIBS_SITE-'"'/usr/local/lib/R/site-library:/usr/local/lib/R/library:%{_libdir}/R/library:%{_datadir}/R/library'"'}' >> etc/Renviron.in
2011-11-16 14:33:09 +00:00
# No inconsolata on RHEL tex
%if 0%{?rhel}
export R_RD4PDF="times,hyper"
sed -i 's|inconsolata,||g' etc/Renviron.in
%endif
2007-10-29 15:51:14 +00:00
export R_PDFVIEWER="%{_bindir}/xdg-open"
export R_PRINTCMD="lpr"
2007-10-29 15:51:14 +00:00
export R_BROWSER="%{_bindir}/xdg-open"
case "%{_target_cpu}" in
x86_64|mips64|ppc64|powerpc64|sparc64|s390x|powerpc64le|ppc64le)
export CC="gcc -m64"
export CXX="g++ -m64"
export F77="gfortran -m64"
export FC="gfortran -m64"
;;
2014-05-15 11:03:19 +00:00
ia64|alpha|arm*|aarch64|sh*)
2008-05-13 16:55:43 +00:00
export CC="gcc"
export CXX="g++"
export F77="gfortran"
export FC="gfortran"
;;
s390)
export CC="gcc -m31"
export CXX="g++ -m31"
export F77="gfortran -m31"
export FC="gfortran -m31"
;;
*)
export CC="gcc -m32"
export CXX="g++ -m32"
export F77="gfortran -m32"
export FC="gfortran -m32"
;;
esac
2014-04-30 01:31:43 +00:00
%if 0%{?fedora} >= 21
2014-07-15 20:42:38 +00:00
%if %{with_lto}
2014-04-25 15:34:29 +00:00
# With gcc 4.9, if we don't pass -ffat-lto-objects along with -flto, Matrix builds without the needed object code
# ... and doesn't work at all as a result.
export CFLAGS="%{optflags} -ffat-lto-objects"
export CXXFLAGS="%{optflags} -ffat-lto-objects"
export FCFLAGS="%{optflags} -ffat-lto-objects"
2014-07-15 20:42:38 +00:00
%endif
2014-04-30 01:31:43 +00:00
%else
export FCFLAGS="%{optflags}"
%endif
2014-07-15 20:42:38 +00:00
# RHEL 5 & 6 & 7 have a broken BLAS, so we need to use the bundled bits in R until
# they are fixed... and it doesn't look like it will ever be fixed in RHEL 5.
# https://bugzilla.redhat.com/show_bug.cgi?id=1117491
# https://bugzilla.redhat.com/show_bug.cgi?id=1117496
# https://bugzilla.redhat.com/show_bug.cgi?id=1117497
#
# Also, --enable-BLAS-shlib would be nice to enable
# as a shim to the system blas but it unfortunately
# enables the bundled Rlapack (not a shim to the system lapack).
( %configure \
%if %{system_tre}
--with-system-tre \
%endif
2005-10-06 14:22:12 +00:00
--with-system-zlib --with-system-bzlib --with-system-pcre \
2015-04-30 14:59:17 +00:00
--with-system-valgrind-headers \
2014-07-15 20:42:38 +00:00
%if 0%{?fedora}
--with-lapack \
2013-12-20 15:57:38 +00:00
--with-blas \
2014-07-15 20:42:38 +00:00
%endif
--with-tcl-config=%{_libdir}/tclConfig.sh \
--with-tk-config=%{_libdir}/tkConfig.sh \
2008-01-03 15:00:01 +00:00
--enable-R-shlib \
2009-12-22 23:29:51 +00:00
--enable-prebuilt-html \
2014-04-30 01:31:43 +00:00
%if %{with_lto}
2014-01-24 16:38:40 +00:00
%ifnarch %{arm}
2013-12-20 15:57:38 +00:00
--enable-lto \
2014-01-24 16:38:40 +00:00
%endif
2015-06-18 17:00:26 +00:00
%endif
%if %{texi2any}
MAKEINFO=texi2any \
%else
MAKEINFO=makeinfo \
2014-01-24 16:38:40 +00:00
%endif
2013-08-12 16:02:22 +00:00
rdocdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} \
2008-01-03 15:00:01 +00:00
rincludedir=%{_includedir}/R \
rsharedir=%{_datadir}/R) \
> CONFIGURE.log
cat CONFIGURE.log | grep -A30 'R is now' - > CAPABILITIES
make
(cd src/nmath/standalone; make)
#make check-all
make pdf
2013-05-18 19:26:50 +00:00
%if 0%{?fedora} >= 19
2013-05-17 20:55:52 +00:00
# What a hack.
# Current texinfo doesn't like @eqn. Use @math instead where stuff breaks.
cp doc/manual/R-exts.texi doc/manual/R-exts.texi.spot
cp doc/manual/R-intro.texi doc/manual/R-intro.texi.spot
sed -i 's|@eqn|@math|g' doc/manual/R-exts.texi
sed -i 's|@eqn|@math|g' doc/manual/R-intro.texi
2013-05-18 19:26:50 +00:00
%endif
2015-06-18 17:00:26 +00:00
%if %{texi2any}
make MAKEINFO=texi2any info
%else
make MAKEINFO=makeinfo info
%endif
# Convert to UTF-8
2009-08-24 19:39:59 +00:00
for i in doc/manual/R-intro.info doc/manual/R-FAQ.info doc/FAQ doc/manual/R-admin.info doc/manual/R-exts.info-1; do
iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
mv $i{.utf8,}
done
%install
make DESTDIR=${RPM_BUILD_ROOT} install install-info
2013-05-17 20:55:52 +00:00
# And now, undo the hack. :P
2013-05-18 19:26:50 +00:00
%if 0%{?fedora} >= 19
2013-05-17 20:55:52 +00:00
mv doc/manual/R-exts.texi.spot doc/manual/R-exts.texi
mv doc/manual/R-intro.texi.spot doc/manual/R-intro.texi
2013-05-18 19:26:50 +00:00
%endif
make DESTDIR=${RPM_BUILD_ROOT} install-pdf
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir.old
2014-04-30 01:31:43 +00:00
mkdir -p ${RPM_BUILD_ROOT}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
2013-08-12 16:02:22 +00:00
install -p CAPABILITIES ${RPM_BUILD_ROOT}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
#Install libRmath files
2008-01-03 15:00:01 +00:00
(cd src/nmath/standalone; make install DESTDIR=${RPM_BUILD_ROOT})
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
mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library
# Install rpm helper macros
mkdir -p $RPM_BUILD_ROOT%{macrosdir}/
install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{macrosdir}/
# 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
2014-04-22 15:48:51 +00:00
touch -r README ${RPM_BUILD_ROOT}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/CAPABILITIES
touch -r README doc/manual/*.pdf
touch -r README $RPM_BUILD_ROOT%{_bindir}/R
2007-10-29 16:42:30 +00:00
# Fix html/packages.html
# We can safely use RHOME here, because all of these are system packages.
2013-08-12 16:02:22 +00:00
sed -i 's|\..\/\..|%{_libdir}/R|g' $RPM_BUILD_ROOT%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/html/packages.html
2008-05-21 19:26:30 +00:00
for i in $RPM_BUILD_ROOT%{_libdir}/R/library/*/html/*.html; do
2013-08-12 16:02:22 +00:00
sed -i 's|\..\/\..\/..\/doc|%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}|g' $i
2008-05-21 19:26:30 +00:00
done
# Fix exec bits
2009-11-05 04:43:17 +00:00
chmod +x $RPM_BUILD_ROOT%{_datadir}/R/sh/echo.sh
2013-08-12 16:02:22 +00:00
chmod -x $RPM_BUILD_ROOT%{_libdir}/R/library/mgcv/CITATION ${RPM_BUILD_ROOT}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/CAPABILITIES
2011-04-14 17:54:11 +00:00
# Symbolic link for convenience
pushd $RPM_BUILD_ROOT%{_libdir}/R
2011-04-14 17:54:11 +00:00
ln -s ../../include/R include
popd
# Symbolic link for LaTeX
mkdir -p $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex
pushd $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex
ln -s ../../../R/texmf/tex/latex R
popd
%if %{texi2any}
# Do not need to copy files...
%else
# COPY THAT FLOPPY
cp -a %{SOURCE100} %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} %{SOURCE105} %{SOURCE106} %{buildroot}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/manual/
%endif
2014-07-15 20:42:38 +00:00
%check
# Needed by tests/ok-error.R, which will smash the stack on PPC64. This is the purpose of the test.
ulimit -s 16384
2014-07-15 20:42:38 +00:00
make check
%files
2008-10-26 19:59:58 +00:00
# Metapackage
%files core
%defattr(-, root, root, -)
%{_bindir}/R
2007-04-25 21:32:24 +00:00
%{_bindir}/Rscript
2013-04-05 21:05:26 +00:00
%{_datadir}/R/
%{_datadir}/texmf/
# Have to break this out for the translations
2013-04-05 21:05:26 +00:00
%dir %{_libdir}/R/
%{_libdir}/R/bin/
%dir %{_libdir}/R/etc
%config %{_libdir}/R/etc/Makeconf
%config(noreplace) %{_libdir}/R/etc/Renviron
%config(noreplace) %{_libdir}/R/etc/javaconf
%config(noreplace) %{_libdir}/R/etc/ldpaths
%config(noreplace) %{_libdir}/R/etc/repositories
2013-04-05 21:05:26 +00:00
%{_libdir}/R/lib/
%dir %{_libdir}/R/library/
%dir %{_libdir}/R/library/translations/
%{_libdir}/R/library/translations/DESCRIPTION
%lang(da) %{_libdir}/R/library/translations/da/
%lang(de) %{_libdir}/R/library/translations/de/
%lang(en) %{_libdir}/R/library/translations/en*/
%lang(es) %{_libdir}/R/library/translations/es/
%lang(fa) %{_libdir}/R/library/translations/fa/
%lang(fr) %{_libdir}/R/library/translations/fr/
%lang(it) %{_libdir}/R/library/translations/it/
%lang(ja) %{_libdir}/R/library/translations/ja/
%lang(ko) %{_libdir}/R/library/translations/ko/
%lang(nn) %{_libdir}/R/library/translations/nn/
%lang(pl) %{_libdir}/R/library/translations/pl/
%lang(pt) %{_libdir}/R/library/translations/pt*/
%lang(ru) %{_libdir}/R/library/translations/ru/
%lang(tr) %{_libdir}/R/library/translations/tr/
%lang(zh) %{_libdir}/R/library/translations/zh*/
# base
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/base/
# boot
%dir %{_libdir}/R/library/boot/
2014-04-22 15:48:51 +00:00
%{_libdir}/R/library/boot/bd.q
%{_libdir}/R/library/boot/CITATION
%{_libdir}/R/library/boot/data/
%{_libdir}/R/library/boot/DESCRIPTION
%{_libdir}/R/library/boot/help/
%{_libdir}/R/library/boot/html/
%{_libdir}/R/library/boot/INDEX
%{_libdir}/R/library/boot/Meta/
%{_libdir}/R/library/boot/NAMESPACE
%dir %{_libdir}/R/library/boot/po/
2009-11-05 04:43:17 +00:00
%lang(de) %{_libdir}/R/library/boot/po/de/
%lang(en) %{_libdir}/R/library/boot/po/en*/
%lang(fr) %{_libdir}/R/library/boot/po/fr/
2013-04-05 21:05:26 +00:00
%lang(ko) %{_libdir}/R/library/boot/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/boot/po/pl/
%lang(ru) %{_libdir}/R/library/boot/po/ru/
%{_libdir}/R/library/boot/R/
# class
%dir %{_libdir}/R/library/class/
%{_libdir}/R/library/class/CITATION
%{_libdir}/R/library/class/DESCRIPTION
%{_libdir}/R/library/class/help/
%{_libdir}/R/library/class/html/
%{_libdir}/R/library/class/INDEX
%{_libdir}/R/library/class/libs/
%{_libdir}/R/library/class/Meta/
%{_libdir}/R/library/class/NAMESPACE
%{_libdir}/R/library/class/NEWS
%dir %{_libdir}/R/library/class/po/
%lang(de) %{_libdir}/R/library/class/po/de/
%lang(en) %{_libdir}/R/library/class/po/en*/
%lang(fr) %{_libdir}/R/library/class/po/fr/
2013-04-05 21:05:26 +00:00
%lang(ko) %{_libdir}/R/library/class/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/class/po/pl/
%{_libdir}/R/library/class/R/
# cluster
%dir %{_libdir}/R/library/cluster/
%{_libdir}/R/library/cluster/CITATION
%{_libdir}/R/library/cluster/data/
%{_libdir}/R/library/cluster/DESCRIPTION
%{_libdir}/R/library/cluster/help/
%{_libdir}/R/library/cluster/html/
%{_libdir}/R/library/cluster/INDEX
%{_libdir}/R/library/cluster/libs/
%{_libdir}/R/library/cluster/Meta/
%{_libdir}/R/library/cluster/NAMESPACE
2015-08-14 18:27:10 +00:00
%{_libdir}/R/library/cluster/NEWS.Rd
%{_libdir}/R/library/cluster/R/
2011-11-16 14:33:09 +00:00
%dir %{_libdir}/R/library/cluster/po/
%lang(de) %{_libdir}/R/library/cluster/po/de/
%lang(en) %{_libdir}/R/library/cluster/po/en*/
2014-04-22 15:48:51 +00:00
%lang(fr) %{_libdir}/R/library/cluster/po/fr/
2015-08-14 18:27:10 +00:00
%lang(ko) %{_libdir}/R/library/cluster/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/cluster/po/pl/
# codetools
%dir %{_libdir}/R/library/codetools/
%{_libdir}/R/library/codetools/DESCRIPTION
%{_libdir}/R/library/codetools/help/
%{_libdir}/R/library/codetools/html/
%{_libdir}/R/library/codetools/INDEX
%{_libdir}/R/library/codetools/Meta/
%{_libdir}/R/library/codetools/NAMESPACE
%{_libdir}/R/library/codetools/R/
2011-04-14 17:54:11 +00:00
# compiler
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/compiler/
# datasets
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/datasets/
# foreign
%dir %{_libdir}/R/library/foreign/
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/foreign/COPYRIGHTS
%{_libdir}/R/library/foreign/DESCRIPTION
%{_libdir}/R/library/foreign/files/
%{_libdir}/R/library/foreign/help/
%{_libdir}/R/library/foreign/html/
%{_libdir}/R/library/foreign/INDEX
%{_libdir}/R/library/foreign/libs/
%{_libdir}/R/library/foreign/Meta/
%{_libdir}/R/library/foreign/NAMESPACE
%dir %{_libdir}/R/library/foreign/po/
%lang(de) %{_libdir}/R/library/foreign/po/de/
%lang(en) %{_libdir}/R/library/foreign/po/en*/
%lang(fr) %{_libdir}/R/library/foreign/po/fr/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/foreign/po/pl/
%{_libdir}/R/library/foreign/R/
# graphics
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/graphics/
# grDevices
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/grDevices
# grid
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/grid/
# KernSmooth
%dir %{_libdir}/R/library/KernSmooth/
%{_libdir}/R/library/KernSmooth/DESCRIPTION
%{_libdir}/R/library/KernSmooth/help/
%{_libdir}/R/library/KernSmooth/html/
%{_libdir}/R/library/KernSmooth/INDEX
%{_libdir}/R/library/KernSmooth/libs/
%{_libdir}/R/library/KernSmooth/Meta/
%{_libdir}/R/library/KernSmooth/NAMESPACE
%dir %{_libdir}/R/library/KernSmooth/po/
%lang(de) %{_libdir}/R/library/KernSmooth/po/de/
%lang(en) %{_libdir}/R/library/KernSmooth/po/en*/
2014-04-22 15:48:51 +00:00
%lang(fr) %{_libdir}/R/library/KernSmooth/po/fr/
2013-04-05 21:05:26 +00:00
%lang(ko) %{_libdir}/R/library/KernSmooth/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/KernSmooth/po/pl/
%{_libdir}/R/library/KernSmooth/R/
# lattice
%dir %{_libdir}/R/library/lattice/
2010-10-20 20:50:31 +00:00
%{_libdir}/R/library/lattice/CITATION
%{_libdir}/R/library/lattice/data/
%{_libdir}/R/library/lattice/demo/
%{_libdir}/R/library/lattice/DESCRIPTION
%{_libdir}/R/library/lattice/help/
%{_libdir}/R/library/lattice/html/
%{_libdir}/R/library/lattice/INDEX
%{_libdir}/R/library/lattice/libs/
%{_libdir}/R/library/lattice/Meta/
%{_libdir}/R/library/lattice/NAMESPACE
%{_libdir}/R/library/lattice/NEWS
%dir %{_libdir}/R/library/lattice/po/
%lang(de) %{_libdir}/R/library/lattice/po/de/
%lang(en) %{_libdir}/R/library/lattice/po/en*/
%lang(fr) %{_libdir}/R/library/lattice/po/fr/
2013-10-16 07:43:37 +00:00
%lang(ko) %{_libdir}/R/library/lattice/po/ko/
%lang(pl) %{_libdir}/R/library/lattice/po/pl*/
%{_libdir}/R/library/lattice/R/
# MASS
%dir %{_libdir}/R/library/MASS/
%{_libdir}/R/library/MASS/CITATION
%{_libdir}/R/library/MASS/data/
%{_libdir}/R/library/MASS/DESCRIPTION
%{_libdir}/R/library/MASS/help/
%{_libdir}/R/library/MASS/html/
%{_libdir}/R/library/MASS/INDEX
%{_libdir}/R/library/MASS/libs/
%{_libdir}/R/library/MASS/Meta/
%{_libdir}/R/library/MASS/NAMESPACE
%{_libdir}/R/library/MASS/NEWS
%dir %{_libdir}/R/library/MASS/po
%lang(de) %{_libdir}/R/library/MASS/po/de/
%lang(en) %{_libdir}/R/library/MASS/po/en*/
%lang(fr) %{_libdir}/R/library/MASS/po/fr/
2013-04-05 21:05:26 +00:00
%lang(ko) %{_libdir}/R/library/MASS/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/MASS/po/pl/
%{_libdir}/R/library/MASS/R/
%{_libdir}/R/library/MASS/scripts/
2009-04-17 20:12:43 +00:00
# Matrix
%dir %{_libdir}/R/library/Matrix/
%{_libdir}/R/library/Matrix/Copyrights
%{_libdir}/R/library/Matrix/data/
%{_libdir}/R/library/Matrix/doc/
%{_libdir}/R/library/Matrix/DESCRIPTION
%{_libdir}/R/library/Matrix/Doxyfile
%{_libdir}/R/library/Matrix/external/
%{_libdir}/R/library/Matrix/help/
%{_libdir}/R/library/Matrix/html/
%{_libdir}/R/library/Matrix/include/
%{_libdir}/R/library/Matrix/INDEX
%{_libdir}/R/library/Matrix/libs/
%{_libdir}/R/library/Matrix/Meta/
%{_libdir}/R/library/Matrix/NAMESPACE
2015-04-30 14:59:17 +00:00
%{_libdir}/R/library/Matrix/NEWS.Rd
%dir %{_libdir}/R/library/Matrix/po/
%lang(de) %{_libdir}/R/library/Matrix/po/de/
%lang(en) %{_libdir}/R/library/Matrix/po/en*/
2014-04-22 15:48:51 +00:00
%lang(fr) %{_libdir}/R/library/Matrix/po/fr/
2015-04-30 14:59:17 +00:00
%lang(ko) %{_libdir}/R/library/Matrix/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/Matrix/po/pl/
2009-04-17 20:12:43 +00:00
%{_libdir}/R/library/Matrix/R/
%{_libdir}/R/library/Matrix/test-tools.R
2011-11-16 14:33:09 +00:00
%{_libdir}/R/library/Matrix/test-tools-1.R
%{_libdir}/R/library/Matrix/test-tools-Matrix.R
# methods
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/methods/
# mgcv
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/mgcv/
# nlme
%dir %{_libdir}/R/library/nlme/
%{_libdir}/R/library/nlme/CITATION
%{_libdir}/R/library/nlme/data/
%{_libdir}/R/library/nlme/DESCRIPTION
%{_libdir}/R/library/nlme/help/
%{_libdir}/R/library/nlme/html/
%{_libdir}/R/library/nlme/INDEX
%{_libdir}/R/library/nlme/libs/
%{_libdir}/R/library/nlme/Meta/
%{_libdir}/R/library/nlme/mlbook/
%{_libdir}/R/library/nlme/NAMESPACE
%dir %{_libdir}/R/library/nlme/po/
%lang(de) %{_libdir}/R/library/nlme/po/de/
%lang(en) %{_libdir}/R/library/nlme/po/en*/
%lang(fr) %{_libdir}/R/library/nlme/po/fr/
2013-10-16 07:43:37 +00:00
%lang(ko) %{_libdir}/R/library/nlme/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/nlme/po/pl/
%{_libdir}/R/library/nlme/R/
%{_libdir}/R/library/nlme/scripts/
# nnet
%dir %{_libdir}/R/library/nnet/
%{_libdir}/R/library/nnet/CITATION
%{_libdir}/R/library/nnet/DESCRIPTION
%{_libdir}/R/library/nnet/help/
%{_libdir}/R/library/nnet/html/
%{_libdir}/R/library/nnet/INDEX
%{_libdir}/R/library/nnet/libs/
%{_libdir}/R/library/nnet/Meta/
%{_libdir}/R/library/nnet/NAMESPACE
%{_libdir}/R/library/nnet/NEWS
%dir %{_libdir}/R/library/nnet/po
%lang(de) %{_libdir}/R/library/nnet/po/de/
%lang(en) %{_libdir}/R/library/nnet/po/en*/
%lang(fr) %{_libdir}/R/library/nnet/po/fr/
2013-04-05 21:05:26 +00:00
%lang(ko) %{_libdir}/R/library/nnet/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/nnet/po/pl/
%{_libdir}/R/library/nnet/R/
2011-11-16 14:33:09 +00:00
# parallel
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/parallel/
# rpart
%dir %{_libdir}/R/library/rpart/
%{_libdir}/R/library/rpart/data/
%{_libdir}/R/library/rpart/DESCRIPTION
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/rpart/doc/
%{_libdir}/R/library/rpart/help/
%{_libdir}/R/library/rpart/html/
%{_libdir}/R/library/rpart/INDEX
%{_libdir}/R/library/rpart/libs/
%{_libdir}/R/library/rpart/Meta/
%{_libdir}/R/library/rpart/NAMESPACE
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/rpart/NEWS.Rd
%dir %{_libdir}/R/library/rpart/po
%lang(de) %{_libdir}/R/library/rpart/po/de/
%lang(en) %{_libdir}/R/library/rpart/po/en*/
%lang(fr) %{_libdir}/R/library/rpart/po/fr/
2013-04-05 21:05:26 +00:00
%lang(ko) %{_libdir}/R/library/rpart/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/rpart/po/pl/
%lang(ru) %{_libdir}/R/library/rpart/po/ru/
%{_libdir}/R/library/rpart/R/
# spatial
%dir %{_libdir}/R/library/spatial/
%{_libdir}/R/library/spatial/CITATION
%{_libdir}/R/library/spatial/DESCRIPTION
%{_libdir}/R/library/spatial/help/
%{_libdir}/R/library/spatial/html/
%{_libdir}/R/library/spatial/INDEX
%{_libdir}/R/library/spatial/libs/
%{_libdir}/R/library/spatial/Meta/
%{_libdir}/R/library/spatial/NAMESPACE
%{_libdir}/R/library/spatial/NEWS
%dir %{_libdir}/R/library/spatial/po
%lang(de) %{_libdir}/R/library/spatial/po/de/
%lang(en) %{_libdir}/R/library/spatial/po/en*/
%lang(fr) %{_libdir}/R/library/spatial/po/fr/
2015-03-09 21:32:32 +00:00
%lang(ko) %{_libdir}/R/library/spatial/po/ko/
2012-10-29 19:57:49 +00:00
%lang(pl) %{_libdir}/R/library/spatial/po/pl/
%{_libdir}/R/library/spatial/ppdata/
%{_libdir}/R/library/spatial/PP.files
%{_libdir}/R/library/spatial/R/
# splines
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/splines/
# stats
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/stats/
# stats4
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/stats4/
# survival
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/survival/
# tcltk
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/tcltk/
# tools
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/tools/
# utils
2013-04-05 21:05:26 +00:00
%{_libdir}/R/library/utils/
2008-01-03 15:00:01 +00:00
%{_libdir}/R/modules
%{_libdir}/R/COPYING
# %%{_libdir}/R/NEWS*
2008-01-03 15:00:01 +00:00
%{_libdir}/R/SVN-REVISION
/usr/lib/rpm/R-make-search-index.sh
%{_infodir}/R-*.info*
%{macrosdir}/macros.R
%{_mandir}/man1/*
2013-08-12 16:02:22 +00:00
%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
%docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
2005-04-25 00:18:46 +00:00
/etc/ld.so.conf.d/*
%files core-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
# Symlink to %%{_includedir}/R/
2011-04-14 17:54:11 +00:00
%{_libdir}/R/include
%files devel
# Nothing, all files provided by R-core-devel
2013-04-05 21:05:26 +00:00
%if %{modern}
%files java
# Nothing, all files provided by R-core
%files java-devel
# Nothing, all files provided by R-core-devel
2013-04-05 21:05:26 +00:00
%endif
%files -n libRmath
2008-10-26 19:59:58 +00:00
%defattr(-, root, root, -)
2010-07-07 18:39:30 +00:00
%doc doc/COPYING
%{_libdir}/libRmath.so
%files -n libRmath-devel
2008-10-26 19:59:58 +00:00
%defattr(-, root, root, -)
%{_includedir}/Rmath.h
2007-04-25 21:32:24 +00:00
%{_libdir}/pkgconfig/libRmath.pc
%files -n libRmath-static
%defattr(-, root, root, -)
%{_libdir}/libRmath.a
%clean
rm -rf ${RPM_BUILD_ROOT};
2008-10-26 19:59:58 +00:00
%post core
# 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 || :
fi
done
2005-04-25 00:18:46 +00:00
/sbin/ldconfig
2008-12-22 16:27:50 +00:00
R CMD javareconf \
JAVA_HOME=%{_jvmdir}/jre \
JAVA_CPPFLAGS='-I%{_jvmdir}/java/include\ -I%{_jvmdir}/java/include/linux' \
JAVA_LIBS='-L%{_jvmdir}/jre/lib/%{java_arch}/server \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch} \
2008-12-22 16:27:50 +00:00
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
2008-12-22 16:27:50 +00:00
> /dev/null 2>&1 || exit 0
# With 2.10.0, we no longer need to do any of this.
# Update package indices
# %__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
# This could fail if there are no noarch R libraries on the system.
# %__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
2008-04-29 20:09:52 +00:00
2008-10-26 19:59:58 +00:00
%preun core
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 || :
fi
done
fi
2011-08-09 16:28:57 +00:00
%postun core
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
/usr/bin/mktexlsr %{_datadir}/texmf &>/dev/null || :
fi
%posttrans core
/usr/bin/mktexlsr %{_datadir}/texmf &>/dev/null || :
2005-04-25 00:18:46 +00:00
2013-04-05 21:05:26 +00:00
%if %{modern}
%post java
R CMD javareconf \
JAVA_HOME=%{_jvmdir}/jre \
JAVA_CPPFLAGS='-I%{_jvmdir}/java/include\ -I%{_jvmdir}/java/include/linux' \
JAVA_LIBS='-L%{_jvmdir}/jre/lib/%{java_arch}/server \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch} \
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
> /dev/null 2>&1 || exit 0
%post java-devel
R CMD javareconf \
JAVA_HOME=%{_jvmdir}/jre \
JAVA_CPPFLAGS='-I%{_jvmdir}/java/include\ -I%{_jvmdir}/java/include/linux' \
JAVA_LIBS='-L%{_jvmdir}/jre/lib/%{java_arch}/server \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch} \
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
> /dev/null 2>&1 || exit 0
2013-04-05 21:05:26 +00:00
%endif
%post -n libRmath -p /sbin/ldconfig
%postun -n libRmath -p /sbin/ldconfig
%changelog
2016-03-18 16:25:07 +00:00
* Fri Mar 18 2016 Tom Callaway <spot@fedoraproject.org> - 3.2.4-1
- move to 3.2.4-revised
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Jan 26 2016 Tom Callaway <spot@fedoraproject.org> - 3.2.3-4
- if texi2any is set to 0, then copy in prebuilt html manuals (RHEL 5 & 6 only)
2016-01-26 18:45:09 +00:00
* Tue Jan 26 2016 Tom Callaway <spot@fedoraproject.org> - 3.2.3-3
- use global instead of define
* Fri Jan 15 2016 Tom Callaway <spot@fedoraproject.org> - 3.2.3-2
- Requires: redhat-rpm-config on hardened systems (all Fedora and RHEL 7+)
2015-12-11 21:28:25 +00:00
* Fri Dec 11 2015 Tom Callaway <spot@fedoraproject.org> - 3.2.3-1
- update to 3.2.3
2015-10-28 13:08:49 +00:00
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 3.2.2-3
- rebuild for ICU 56.1
* Tue Oct 13 2015 Tom Callaway <spot@fedoraproject.org> - 3.2.2-2
- apply patches from upstream bug 16497 to fix X11 hangs
2015-08-14 18:27:10 +00:00
* Fri Aug 14 2015 Tom Callaway <spot@fedoraproject.org> - 3.2.2-1
- update to 3.2.2
2015-07-10 14:48:03 +00:00
* Fri Jul 10 2015 Tom Callaway <spot@fedoraproject.org> - 3.2.1-2
2015-07-10 14:47:04 +00:00
- BR: libcurl-devel
2015-06-18 16:56:31 +00:00
* Thu Jun 18 2015 Tom Callaway <spot@fedoraproject.org> - 3.2.1-1
- update to 3.2.1
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-05-04 11:11:13 +00:00
* Mon May 04 2015 Jakub Čajka <jcajka@redhat.com> - 3.2.0-2
- valgrind is available only on selected arches, fixes build on s390
2015-06-18 17:00:26 +00:00
* Thu Apr 30 2015 Tom Callaway <spot@fedoraproject.org>
- conditionalize MAKEINFO for ancient things (rhel 6 or older)
2015-04-30 14:59:17 +00:00
* Sun Apr 26 2015 Tom Callaway <spot@fedoraproject.org> - 3.2.0-1
- update to 3.2.0
2015-03-09 21:32:32 +00:00
* Mon Mar 9 2015 Tom Callaway <spot@fedoraproject.org> - 3.1.3-1
- update to 3.1.3
2015-01-26 16:06:15 +00:00
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 3.1.2-2
- rebuild for ICU 54.1
2014-10-31 17:08:11 +00:00
* Fri Oct 31 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.2-1
- update to 3.1.2
* Wed Oct 29 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.1-8
- rebuild for new tcl/tk
- mark Makeconf as config (not config(noreplace) so that we get proper updated tcl/tk libs)
* Mon Sep 29 2014 Orion Poplawski <orion@cora.nwra.com> - 3.1.1-7
- Just BR/R java instead of java-1.5.0-gcj (bug #1110684)
* Tue Sep 16 2014 David Sommerseth <davids@redhat.com> - 3.1.1-6
- Setting ulimit when running make check, to avoid segfault due to too small stack (needed on PPC64)
2014-08-26 11:57:32 +00:00
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 3.1.1-5
- rebuild for ICU 53.1
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-08 12:50:58 +00:00
* Fri Aug 8 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.1-3
- add "unzip" to Requirements list for R-core
2014-08-08 11:30:09 +00:00
* Fri Aug 8 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.1-2
- add "make" to Requirements list for R-core (thanks R config)
2014-07-15 20:42:38 +00:00
* Thu Jul 10 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.1-1
- update to 3.1.1
* Mon Jul 7 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.0-10
- disable lto everywhere (breaks debuginfo) (bz 1113404)
- apply fix for ppc64 (bz 1114240 and upstream bug 15856)
- add make check (bz 1059461)
- use bundled blas/lapack for RHEL due to bugs in their BLAS
- enable Rblas shared lib (whether using bundled BLAS or not)
- add explicit requires for new lapack
* Tue Jun 24 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.0-9
- mark files in %%{_libdir}/R/etc as config(noreplace), resolves 1098663
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 3.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
2014-05-15 11:03:19 +00:00
* Thu May 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.0-6
- Add aarch64 to target CPU specs
* Wed May 7 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.0-5
- add blas-devel and lapack-devel as Requires for R-devel/R-core-devel
to ease rebuild pain
2014-04-30 01:31:43 +00:00
* Tue Apr 29 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.0-4
- unified spec file for all targets
* Tue Apr 29 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.0-3
- epel fixes
2014-04-25 20:20:32 +00:00
* Fri Apr 25 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.0-2
- fix core-devel Requires
2014-04-21 20:51:23 +00:00
* Mon Apr 21 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.0-1
- update to 3.1.0
* Mon Mar 24 2014 Brent Baude <baude@us.ibm.com> - 3.0.3-2
- add ppc64le support
- rhbz #1077819
2014-03-24 01:51:28 +00:00
* Thu Mar 20 2014 Tom Callaway <spot@fedoraproject.org> - 3.0.3-1
- update to 3.0.3
- switch to java-headless
2014-02-14 08:43:25 +00:00
* Fri Feb 14 2014 David Tardon <dtardon@redhat.com> - 3.0.2-7
- rebuild for new ICU
* Sat Feb 8 2014 Ville Skyttä <ville.skytta@iki.fi> - 3.0.2-6
- Install macros to %%{_rpmconfigdir}/macros.d where available.
- Fix rpmlint spaces vs tabs warnings.
* Fri Feb 7 2014 Tom Callaway <spot@fedoraproject.org> - 3.0.2-5
- add support for system tre (f21+, rhel 7+)
2014-02-07 19:16:38 +00:00
* Fri Feb 7 2014 Orion Poplawski <orion@cora.nwra.com> - 3.0.2-4
- Use BR java
2014-01-24 16:38:40 +00:00
* Fri Jan 24 2014 Tom Callaway <spot@fedoraproject.org> - 3.0.2-3
2014-02-07 19:16:38 +00:00
- disable lto on non-modern targets (not just ppc)
2014-01-24 16:38:40 +00:00
2013-12-20 15:57:38 +00:00
* Fri Dec 20 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.2-2
- add --with-blas, --enable-lto to configure
2013-10-16 07:43:37 +00:00
* Tue Oct 15 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.2-1
- update to 3.0.2
2013-08-12 16:02:22 +00:00
* Mon Aug 12 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.1-4
- add support for unversioned docdir in F20+
2013-08-12 18:02:22 +00:00
- fix compile on arm (thanks Debian, wish you'd upstreamed that patch)
2013-08-12 16:02:22 +00:00
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-18 19:26:50 +00:00
* Sat May 18 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.1-2
- conditionalize the ugly hack for fedora 19+
2013-05-17 20:55:52 +00:00
* Fri May 17 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.1-1
- update to 3.0.1
* Sat Apr 13 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.0-2
- add Requires: tex(inconsolata.sty) to -core-devel to fix module PDF building
2013-04-05 21:05:26 +00:00
* Fri Apr 5 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.0-1
- update to 3.0.0
* Wed Feb 27 2013 Tom Callaway <spot@fedoraproject.org> - 2.15.2-7
- add BuildRequires: xz-devel (for system xz/lzma support)
- create R-core-devel
2013-01-27 16:05:40 +00:00
* Sat Jan 26 2013 Kevin Fenzi <kevin@scrye.com> - 2.15.2-6
- Rebuild for new icu
* Sun Jan 20 2013 Tom Callaway <spot@fedoraproject.org> - 2.15.2-5
- apply upstream fix for cairo issues (bz 891983)
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 2.15.2-4
- rebuild due to "jpeg8-ABI" feature drop
2012-11-27 21:47:47 +00:00
* Tue Nov 27 2012 Tom Callaway <spot@fedoraproject.org> - 2.15.2-3
- add Requires: tex(cm-super-ts1.enc) for R-devel
* Tue Nov 27 2012 Tom Callaway <spot@fedoraproject.org> - 2.15.2-2
- add additional TeX font requirements to R-devel for Fedora 18+ (due to new texlive)
2012-10-29 19:57:49 +00:00
* Mon Oct 29 2012 Tom Callaway <spot@fedoraproject.org> - 2.15.2-1
- update to 2.15.2
- R now Requires: R-java (for a more complete base install)
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-02 16:58:49 +00:00
* Mon Jul 2 2012 Tom Callaway <spot@fedoraproject.org> - 2.15.1-1
- update to 2.15.1
2012-07-02 09:02:39 +00:00
* Mon Jul 2 2012 Jindrich Novy <jnovy@redhat.com> - 2.15.0-4
- fix LaTeX and dvips dependencies (#836817)
2012-05-07 21:57:40 +00:00
* Mon May 7 2012 Tom Callaway <spot@fedoraproject.org> - 2.15.0-3
- rebuild for new libtiff
2012-04-24 19:18:54 +00:00
* Tue Apr 24 2012 Tom Callaway <spot@fedoraproject.org> - 2.15.0-2
- rebuild for new icu
2012-03-30 22:10:53 +00:00
* Fri Mar 30 2012 Tom Callaway <spot@fedoraproject.org> - 2.15.0-1
- Update to 2.15.0
2012-02-10 14:31:59 +00:00
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.14.1-3
- Rebuild against PCRE 8.30
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2012-01-04 20:31:56 +00:00
* Wed Jan 4 2012 Tom Callaway <spot@fedoraproject.org> - 2.14.1-1
- update to 2.14.1
2011-11-16 14:33:09 +00:00
* Tue Nov 8 2011 Tom Callaway <spot@fedoraproject.org> - 2.14.0-3
- No inconsolata for EL
* Mon Nov 7 2011 Tom Callaway <spot@fedoraproject.org> - 2.14.0-2
- add texinfo-tex to Requires for -devel package
* Wed Nov 2 2011 Tom Callaway <spot@fedoraproject.org> - 2.14.0-1
- update to 2.14.0
2011-10-07 21:04:56 +00:00
* Fri Oct 7 2011 Tom Callaway <spot@fedoraproject.org> - 2.13.2-1
- update to 2.13.2
2011-09-12 18:55:36 +00:00
* Mon Sep 12 2011 Michel Salim <salimma@fedoraproject.org> - 2.13.1-5
- rebuild for libicu 4.8.x
2011-08-09 16:28:57 +00:00
* Tue Aug 9 2011 Tom Callaway <spot@fedoraproject.org> - 2.13.1-4
- fix salimma's scriptlets to be on -core instead of the metapackage
* Tue Aug 9 2011 Michel Salim <salimma@fedoraproject.org> - 2.13.1-3
- Symlink LaTeX files, and rehash on package change when possible (# 630835)
* Mon Aug 8 2011 Tom Callaway <spot@fedoraproject.org> - 2.13.1-2
- add BuildRequires: less
2011-07-11 18:39:21 +00:00
* Mon Jul 11 2011 Tom Callaway <spot@fedoraproject.org> - 2.13.1-1
- update to 2.13.1
2013-02-28 19:32:55 +00:00
* Tue Apr 12 2011 Tom Callaway <spot@fedoraproject.org> - 2.13.0-1
2011-04-14 17:54:11 +00:00
- update to 2.13.0
- add convenience symlink for include directory (bz 688295)
2011-03-07 16:48:26 +00:00
* Mon Mar 07 2011 Caolán McNamara <caolanm@redhat.com> - 2.12.2-2
- rebuild for icu 4.6
2011-02-27 17:15:33 +00:00
* Sun Feb 27 2011 Tom Callaway <spot@fedoraproject.org> - 2.12.2-1
- update to 2.12.2
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-18 00:28:52 +00:00
* Fri Dec 17 2010 Tom Callaway <spot@fedoraproject.org> - 2.12.1-1
- update to 2.12.1
2010-10-20 19:07:56 +00:00
* Wed Oct 20 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12.0-1
- update to 2.12.0
2010-07-07 18:39:30 +00:00
* Wed Jul 7 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11.1-4
- include COPYING in libRmath package
* Wed Jun 30 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11.1-3
- move libRmath static lib into libRmath-static subpackage
* Thu Jun 3 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11.1-2
- overload R_LIBS_SITE instead of R_LIBS
2010-06-01 18:57:16 +00:00
* Tue Jun 1 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11.1-1
- update to 2.11.1
2010-04-22 21:56:33 +00:00
* Thu Apr 22 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11.0-1
- update to 2.11.0
2010-04-02 13:52:52 +00:00
* Fri Apr 02 2010 Caolán McNamara <caolanm@redhat.com> - 2.10.1-2
- rebuild for icu 4.4
2009-12-22 23:29:51 +00:00
* Mon Dec 21 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.10.1-1
- update to 2.10.1
- enable static html pages
* Mon Nov 9 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.10.0-2
- get rid of index.txt scriptlet on R-core (bz 533572)
- leave macro in place, but don't call /usr/lib/rpm/R-make-search-index.sh equivalent anymore
- add version check to see if we need to run R-make-search-index.sh guts
2009-11-05 04:43:17 +00:00
* Wed Nov 4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.10.0-1
- update to 2.10.0
- use correct compiler for ARM
* Thu Oct 15 2009 Karsten Hopp <karsten@redhat.com> 2.9.2-2
- s390 (not s390x) needs the -m31 compiler flag
2009-08-24 19:39:59 +00:00
* Mon Aug 24 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.9.2-1
- Update to 2.9.2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri Jul 10 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.9.1-2
- don't try to make the PDFs in rawhide/i586
* Thu Jul 9 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.9.1-1
- update to 2.9.1
- fix versioned provides
2009-04-20 14:45:15 +00:00
* Mon Apr 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.9.0-2
- properly Provide/Obsolete R-Matrix
2009-04-17 20:12:43 +00:00
* Fri Apr 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.9.0-1
- update to 2.9.0, change vim dep to vi
* Tue Apr 7 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.1-9
- drop profile.d scripts, they broke more than they fixed
- minimize hard-coded Requires based on Martyn Plummer's analysis
* Sat Mar 28 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.1-8
- fix profile scripts for situation where R_HOME is already defined
(bugzilla 492706)
2009-03-25 01:59:42 +00:00
* Tue Mar 24 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.1-7
- bump for new tag
* Tue Mar 24 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.1-6
- add profile.d scripts to set R_HOME
- rpmlint cleanups
* Mon Mar 23 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.1-5
- add R-java and R-java-devel "dummy" packages, so that we can get java dependent R-modules
to build/install
* Wed Mar 4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.1-4
- update post scriptlet (bz 477076)
* 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
* 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)
* 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
* 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)
* 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
* 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
* 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
* 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)
* 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
2013-02-28 19:32:55 +00:00
* Tue Sep 12 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.1-2
2006-09-13 21:45:09 +00:00
- 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)
* 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
* 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
* 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
* 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
* 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.
2013-02-28 19:32:55 +00:00
* Wed 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
2013-02-28 19:32:55 +00:00
* Tue 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
2013-02-28 19:32:55 +00:00
* Mon 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>
2009-08-24 19:39:59 +00:00
- 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
2013-02-28 19:32:55 +00:00
* Tue 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
2009-08-24 19:39:59 +00:00
- 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