]> git.pld-linux.org Git - packages/R-cran-abind.git/commitdiff
- initital AC-branch AC-STABLE auto/ac/R-cran-abind-1_1r0-1
authorundefine <undefine@pld-linux.org>
Wed, 17 Nov 2004 00:38:22 +0000 (00:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R-cran-abind.spec -> 1.1

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

diff --git a/R-cran-abind.spec b/R-cran-abind.spec
new file mode 100644 (file)
index 0000000..2ec8643
--- /dev/null
@@ -0,0 +1,54 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      abind
+Summary:       Combine multi-dimensional arrays
+Summary(pl):   £±czy wielowymiarowe tablice
+Name:          R-cran-%{modulename}
+Version:       1.1r0
+Release:       1
+License:       LGPL Version 2 or later.
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: e70921be502d58d9edb1a1b64af44d48
+BuildRequires: R-base >= 2.0.0
+Requires(post,postun): R-base >= 2.0.0
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Combine multi-dimensional arrays. This is a generalization of cbind
+and rbind. Takes a sequence of vectors, matrices, or arrays and
+produces a single array of the same or higher dimension.
+
+%description -l pl
+£±czy wielowymiarowe tablice. Jest uogólnieniem cbind i rbind. Pobiera listê
+wektorów, matryc lub tablic oraz tworzy pojedyñcz± tablice tego samego lub
+wy¿szego wymiaru.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+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 --htmllist)
+
+%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 --htmllist)
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/{DESCRIPTION,ChangeLog}
+%{_libdir}/R/library/%{modulename}
This page took 0.048847 seconds and 4 git commands to generate.