File R-base.spec of Package R-base

#
# spec file for package R-base
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           R-base
%define release 1 
Version:        2.15.1
Release:        %release
Source:         R-%{version}.tar.bz2
#Source: http://cran.r-project.org/src/base/R-2/R-%%{version}.tar.gz

Url:            http://www.r-project.org/

Summary:        R - statistics package (S-Plus like)
License:        GPL-2.0 or GPL-3.0
Group:          Productivity/Scientific/Math
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  cairo-devel
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  gcc-fortran
BuildRequires:  libjpeg-devel
BuildRequires:  libpng-devel
BuildRequires:  libtiff-devel
BuildRequires:  perl
BuildRequires:  readline-devel
%if %suse_version <=1020
BuildRequires:  te_latex
BuildRequires:  tetex
%endif
%if %suse_version > 1020
BuildRequires:  fdupes
BuildRequires:  texlive-bin
BuildRequires:  texlive-bin-latex
BuildRequires:  texlive-latex
%endif
%if %suse_version > 1120 
BuildRequires:  texlive-fonts-extra
%endif
BuildRequires:  pango-devel
BuildRequires:  tcl-devel
BuildRequires:  texinfo
BuildRequires:  tk-devel
BuildRequires:  xorg-x11-devel
Requires:       cairo >= 1.2
Requires:       fontconfig
Requires:       freetype2
Requires:       readline
Requires:       xdg-utils
Requires:       xorg-x11-fonts-100dpi
Requires:       xorg-x11-fonts-75dpi

Provides:       R = %{version}
Provides:       R-KernSmooth = 2.23.7
Provides:       R-MASS = 7.3.18
Provides:       R-Matrix = 1.0.6
Obsoletes:      R-Matrix < 1.0.6
Provides:       R-boot = 1.3.4
Provides:       R-class = 7.3.3
Provides:       R-cluster = 1.14.2
Provides:       R-codetools = 0.2.8
Provides:       R-compiler = %{version}
Provides:       R-datasets = %{version}
Provides:       R-foreign = 0.8.50
Provides:       R-grDevices = %{version}
Provides:       R-graphics = %{version}
Provides:       R-grid = %{version}
Provides:       R-lattice = 0.20.6
Provides:       R-methods = %{version}
Provides:       R-mgcv = 1.7.18
Provides:       R-nlme = 3.1.104
Provides:       R-nnet = 7.3.1
Provides:       R-rpart = 3.1.53
Provides:       R-spatial = 7.3.3
Provides:       R-splines = %{version}
Provides:       R-stats = %{version}
Provides:       R-stats4 = %{version}
Provides:       R-survival = 2.36.14
Provides:       R-tcltk = %{version}
Provides:       R-tools = %{version}
Provides:       R-utils = %{version}

%description
R is a language which is not entirely unlike the S language developed at
AT&T Bell Laboratories by Rick Becker, John Chambers and Allan Wilks.

%package -n R-base-devel
Summary:        Libraries and includefiles for developing with R-base
Group:          Development/Libraries/Other
Provides:       R-Matrix-devel = 1.0.6
Provides:       R-devel = %{version}
Requires:       R-base
Obsoletes:      R-Matrix-devel < 1.0.6

%description -n R-base-devel
This package provides the necessary development headers and
libraries to allow you to devel with R-base.

%prep 

%setup -n R-%{version}

%build 
export R_BROWSER="xdg-open"
export R_PDFVIEWER="xdg-open"
%configure --enable-R-shlib

make %{?_smp_mflags}
make pdf
make info
# Convert to UTF-8
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=%{buildroot} install

%find_lang R

make DESTDIR=%{buildroot} install-pdf

# Installation of Info-files
%{__install} -m 755 -d %{_infodir}
make DESTDIR=%{buildroot} INFODIR=%{buildroot}%{_infodir} install-info
%{__rm} -f %{buildroot}%{_infodir}/dir
%{__rm} -f %{buildroot}%{_infodir}/dir.old

chmod +x %{buildroot}%{_libdir}/R/share/sh/echo.sh

chmod -x %{buildroot}%{_libdir}/R/library/mgcv/CITATION

%if %suse_version > 1020    
%fdupes -s $RPM_BUILD_ROOT  
%endif

# Install ld.so.conf.d file to ensure other applications access the shared lib
mkdir -p %{buildroot}/etc/ld.so.conf.d
cat << EOF >%{buildroot}/etc/ld.so.conf.d/R.conf
%{_libdir}/R/lib
EOF

