[packages/R-cran-XML] - new

baggins baggins at pld-linux.org
Thu Oct 18 14:06:42 CEST 2012


commit 71677a2e7dbffd92ef7757d309fbad02a180a248
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Oct 18 14:06:30 2012 +0200

    - new

 R-cran-XML.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
---
diff --git a/R-cran-XML.spec b/R-cran-XML.spec
new file mode 100644
index 0000000..3aebea0
--- /dev/null
+++ b/R-cran-XML.spec
@@ -0,0 +1,44 @@
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	XML
+Summary:	Tools for parsing and generating XML within R and S-Plus
+Name:		R-cran-%{modulename}
+Version:	3.95r0.1
+Release:	1
+License:	GPL
+Group:		Applications/Databases
+Source0:	http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	99704cb3e240f5ee56ccd11425831acb
+URL:		http://www.omegahat.org/RSXML
+BuildRequires:	R >= 2.8.1
+BuildRequires:	texlive-fonts-cmsuper
+BuildRequires:	texlive-latex-ae
+BuildRequires:	texlive-latex-bibtex
+BuildRequires:	texlive-xetex
+BuildRequires:	libxml2-devel
+BuildRequires:	pkgconfig
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides many approaches for both reading and creating
+XML (and HTML) documents (including DTDs), both local and accessible
+via HTTP or FTP. It also offers access to an XPath "interpreter".
+
+%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-XML.git/commitdiff/71677a2e7dbffd92ef7757d309fbad02a180a248



More information about the pld-cvs-commit mailing list