[packages/R-cran-RUnit] - new

baggins baggins at pld-linux.org
Fri Oct 19 11:53:14 CEST 2012


commit d8f1482aa4d6311a61dd43ca7e3458327b21ac52
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 19 11:52:58 2012 +0200

    - new

 R-cran-RUnit.spec | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
---
diff --git a/R-cran-RUnit.spec b/R-cran-RUnit.spec
new file mode 100644
index 0000000..9dde43e
--- /dev/null
+++ b/R-cran-RUnit.spec
@@ -0,0 +1,40 @@
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	RUnit
+Summary:	R Unit test framework
+Name:		R-cran-%{modulename}
+Version:	0.4.26
+Release:	1
+License:	GPL
+Group:		Applications/Databases
+Source0:	http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	48dd8f4771eb4241d4178ffc702fab5b
+URL:		https://sourceforge.net/projects/runit/
+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
+R functions implementing a standard Unit Testing framework,
+with additional code inspection and report generation tools.
+
+%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-RUnit.git/commitdiff/d8f1482aa4d6311a61dd43ca7e3458327b21ac52



More information about the pld-cvs-commit mailing list