Compare commits

...

22 Commits
master ... f9

Author SHA1 Message Date
Fedora Release Engineering fca5ea0209 dist-git conversion 2010-07-28 09:15:21 +00:00
Bill Nottingham caf248b5ac Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 00:21:01 +00:00
Tom Callaway cf732500e9 Provide/Obsolete R-Matrix package 2009-04-20 14:45:14 +00:00
Tom Callaway ab892e566f 2.9.0 2009-04-17 20:12:43 +00:00
Tom Callaway 61d7244d50 drop profile.d scripts, minimize hard coded Requires 2009-04-07 18:07:05 +00:00
Tom Callaway 95115a9640 fix profile scripts to handle case where R_HOME is already defined 2009-03-28 16:42:48 +00:00
Tom Callaway 5d8327ede9 bump to 7, forgot to cvs add scripts 2009-03-25 01:59:42 +00:00
Tom Callaway b523e6d230 add RHOME shell helper scripts, rpmlint cleanups 2009-03-25 01:55:47 +00:00
Tom Callaway 6712eb8c10 R-java, R-java-devel for F-9, F-10 too 2009-03-24 01:50:37 +00:00
Tom Callaway dcd8fce9b8 fix EPEL R-make-search-index.sh, improve java scriptlet 2009-03-04 20:50:11 +00:00
Tom Callaway e5963d75aa Add pango-devel to BuildRequires, fix versioned dependency on libRmath 2009-01-05 15:11:50 +00:00
Tom Callaway 25f70bb156 2.8.1 2008-12-22 16:27:49 +00:00
Tom Callaway 86bd37e076 whoops. 2008-10-26 20:18:31 +00:00
Tom Callaway 5fc20a11bc push 2.8.0 to all branches 2008-10-26 20:11:25 +00:00
Tom Callaway 356092a1d0 update everyone to 2.7.2, fix security bug 460658 2008-08-29 15:53:53 +00:00
Tom Callaway acfd47b442 update to 2.7.1 2008-07-07 20:55:48 +00:00
Tom Callaway 380829e71f build cairo backend 2008-05-28 21:06:52 +00:00
Tom Callaway 7874cc1f07 fix all the broken links 2008-05-21 19:26:14 +00:00
Tom Callaway 51863c68f2 fix poorly constructed file paths in html/packages.html (bz 442727) 2008-05-21 15:30:27 +00:00
Tom Callaway 0ff7b991ab fix sources 2008-05-13 17:55:55 +00:00
Tom Callaway 422200a05f R 2.7.0 everywhere 2008-05-13 16:55:29 +00:00
Jesse Keating c003b21a86 Initialize branch F-9 for R 2008-04-21 17:55:16 +00:00
11 changed files with 956 additions and 89 deletions

View File

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: R
# $Id$
NAME := R
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

18
R-2.7.0-bad-path.patch Normal file
View File

@ -0,0 +1,18 @@
Index: src/unix/Makefile.in
===================================================================
--- src/unix/Makefile.in (revision 45534)
+++ src/unix/Makefile.in (revision 45535)
@@ -78,11 +78,11 @@
-e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
> "$(DESTDIR)$(libdir)/pkgconfig/libR.pc"
-install: install-main install-Rscript
+install: install-main
install: @WANT_R_SHLIB_TRUE@ install-pc
install: @WANT_R_STATIC_TRUE@ install-pc
-install-main:
+install-main: install-Rscript
@$(MKINSTALLDIRS) "$(DESTDIR)$(bindir)"
@$(INSTALL_PROGRAM) Rscript "$(DESTDIR)$(bindir)/Rscript"

View File

@ -0,0 +1,27 @@
diff -up R-2.7.1/src/scripts/javareconf.BAD R-2.7.1/src/scripts/javareconf
--- R-2.7.1/src/scripts/javareconf.BAD 2008-08-29 11:04:21.000000000 -0400
+++ R-2.7.1/src/scripts/javareconf 2008-08-29 11:05:34.000000000 -0400
@@ -125,16 +125,17 @@ fi
javac_works='not present'
if test -n "$JAVAC"; then
javac_works='not functional'
- rm -rf /tmp/A.java /tmp/A.class
- echo "public class A { }" > /tmp/A.java
- if test -e /tmp/A.java; then
- if "${JAVAC}" /tmp/A.java >/dev/null; then
- if test -e /tmp/A.class; then
+ tempdir=`mktemp -d`
+ echo "public class A { }" > ${tempdir}/A.java
+ if test -e ${tempdir}/A.java; then
+ if "${JAVAC}" ${tempdir}/A.java >/dev/null; then
+ if test -e ${tempdir}/A.class; then
javac_works=yes
fi
fi
fi
- rm -rf /tmp/A.java /tmp/A.class
+ rm -rf ${tempdir}
+
fi
if test "${javac_works}" = yes; then
echo "Java compiler : ${JAVAC}"

