]> git.pld-linux.org Git - packages/R-cran-XML.git/blob - R-cran-XML.spec
- up to 3.98-1.1
[packages/R-cran-XML.git] / R-cran-XML.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      XML
3 Summary:        Tools for parsing and generating XML within R and S-Plus
4 Name:           R-cran-%{modulename}
5 Version:        3.98r1.1
6 Release:        1
7 License:        GPL
8 Group:          Applications/Databases
9 Source0:        http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
10 # Source0-md5:  d7e5b216dc83174a9e931517955013c5
11 URL:            http://www.omegahat.org/RSXML
12 BuildRequires:  R >= 2.8.1
13 BuildRequires:  texlive-fonts-cmsuper
14 BuildRequires:  texlive-latex-ae
15 BuildRequires:  texlive-latex-bibtex
16 BuildRequires:  texlive-xetex
17 BuildRequires:  libxml2-devel
18 BuildRequires:  pkgconfig
19 BuildRequires:  zlib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package provides many approaches for both reading and creating
24 XML (and HTML) documents (including DTDs), both local and accessible
25 via HTTP or FTP. It also offers access to an XPath "interpreter".
26
27 %prep
28 %setup -q -c
29
30 %build
31 R CMD build %{modulename}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
36 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc %{modulename}/DESCRIPTION
44 %{_libdir}/R/library/%{modulename}
This page took 0.060851 seconds and 3 git commands to generate.