FC3 version, enable gnome, add more dependencies (blas)

This commit is contained in:
Tom Callaway 2005-04-15 15:48:35 +00:00
parent c8870663c1
commit 6b8622f152
1 changed files with 16 additions and 8 deletions

24
R.spec
View File

@ -1,6 +1,6 @@
Name: R Name: R
Version: 2.0.1 Version: 2.0.1
Release: 10 Release: 11
Summary: A language for data analysis and graphics Summary: A language for data analysis and graphics
URL: http://www.r-project.org URL: http://www.r-project.org
Source0: ftp://cran.r-project.org/pub/R/src/base/R-2/R-%{version}.tar.gz Source0: ftp://cran.r-project.org/pub/R/src/base/R-2/R-%{version}.tar.gz
@ -9,12 +9,13 @@ Patch1: R-2.0.1-gcc4.patch
License: GPL License: GPL
Group: Applications/Engineering Group: Applications/Engineering
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran BuildRequires: gcc-g77
BuildRequires: gcc-c++, tetex-latex, texinfo BuildRequires: gcc-c++, tetex-latex, texinfo
BuildRequires: libpng-devel, libjpeg-devel, readline-devel, libtermcap-devel BuildRequires: libpng-devel, libjpeg-devel, readline-devel, libtermcap-devel
BuildRequires: XFree86-devel BuildRequires: XFree86-devel, libglade-devel
BuildRequires: tcl-devel, tk-devel BuildRequires: tcl-devel, tk-devel, gnome-libs-devel
Requires: evince, cups, firefox BuildRequires: blas >= 3.0, pcre-devel, zlib-devel
Requires: ggv, cups, firefox
# These are the submodules that R provides. Sometimes R modules say they # These are the submodules that R provides. Sometimes R modules say they
# depend on one of these submodules rather than just R. These are # depend on one of these submodules rather than just R. These are
@ -68,7 +69,7 @@ Summary: files for development of R packages.
Group: Applications/Engineering Group: Applications/Engineering
Requires: R = %{version} Requires: R = %{version}
# You need all the BuildRequires for the development version # You need all the BuildRequires for the development version
Requires: gcc-c++, gcc-gfortran, tetex-latex, texinfo Requires: gcc-c++, gcc-g77, tetex-latex, texinfo
Requires: libpng-devel, libjpeg-devel, readline-devel, libtermcap-devel Requires: libpng-devel, libjpeg-devel, readline-devel, libtermcap-devel
Requires: XFree86-devel Requires: XFree86-devel
Requires: tcl-devel, tk-devel Requires: tcl-devel, tk-devel
@ -79,6 +80,7 @@ Install R-devel if you are going to develop or compile R packages.
%package -n libRmath %package -n libRmath
Summary: standalone math library from the R project Summary: standalone math library from the R project
Group: Development/Libraries Group: Development/Libraries
%description -n libRmath %description -n libRmath
A standalone library of mathematical and statistical functions derived A standalone library of mathematical and statistical functions derived
from the R project. This packages provides the shared libRmath library. from the R project. This packages provides the shared libRmath library.
@ -87,6 +89,7 @@ from the R project. This packages provides the shared libRmath library.
Summary: standalone math library from the R project Summary: standalone math library from the R project
Group: Development/Libraries Group: Development/Libraries
Requires: libRmath = %{version} Requires: libRmath = %{version}
%description -n libRmath-devel %description -n libRmath-devel
A standalone library of mathematical and statistical functions derived A standalone library of mathematical and statistical functions derived
from the R project. This packages provides the static libRmath library from the R project. This packages provides the static libRmath library
@ -98,10 +101,10 @@ and header files.
%patch1 -p1 %patch1 -p1
%build %build
export R_PDFVIEWER="%{_bindir}/evince" export R_PDFVIEWER="%{_bindir}/ggv"
export R_PRINTCMD="lpr" export R_PRINTCMD="lpr"
export R_BROWSER="%{_bindir}/firefox" export R_BROWSER="%{_bindir}/firefox"
export F77="gfortran" export F77="g77"
( %configure \ ( %configure \
--with-tcl-config=%{_libdir}/tclConfig.sh \ --with-tcl-config=%{_libdir}/tclConfig.sh \
--with-tk-config=%{_libdir}/tkConfig.sh \ --with-tk-config=%{_libdir}/tkConfig.sh \
@ -209,6 +212,11 @@ fi
/sbin/ldconfig /sbin/ldconfig
%changelog %changelog
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-11
- little bump. This is the fc3 package.
- callout to ggv (fc3) instead of evince (fc4)
- BuildRequires: gcc-g77 instead of gcc-gfortran
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-10 * Thu Apr 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.1-10
- bump for cvs errors - bump for cvs errors