View File

@ -0,0 +1,11 @@
--- R-2.7.2/configure.org 2008-09-25 15:00:20.000000000 +0900
+++ R-2.7.2/configure 2008-09-25 15:00:35.000000000 +0900
@@ -26995,7 +26995,7 @@
;;
# Ignore these flags.
- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
+ -little | -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
;;
-lkernel32)
test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

View File

@ -0,0 +1,26 @@
diff -up R-2.8.0/configure.BAD R-2.8.0/configure
--- R-2.8.0/configure.BAD 2008-10-26 11:51:56.000000000 -0400
+++ R-2.8.0/configure 2008-10-26 11:52:31.000000000 -0400
@@ -44779,6 +44779,11 @@ else
have_bzlib=no
fi
if test "x${have_bzlib}" = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_BZLIB_H 1
+_ACEOF
+
{ echo "$as_me:$LINENO: checking if bzip2 version >= 1.0.5" >&5
echo $ECHO_N "checking if bzip2 version >= 1.0.5... $ECHO_C" >&6; }
if test "${r_cv_have_bzlib+set}" = set; then
diff -up R-2.8.0/m4/R.m4.BAD R-2.8.0/m4/R.m4
--- R-2.8.0/m4/R.m4.BAD 2008-09-21 18:05:06.000000000 -0400
+++ R-2.8.0/m4/R.m4 2008-10-26 11:53:05.000000000 -0400
@@ -3055,6 +3055,7 @@ else
have_bzlib=no
fi
if test "x${have_bzlib}" = xyes; then
+AC_DEFINE(HAVE_BZLIB_H, 1, [Define to 1 if you have bzlib.h.])
AC_CACHE_CHECK([if bzip2 version >= 1.0.5], [r_cv_have_bzlib],
[AC_LANG_PUSH(C)
r_save_LIBS="${LIBS}"

View File

@ -7,9 +7,15 @@ TMP_R_HOME=`R RHOME`
# Ideally, we could ask R just like we do for RHOME, but we can't yet.
TMP_R_DOC_DIR=`grep "R_DOC_DIR=" /usr/bin/R | cut -d "=" -f 2`
# Write out all the contents in arch and noarch library locations
# Write out all the contents in arch library locations
cat $TMP_R_HOME/library/*/CONTENTS > $TMP_R_DOC_DIR/html/search/index.txt 2>/dev/null
# Don't use .. based paths, substitute TMP_R_HOME
sed -i "s!../../..!$TMP_R_HOME!g" $TMP_R_DOC_DIR/html/search/index.txt
# Write out all the contents in noarch library locations
cat /usr/share/R/library/*/CONTENTS >> $TMP_R_DOC_DIR/html/search/index.txt 2>/dev/null
# Don't use .. based paths, substitute /usr/share/R
sed -i "s!../../..!/usr/share/R!g" $TMP_R_DOC_DIR/html/search/index.txt
exit 0

7
R.csh Normal file
View File

@ -0,0 +1,7 @@
# Some R modules are not smart enough to ask R for the value of RHOME
# and instead depend on the R_HOME environment variable.
# Set R_HOME only if it is not already set.
if ( ${?R_HOME} == 0 ) then
set RHOME = `R RHOME`
setenv R_HOME $RHOME
endif

4
R.sh Normal file
View File

@ -0,0 +1,4 @@
# Some R modules are not smart enough to ask R for the value of RHOME
# and instead depend on the R_HOME environment variable.
# Set R_HOME only if it is not already set.
test "a$R_HOME" = "a" && export R_HOME="`R RHOME`"

921
R.spec

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
1099cbf02c624ceb459d9bbc4d0d1448 R-2.6.2.tar.gz
a5b79a2bc1372136cda4674b5f46d146 R-2.9.0.tar.gz