[packages/R-cran-xtable] - new
baggins
baggins at pld-linux.org
Thu Oct 18 13:10:13 CEST 2012
commit 5ef0ee6ba76e9e2bf8bb4113b83c0fde1a1ac5cb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Oct 18 13:10:01 2012 +0200
- new
R-cran-xtable.spec | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
---
diff --git a/R-cran-xtable.spec b/R-cran-xtable.spec
new file mode 100644
index 0000000..8126b31
--- /dev/null
+++ b/R-cran-xtable.spec
@@ -0,0 +1,39 @@
+%define fversion %(echo %{version} |tr r -)
+%define modulename xtable
+Summary: Coerce data to LaTeX and HTML tables
+Name: R-cran-%{modulename}
+Version: 1.7r0
+Release: 1
+License: GPL v2+
+Group: Applications/Math
+Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: d830304efcf6e1985366064cb3f83639
+BuildRequires: R >= 2.8.1
+BuildRequires: texlive-latex-ae
+BuildRequires: texlive-latex-booktabs
+Requires: R >= 2.8.1
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Coerce data to LaTeX and HTML tables.
+
+%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
+%doc %{modulename}/NEWS
+%{_libdir}/R/library/%{modulename}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/R-cran-xtable.git/commitdiff/5ef0ee6ba76e9e2bf8bb4113b83c0fde1a1ac5cb
More information about the pld-cvs-commit
mailing list