]> git.pld-linux.org Git - packages/R-cran-abind.git/blame - R-cran-abind.spec
- converted to UTF-8
[packages/R-cran-abind.git] / R-cran-abind.spec
CommitLineData
56ae82f1 1%define fversion %(echo %{version} |tr r -)
2%define modulename abind
3Summary: Combine multi-dimensional arrays
4a828d59 4Summary(pl.UTF-8): Łączenie wielowymiarowych tablic
56ae82f1 5Name: R-cran-%{modulename}
6Version: 1.1r0
933accfc 7Release: 2
df85abac 8License: LGPL v2+
56ae82f1 9Group: Applications/Math
10Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
11# Source0-md5: e70921be502d58d9edb1a1b64af44d48
933accfc
JR
12BuildRequires: R-base >= 2.4.0
13Requires(post,postun): R-base >= 2.4.0
56ae82f1 14Requires(post,postun): perl-base
15Requires(post,postun): textutils
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Combine multi-dimensional arrays. This is a generalization of cbind
20and rbind. Takes a sequence of vectors, matrices, or arrays and
21produces a single array of the same or higher dimension.
22
4a828d59
JR
23%description -l pl.UTF-8
24Moduł ten łączy wielowymiarowe tablice. Jest uogólnieniem cbind i
25rbind. Pobiera listę wektorów, macierzy lub tablic i tworzy pojedynczą
26tablice tego samego lub wyższego wymiaru.
56ae82f1 27
28%prep
29%setup -q -c
30
31%build
32R CMD build %{modulename}
33
34%install
35rm -rf $RPM_BUILD_ROOT
36R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%post
42(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
933accfc 43 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
56ae82f1 44
45%postun
46if [ -f %{_libdir}/R/bin/Rcmd ];then
47 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
933accfc 48 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
56ae82f1 49fi
50
51%files
52%defattr(644,root,root,755)
53%doc %{modulename}/{DESCRIPTION,ChangeLog}
54%{_libdir}/R/library/%{modulename}
This page took 0.059959 seconds and 4 git commands to generate.