%post
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/R-exts.info-1.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-FAQ.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-lang.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-admin.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-exts.info-2.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-intro.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-data.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-exts.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/R-ints.info.gz

%postun
/sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-exts.info-1.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-FAQ.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-lang.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-admin.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-exts.info-2.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-intro.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-data.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-exts.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/R-ints.info.gz

%files -f R.lang
%defattr(-, root, root)

## All languages files. Seems there is no short way to include all of them

# base
%dir %{_libdir}/R/library/base/
%{_libdir}/R/library/base/CITATION
%{_libdir}/R/library/base/demo/
%{_libdir}/R/library/base/DESCRIPTION
%{_libdir}/R/library/base/help/
%{_libdir}/R/library/base/html/
%{_libdir}/R/library/base/INDEX
%{_libdir}/R/library/base/Meta/
%dir %{_libdir}/R/library/base/po/
%lang(da) %{_libdir}/R/library/base/po/da/
%lang(de) %{_libdir}/R/library/base/po/de/
%lang(en) %{_libdir}/R/library/base/po/en*/
%lang(fr) %{_libdir}/R/library/base/po/fr/
%lang(it) %{_libdir}/R/library/base/po/it/
%lang(ja) %{_libdir}/R/library/base/po/ja/
%lang(ko) %{_libdir}/R/library/base/po/ko/
%lang(pl) %{_libdir}/R/library/base/po/pl/
%lang(pt) %{_libdir}/R/library/base/po/pt*/
%lang(ru) %{_libdir}/R/library/base/po/ru/
%lang(tr) %{_libdir}/R/library/base/po/tr/
%lang(zh) %{_libdir}/R/library/base/po/zh*/
%{_libdir}/R/library/base/R/
# boot
%dir %{_libdir}/R/library/boot/
%{_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/
%lang(de) %{_libdir}/R/library/boot/po/de/
%lang(en) %{_libdir}/R/library/boot/po/en*/
%lang(fr) %{_libdir}/R/library/boot/po/fr/
%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/LICENCE
%{_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/
%{_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
%{_libdir}/R/library/cluster/R/
%dir %{_libdir}/R/library/cluster/po/
%lang(de) %{_libdir}/R/library/cluster/po/de/
%lang(en) %{_libdir}/R/library/cluster/po/en*/
# 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/
# compiler
%dir %{_libdir}/R/library/compiler/
%{_libdir}/R/library/compiler/DESCRIPTION
%{_libdir}/R/library/compiler/help/
%{_libdir}/R/library/compiler/html/
%{_libdir}/R/library/compiler/INDEX
%{_libdir}/R/library/compiler/Meta/
%{_libdir}/R/library/compiler/NAMESPACE
%{_libdir}/R/library/compiler/R/
%dir %{_libdir}/R/library/compiler/po
%lang(da) %{_libdir}/R/library/compiler/po/da/
%lang(de) %{_libdir}/R/library/compiler/po/de/
%lang(en) %{_libdir}/R/library/compiler/po/en*/
%lang(fr) %{_libdir}/R/library/compiler/po/fr/
%lang(ja) %{_libdir}/R/library/compiler/po/ja/
%lang(pl) %{_libdir}/R/library/compiler/po/pl/
%lang(pt) %{_libdir}/R/library/compiler/po/pt_BR/
%lang(ru) %{_libdir}/R/library/compiler/po/ru/
%lang(zh_CN) %{_libdir}/R/library/compiler/po/zh_CN/
# datasets
%dir %{_libdir}/R/library/datasets/
%{_libdir}/R/library/datasets/data/
%{_libdir}/R/library/datasets/DESCRIPTION
%{_libdir}/R/library/datasets/help/
%{_libdir}/R/library/datasets/html/
%{_libdir}/R/library/datasets/INDEX
%{_libdir}/R/library/datasets/Meta/
%{_libdir}/R/library/datasets/NAMESPACE
# foreign
%dir %{_libdir}/R/library/foreign/
%{_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/LICENCE
%{_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/
%{_libdir}/R/library/foreign/R/
# graphics
%dir %{_libdir}/R/library/graphics/
%{_libdir}/R/library/graphics/demo/
%{_libdir}/R/library/graphics/DESCRIPTION
%{_libdir}/R/library/graphics/help/
%{_libdir}/R/library/graphics/html/
%{_libdir}/R/library/graphics/INDEX
%{_libdir}/R/library/graphics/Meta/
%{_libdir}/R/library/graphics/NAMESPACE
%dir %{_libdir}/R/library/graphics/po/
%lang(da) %{_libdir}/R/library/graphics/po/da/
%lang(de) %{_libdir}/R/library/graphics/po/de/
%lang(en) %{_libdir}/R/library/graphics/po/en*/
%lang(fr) %{_libdir}/R/library/graphics/po/fr/
%lang(it) %{_libdir}/R/library/graphics/po/it/
%lang(ja) %{_libdir}/R/library/graphics/po/ja/
%lang(ko) %{_libdir}/R/library/graphics/po/ko/
%lang(pl) %{_libdir}/R/library/graphics/po/pl/
%lang(pt_BR) %{_libdir}/R/library/graphics/po/pt_BR/
%lang(ru) %{_libdir}/R/library/graphics/po/ru/
%lang(zh) %{_libdir}/R/library/graphics/po/zh*/
%{_libdir}/R/library/graphics/R/
# grDevices
%dir %{_libdir}/R/library/grDevices
%{_libdir}/R/library/grDevices/afm/
%{_libdir}/R/library/grDevices/DESCRIPTION
%{_libdir}/R/library/grDevices/enc/
%{_libdir}/R/library/grDevices/help/
%{_libdir}/R/library/grDevices/html/
%{_libdir}/R/library/grDevices/icc/
%{_libdir}/R/library/grDevices/INDEX
%{_libdir}/R/library/grDevices/libs/
%{_libdir}/R/library/grDevices/Meta/
%{_libdir}/R/library/grDevices/NAMESPACE
%dir %{_libdir}/R/library/grDevices/po/
%lang(da) %{_libdir}/R/library/grDevices/po/da/
%lang(de) %{_libdir}/R/library/grDevices/po/de/
%lang(en) %{_libdir}/R/library/grDevices/po/en*/
%lang(fr) %{_libdir}/R/library/grDevices/po/fr/
%lang(it) %{_libdir}/R/library/grDevices/po/it/
%lang(ja) %{_libdir}/R/library/grDevices/po/ja/
%lang(ko) %{_libdir}/R/library/grDevices/po/ko/
%lang(pl) %{_libdir}/R/library/grDevices/po/pl/
%lang(pt_BR) %{_libdir}/R/library/grDevices/po/pt_BR/
%lang(ru) %{_libdir}/R/library/grDevices/po/ru/
%lang(zh) %{_libdir}/R/library/grDevices/po/zh*/
%{_libdir}/R/library/grDevices/R/
# grid
%dir %{_libdir}/R/library/grid/
%{_libdir}/R/library/grid/DESCRIPTION
%{_libdir}/R/library/grid/doc/
%{_libdir}/R/library/grid/help/
%{_libdir}/R/library/grid/html/
%{_libdir}/R/library/grid/INDEX
%{_libdir}/R/library/grid/libs/
%{_libdir}/R/library/grid/Meta/
%{_libdir}/R/library/grid/NAMESPACE
%dir %{_libdir}/R/library/grid/po/
%lang(da) %{_libdir}/R/library/grid/po/da/
%lang(de) %{_libdir}/R/library/grid/po/de/
%lang(en) %{_libdir}/R/library/grid/po/en*/
%lang(fr) %{_libdir}/R/library/grid/po/fr*/
%lang(it) %{_libdir}/R/library/grid/po/it/
%lang(ja) %{_libdir}/R/library/grid/po/ja/
%lang(ko) %{_libdir}/R/library/grid/po/ko/
%lang(pl) %{_libdir}/R/library/grid/po/pl/
%lang(pt) %{_libdir}/R/library/grid/po/pt*/
%lang(ru) %{_libdir}/R/library/grid/po/ru/
%lang(zh) %{_libdir}/R/library/grid/po/zh*/
%{_libdir}/R/library/grid/R/
# 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/LICENCE
%{_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*/
%{_libdir}/R/library/KernSmooth/R/
# lattice
%dir %{_libdir}/R/library/lattice/
%{_libdir}/R/library/lattice/CITATION
%{_libdir}/R/library/lattice/LICENSE
%{_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/
%{_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/LICENCE
%{_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/
%{_libdir}/R/library/MASS/R/
%{_libdir}/R/library/MASS/scripts/
# 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/INDEX
%{_libdir}/R/library/Matrix/libs/
%{_libdir}/R/library/Matrix/Meta/
%{_libdir}/R/library/Matrix/NAMESPACE
%dir %{_libdir}/R/library/Matrix/po/
%lang(de) %{_libdir}/R/library/Matrix/po/de/
%lang(en) %{_libdir}/R/library/Matrix/po/en*/
%{_libdir}/R/library/Matrix/R/
%{_libdir}/R/library/Matrix/test-tools.R
%{_libdir}/R/library/Matrix/test-tools-1.R
%{_libdir}/R/library/Matrix/test-tools-Matrix.R
# methods
%dir %{_libdir}/R/library/methods/
%{_libdir}/R/library/methods/DESCRIPTION
%{_libdir}/R/library/methods/help/
%{_libdir}/R/library/methods/html/
%{_libdir}/R/library/methods/INDEX
%{_libdir}/R/library/methods/libs/
%{_libdir}/R/library/methods/Meta/
%{_libdir}/R/library/methods/NAMESPACE
%dir %{_libdir}/R/library/methods/po/
%lang(da) %{_libdir}/R/library/methods/po/da/
%lang(de) %{_libdir}/R/library/methods/po/de/
%lang(en) %{_libdir}/R/library/methods/po/en*/
%lang(fr) %{_libdir}/R/library/methods/po/fr/
%lang(ja) %{_libdir}/R/library/methods/po/ja/
%lang(ko) %{_libdir}/R/library/methods/po/ko/
%lang(pl) %{_libdir}/R/library/methods/po/pl/
%lang(pt) %{_libdir}/R/library/methods/po/pt*/
%lang(ru) %{_libdir}/R/library/methods/po/ru/
%lang(zh) %{_libdir}/R/library/methods/po/zh*/
%{_libdir}/R/library/methods/R/
# mgcv
%dir %{_libdir}/R/library/mgcv/
%{_libdir}/R/library/mgcv/CITATION
%{_libdir}/R/library/mgcv/DESCRIPTION
%{_libdir}/R/library/mgcv/help/
%{_libdir}/R/library/mgcv/data
%{_libdir}/R/library/mgcv/html/
%{_libdir}/R/library/mgcv/INDEX
%{_libdir}/R/library/mgcv/libs/
%{_libdir}/R/library/mgcv/Meta/
%{_libdir}/R/library/mgcv/NAMESPACE
%{_libdir}/R/library/mgcv/R/
# 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/LICENCE
%{_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/
%{_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/LICENCE
%{_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/
%{_libdir}/R/library/nnet/R/
# parallel
%dir %{_libdir}/R/library/parallel/
%{_libdir}/R/library/parallel/DESCRIPTION
%{_libdir}/R/library/parallel/INDEX
%dir %{_libdir}/R/library/parallel/Meta
%{_libdir}/R/library/parallel/Meta/Rd.rds
%{_libdir}/R/library/parallel/Meta/hsearch.rds
%{_libdir}/R/library/parallel/Meta/links.rds
%{_libdir}/R/library/parallel/Meta/nsInfo.rds
%{_libdir}/R/library/parallel/Meta/package.rds
%{_libdir}/R/library/parallel/NAMESPACE
%dir %{_libdir}/R/library/parallel/R
%{_libdir}/R/library/parallel/R/parallel
%{_libdir}/R/library/parallel/R/parallel.rdb
%{_libdir}/R/library/parallel/R/parallel.rdx
%dir %{_libdir}/R/library/parallel/doc
%{_libdir}/R/library/parallel/doc/parallel.pdf
%dir %{_libdir}/R/library/parallel/help
%{_libdir}/R/library/parallel/help/AnIndex
%{_libdir}/R/library/parallel/help/aliases.rds
%{_libdir}/R/library/parallel/help/parallel.rdb
%{_libdir}/R/library/parallel/help/parallel.rdx
%{_libdir}/R/library/parallel/help/paths.rds
%dir %{_libdir}/R/library/parallel/html
%{_libdir}/R/library/parallel/html/00Index.html
%{_libdir}/R/library/parallel/html/R.css
%dir %{_libdir}/R/library/parallel/libs
%{_libdir}/R/library/parallel/libs/parallel.so
%dir %{_libdir}/R/library/parallel/po
%lang(da) %{_libdir}/R/library/parallel/po/da/
%lang(de) %{_libdir}/R/library/parallel/po/de/
%lang(en) %{_libdir}/R/library/parallel/po/en*/
%lang(fr) %{_libdir}/R/library/parallel/po/fr/
%lang(pl) %{_libdir}/R/library/parallel/po/pl/
%lang(ru) %{_libdir}/R/library/parallel/po/ru/
%lang(zh_CN) %{_libdir}/R/library/parallel/po/zh_CN/
# rpart
%dir %{_libdir}/R/library/rpart/
%{_libdir}/R/library/rpart/data/
%{_libdir}/R/library/rpart/DESCRIPTION
%{_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
%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/
%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/LICENCE
%{_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/
%{_libdir}/R/library/spatial/ppdata/
%{_libdir}/R/library/spatial/PP.files
%{_libdir}/R/library/spatial/R/
# splines
%dir %{_libdir}/R/library/splines/
%{_libdir}/R/library/splines/DESCRIPTION
%{_libdir}/R/library/splines/help/
%{_libdir}/R/library/splines/html/
%{_libdir}/R/library/splines/INDEX
%{_libdir}/R/library/splines/libs/
%{_libdir}/R/library/splines/Meta/
%{_libdir}/R/library/splines/NAMESPACE
%dir %{_libdir}/R/library/splines/po
%lang(da) %{_libdir}/R/library/splines/po/da/
%lang(de) %{_libdir}/R/library/splines/po/de/
%lang(en) %{_libdir}/R/library/splines/po/en*/
%lang(fr) %{_libdir}/R/library/splines/po/fr/
%lang(ja) %{_libdir}/R/library/splines/po/ja/
%lang(ko) %{_libdir}/R/library/splines/po/ko/
%lang(pl) %{_libdir}/R/library/splines/po/pl/
%lang(pt) %{_libdir}/R/library/splines/po/pt*/
%lang(ru) %{_libdir}/R/library/splines/po/ru/
%lang(zh) %{_libdir}/R/library/splines/po/zh*/
%{_libdir}/R/library/splines/R/
# stats
%dir %{_libdir}/R/library/stats/
%{_libdir}/R/library/stats/COPYRIGHTS.modreg
%{_libdir}/R/library/stats/demo/
%{_libdir}/R/library/stats/DESCRIPTION
%{_libdir}/R/library/stats/help/
%{_libdir}/R/library/stats/html/
%{_libdir}/R/library/stats/INDEX
%{_libdir}/R/library/stats/libs/
%{_libdir}/R/library/stats/Meta/
%{_libdir}/R/library/stats/NAMESPACE
%dir %{_libdir}/R/library/stats/po
%lang(da) %{_libdir}/R/library/stats/po/da/
%lang(de) %{_libdir}/R/library/stats/po/de/
%lang(en) %{_libdir}/R/library/stats/po/en*/
%lang(fr) %{_libdir}/R/library/stats/po/fr/
%lang(it) %{_libdir}/R/library/stats/po/it/
%lang(ja) %{_libdir}/R/library/stats/po/ja/
%lang(ko) %{_libdir}/R/library/stats/po/ko/
%lang(pl) %{_libdir}/R/library/stats/po/pl/
%lang(pt) %{_libdir}/R/library/stats/po/pt*/
%lang(ru) %{_libdir}/R/library/stats/po/ru/
%lang(tr) %{_libdir}/R/library/stats/po/tr/
%lang(zh) %{_libdir}/R/library/stats/po/zh*/
%{_libdir}/R/library/stats/R/
%{_libdir}/R/library/stats/SOURCES.ts
# stats4
%dir %{_libdir}/R/library/stats4/
%{_libdir}/R/library/stats4/DESCRIPTION
%{_libdir}/R/library/stats4/help/
%{_libdir}/R/library/stats4/html/
%{_libdir}/R/library/stats4/INDEX
%{_libdir}/R/library/stats4/Meta/
%{_libdir}/R/library/stats4/NAMESPACE
%dir %{_libdir}/R/library/stats4/po
%lang(da) %{_libdir}/R/library/stats4/po/da/
%lang(de) %{_libdir}/R/library/stats4/po/de/
%lang(en) %{_libdir}/R/library/stats4/po/en*/
%lang(fr) %{_libdir}/R/library/stats4/po/fr/
%lang(it) %{_libdir}/R/library/stats4/po/it/
%lang(ja) %{_libdir}/R/library/stats4/po/ja/
%lang(ko) %{_libdir}/R/library/stats4/po/ko/
%lang(pl) %{_libdir}/R/library/stats4/po/pl/
%lang(pt) %{_libdir}/R/library/stats4/po/pt*/
%lang(ru) %{_libdir}/R/library/stats4/po/ru/
%lang(tr) %{_libdir}/R/library/stats4/po/tr/
%lang(zh) %{_libdir}/R/library/stats4/po/zh*/
%{_libdir}/R/library/stats4/R/
# survival
%dir %{_libdir}/R/library/survival/
%{_libdir}/R/library/survival/data/
%{_libdir}/R/library/survival/CITATION
%{_libdir}/R/library/survival/doc/
%{_libdir}/R/library/survival/DESCRIPTION
%{_libdir}/R/library/survival/help/
%{_libdir}/R/library/survival/html/
%{_libdir}/R/library/survival/INDEX
%{_libdir}/R/library/survival/libs/
%{_libdir}/R/library/survival/Meta/
%{_libdir}/R/library/survival/NAMESPACE
%{_libdir}/R/library/survival/NEWS.Rd
%{_libdir}/R/library/survival/R/
# tcltk
%dir %{_libdir}/R/library/tcltk/
%{_libdir}/R/library/tcltk/demo/
%{_libdir}/R/library/tcltk/DESCRIPTION
%{_libdir}/R/library/tcltk/exec/
%{_libdir}/R/library/tcltk/help/
%{_libdir}/R/library/tcltk/html/
%{_libdir}/R/library/tcltk/INDEX
%{_libdir}/R/library/tcltk/libs/
%{_libdir}/R/library/tcltk/Meta/
%{_libdir}/R/library/tcltk/NAMESPACE
%dir %{_libdir}/R/library/tcltk/po/
%lang(da) %{_libdir}/R/library/tcltk/po/da/
%lang(de) %{_libdir}/R/library/tcltk/po/de/
%lang(en) %{_libdir}/R/library/tcltk/po/en*/
%lang(fr) %{_libdir}/R/library/tcltk/po/fr/
%lang(it) %{_libdir}/R/library/tcltk/po/it/
%lang(ja) %{_libdir}/R/library/tcltk/po/ja/
%lang(ko) %{_libdir}/R/library/tcltk/po/ko/
%lang(pl) %{_libdir}/R/library/tcltk/po/pl/
%lang(pt) %{_libdir}/R/library/tcltk/po/pt*/
%lang(ru) %{_libdir}/R/library/tcltk/po/ru/
%lang(zh) %{_libdir}/R/library/tcltk/po/zh*/
%{_libdir}/R/library/tcltk/R/
# tools
%dir %{_libdir}/R/library/tools/
%{_libdir}/R/library/tools/DESCRIPTION
%{_libdir}/R/library/tools/help/
%{_libdir}/R/library/tools/html/
%{_libdir}/R/library/tools/INDEX
%{_libdir}/R/library/tools/libs/
%{_libdir}/R/library/tools/Meta/
%{_libdir}/R/library/tools/NAMESPACE
%dir %{_libdir}/R/library/tools/po
%lang(da) %{_libdir}/R/library/tools/po/da/
%lang(de) %{_libdir}/R/library/tools/po/de/
%lang(en) %{_libdir}/R/library/tools/po/en*/
%lang(fr) %{_libdir}/R/library/tools/po/fr/
%lang(it) %{_libdir}/R/library/tools/po/it/
%lang(ja) %{_libdir}/R/library/tools/po/ja/
%lang(ko) %{_libdir}/R/library/tools/po/ko/
%lang(pl) %{_libdir}/R/library/tools/po/pl/
%lang(pt) %{_libdir}/R/library/tools/po/pt*/
%lang(ru) %{_libdir}/R/library/tools/po/ru/
%lang(tr) %{_libdir}/R/library/tools/po/tr/
%lang(zh) %{_libdir}/R/library/tools/po/zh*/
%{_libdir}/R/library/tools/R/
# utils
%dir %{_libdir}/R/library/utils/
%{_libdir}/R/library/utils/DESCRIPTION
%{_libdir}/R/library/utils/help/
%{_libdir}/R/library/utils/html/
%{_libdir}/R/library/utils/iconvlist
%{_libdir}/R/library/utils/INDEX
%{_libdir}/R/library/utils/Meta/
%{_libdir}/R/library/utils/misc/
%{_libdir}/R/library/utils/NAMESPACE
%dir %{_libdir}/R/library/utils/po
%lang(da) %{_libdir}/R/library/utils/po/da/
%lang(de) %{_libdir}/R/library/utils/po/de/
%lang(en) %{_libdir}/R/library/utils/po/en*/
%lang(fr) %{_libdir}/R/library/utils/po/fr/
%lang(ja) %{_libdir}/R/library/utils/po/ja/
%lang(ko) %{_libdir}/R/library/utils/po/ko/
%lang(pl) %{_libdir}/R/library/utils/po/pl/
%lang(pt_BR) %{_libdir}/R/library/utils/po/pt_BR/
%lang(ru) %{_libdir}/R/library/utils/po/ru/
%lang(tr) %{_libdir}/R/library/utils/po/tr/
%lang(zh) %{_libdir}/R/library/utils/po/zh*/
%{_libdir}/R/library/utils/R/
%{_libdir}/R/library/utils/Sweave/
%{_libdir}/R/library/utils/doc/

# R-base main part
%doc README
%{_mandir}/man1/R.1*
%{_mandir}/man1/Rscript.1*
%doc %{_libdir}/R/COPYING
%doc %{_libdir}/R/NEWS
%doc %{_libdir}/R/NEWS.pdf
%doc %{_libdir}/R/SVN-REVISION
%{_infodir}/*.gz
%doc %{_libdir}/R/doc/
%dir %{_libdir}/R
/usr/bin/*
%{_libdir}/R/bin/
%{_libdir}/R/etc/
%{_libdir}/R/lib/
%{_libdir}/R/modules/
%dir %{_libdir}/R/share
%dir %{_libdir}/R/library
%{_libdir}/R/share/encodings/
%{_libdir}/R/share/java/
%dir %{_libdir}/R/share/locale/
%{_libdir}/R/share/locale/da
%{_libdir}/R/share/locale/da/LC_MESSAGES
%{_libdir}/R/share/locale/de
%{_libdir}/R/share/locale/de/LC_MESSAGES
%{_libdir}/R/share/locale/en
%{_libdir}/R/share/locale/en/LC_MESSAGES
%{_libdir}/R/share/locale/en@quot
%{_libdir}/R/share/locale/en@quot/LC_MESSAGES
%{_libdir}/R/share/locale/en_GB
%{_libdir}/R/share/locale/en_GB/LC_MESSAGES
%{_libdir}/R/share/locale/es
%{_libdir}/R/share/locale/es/LC_MESSAGES
%{_libdir}/R/share/locale/fr
%{_libdir}/R/share/locale/fr/LC_MESSAGES
%{_libdir}/R/share/locale/it
%{_libdir}/R/share/locale/it/LC_MESSAGES
%{_libdir}/R/share/locale/ja
%{_libdir}/R/share/locale/ja/LC_MESSAGES
%{_libdir}/R/share/locale/ko
%{_libdir}/R/share/locale/ko/LC_MESSAGES
%{_libdir}/R/share/locale/nn
%{_libdir}/R/share/locale/nn/LC_MESSAGES
%{_libdir}/R/share/locale/pl
%{_libdir}/R/share/locale/pl/LC_MESSAGES
%{_libdir}/R/share/locale/pt_BR
%{_libdir}/R/share/locale/pt_BR/LC_MESSAGES
%{_libdir}/R/share/locale/ru
%{_libdir}/R/share/locale/ru/LC_MESSAGES
%{_libdir}/R/share/locale/tr
%{_libdir}/R/share/locale/tr/LC_MESSAGES
%{_libdir}/R/share/locale/zh_CN
%{_libdir}/R/share/locale/zh_CN/LC_MESSAGES
%{_libdir}/R/share/locale/zh_TW
%{_libdir}/R/share/locale/zh_TW/LC_MESSAGES

%{_libdir}/R/share/licenses/
%{_libdir}/R/share/make/
%{_libdir}/R/share/R/
%{_libdir}/R/share/sh/
%{_libdir}/R/share/texmf/
# ld.so.conf
/etc/ld.so.conf.d/R.conf

%files -n R-base-devel
%defattr(-, root, root)
%{_libdir}/R/include/
%{_libdir}/pkgconfig/libR.pc
%{_libdir}/R/library/Matrix/include/

%changelog