]> git.pld-linux.org Git - packages/R-cran-bigmemory.git/blob - R-cran-bigmemory.spec
0695f200d020cd882de21ccf7f63961b9d5dade7
[packages/R-cran-bigmemory.git] / R-cran-bigmemory.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      bigmemory
3 Summary:        Massive matrices creation, access and manipulation
4 Name:           R-cran-%{modulename}
5 Version:        4.2.3
6 Release:        1
7 License:        GPL
8 Group:          Applications/Databases
9 Source0:        ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10 # Source0-md5:  57bab87f26f20868727a90ecd88c9b9e
11 BuildRequires:  R >= 2.8.1
12 Requires(post,postun):  R >= 2.8.1
13 Requires(post,postun):  perl-base
14 Requires(post,postun):  textutils
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Create, store, access, and manipulate massive matrices. Matrices are
19 allocated to shared memory and may use memory-mapped files. Packages
20 biganalytics, bigtabulate, synchronicity, and bigalgebra provide advanced
21 functionality.
22
23 %prep
24 %setup -q -c
25
26 %build
27 R CMD build %{modulename}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
32 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
33
34 %clean
35 rm -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.05005 seconds and 2 git commands to generate.