[packages/R-cran-gtable] - new

baggins baggins at pld-linux.org
Fri Nov 29 12:58:23 CET 2013


commit 80c569e61f7bba3c59a3a5d2f2c45014001bb6e1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 29 12:58:11 2013 +0100

    - new

 R-cran-gtable.spec | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/R-cran-gtable.spec b/R-cran-gtable.spec
new file mode 100644
index 0000000..7b9923d
--- /dev/null
+++ b/R-cran-gtable.spec
@@ -0,0 +1,39 @@
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	gtable
+Summary:	Arrange grobs in tables
+Name:		R-cran-%{modulename}
+Version:	0.1.2
+Release:	1
+License:	GPL v2
+Group:		Applications/Math
+Source0:	ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	be491aa5220f0059a0e1cb04679b6563
+URL:		http://cran.fhcrc.org/web/packages/gtable/index.html
+BuildRequires:	R >= 2.8.1
+Requires(post,postun):	R >= 2.8.1
+Requires(post,postun):	perl-base
+Requires(post,postun):	textutils
+Requires:	R
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tools to make it easier to work with "tables" of grobs.
+
+%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-gtable.git/commitdiff/80c569e61f7bba3c59a3a5d2f2c45014001bb6e1



More information about the pld-cvs-commit mailing list