packages: R-cran-bigmemory/R-cran-bigmemory.spec (NEW) - R bigmemory packag...

wrobell wrobell at pld-linux.org
Sat Nov 6 16:50:58 CET 2010


Author: wrobell                      Date: Sat Nov  6 15:50:58 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- R bigmemory package (spec based on R-cran-RPostgreSQL.spec)

---- Files affected:
packages/R-cran-bigmemory:
   R-cran-bigmemory.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/R-cran-bigmemory/R-cran-bigmemory.spec
diff -u /dev/null packages/R-cran-bigmemory/R-cran-bigmemory.spec:1.1
--- /dev/null	Sat Nov  6 16:50:58 2010
+++ packages/R-cran-bigmemory/R-cran-bigmemory.spec	Sat Nov  6 16:50:53 2010
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	bigmemory
+Summary:	Massive matrices creation, access and manipulation
+Name:		R-cran-%{modulename}
+Version:	4.2.3
+Release:	1
+License:	GPL
+Group:		Applications/Databases
+Source0:	ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	57bab87f26f20868727a90ecd88c9b9e
+BuildRequires:	R >= 2.8.1
+Requires(post,postun):	R >= 2.8.1
+Requires(post,postun):	perl-base
+Requires(post,postun):	textutils
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Create, store, access, and manipulate massive matrices. Matrices are
+allocated to shared memory and may use memory-mapped files. Packages
+biganalytics, bigtabulate, synchronicity, and bigalgebra provide advanced
+functionality.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
+R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+#%post
+#(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
+# R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
+
+#%postun
+#if [ -f %{_libdir}/R/bin/Rcmd ];then
+#	(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
+#	R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
+#fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/DESCRIPTION
+%{_libdir}/R/library/%{modulename}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/11/06 15:50:53  wrobell
+- R bigmemory package (spec based on R-cran-RPostgreSQL.spec)
+
================================================================


More information about the pld-cvs-commit mailing list