]> git.pld-linux.org Git - packages/R-cran-bigmemory.git/commitdiff
- R bigmemory package (spec based on R-cran-RPostgreSQL.spec)
authorwrobell <wrobell@pld-linux.org>
Sat, 6 Nov 2010 15:50:53 +0000 (15:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R-cran-bigmemory.spec -> 1.1

R-cran-bigmemory.spec [new file with mode: 0644]

diff --git a/R-cran-bigmemory.spec b/R-cran-bigmemory.spec
new file mode 100644 (file)
index 0000000..0695f20
--- /dev/null
@@ -0,0 +1,50 @@
+%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}
This page took 0.083501 seconds and 4 git commands to generate.