[packages/R-cran-SparseM] - new
baggins
baggins at pld-linux.org
Fri Oct 19 11:49:46 CEST 2012
commit 37ddb548353fab2fe1b63343c546187490bfa4f8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Oct 19 11:49:33 2012 +0200
- new
R-cran-SparseM.spec | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
---
diff --git a/R-cran-SparseM.spec b/R-cran-SparseM.spec
new file mode 100644
index 0000000..fbd6a97
--- /dev/null
+++ b/R-cran-SparseM.spec
@@ -0,0 +1,39 @@
+%define fversion %(echo %{version} |tr r -)
+%define modulename SparseM
+Summary: Sparse Linear Algebra
+Name: R-cran-%{modulename}
+Version: 0.96
+Release: 1
+License: GPL
+Group: Applications/Databases
+Source0: http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 7a7fb397ccf648774b5b01c0722b399d
+URL: http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html
+BuildRequires: R >= 2.8.1
+BuildRequires: texlive-fonts-cmsuper
+BuildRequires: texlive-latex-ae
+BuildRequires: texlive-latex-bibtex
+BuildRequires: texlive-xetex
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Basic linear algebra for sparse matrices.
+
+%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
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/DESCRIPTION
+%{_libdir}/R/library/%{modulename}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/R-cran-SparseM.git/commitdiff/37ddb548353fab2fe1b63343c546187490bfa4f8
More information about the pld-cvs-commit
mailing list