- new auto/th/R-cran-xtable-1.7r0-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Oct 2012 11:10:01 +0000 (13:10 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Oct 2012 11:10:01 +0000 (13:10 +0200)
R-cran-xtable.spec [new file with mode: 0644]

diff --git a/R-cran-xtable.spec b/R-cran-xtable.spec
new file mode 100644 (file)
index 0000000..8126b31
--- /dev/null
@@ -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}
This page took 0.079975 seconds and 4 git commands to generate.