]> git.pld-linux.org Git - packages/R-cran-bigmemory.git/blame - R-cran-bigmemory.spec
- R bigmemory package (spec based on R-cran-RPostgreSQL.spec)
[packages/R-cran-bigmemory.git] / R-cran-bigmemory.spec
CommitLineData
074c3948 1%define fversion %(echo %{version} |tr r -)
2%define modulename bigmemory
3Summary: Massive matrices creation, access and manipulation
4Name: R-cran-%{modulename}
5Version: 4.2.3
6Release: 1
7License: GPL
8Group: Applications/Databases
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: 57bab87f26f20868727a90ecd88c9b9e
11BuildRequires: R >= 2.8.1
12Requires(post,postun): R >= 2.8.1
13Requires(post,postun): perl-base
14Requires(post,postun): textutils
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Create, store, access, and manipulate massive matrices. Matrices are
19allocated to shared memory and may use memory-mapped files. Packages
20biganalytics, bigtabulate, synchronicity, and bigalgebra provide advanced
21functionality.
22
23%prep
24%setup -q -c
25
26%build
27R CMD build %{modulename}
28
29%install
30rm -rf $RPM_BUILD_ROOT
31install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
32R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
33
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37#%post
38#(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
39# R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
40
41#%postun
42#if [ -f %{_libdir}/R/bin/Rcmd ];then
43# (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
44# R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
45#fi
46
47%files
48%defattr(644,root,root,755)
49%doc %{modulename}/DESCRIPTION
50%{_libdir}/R/library/%{modulename}
This page took 0.082048 seconds and 4 git commands to generate.