Init package
This commit is contained in:
parent
d729ebdc3f
commit
fa74cc3aaf
67
R-XML.spec
Normal file
67
R-XML.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
%global packname XML
|
||||||
|
%global packver 3.99-0.6
|
||||||
|
%global rlibdir %{_libdir}/R/library
|
||||||
|
|
||||||
|
Name: R-%{packname}
|
||||||
|
Version: 3.99.0.6
|
||||||
|
Release: 1
|
||||||
|
Summary: Tools for Parsing and Generating XML Within R and S-Plus
|
||||||
|
|
||||||
|
License: BSD
|
||||||
|
URL: https://CRAN.R-project.org/package=%{packname}
|
||||||
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: R-devel
|
||||||
|
BuildRequires: tex(latex)
|
||||||
|
BuildRequires: R-methods
|
||||||
|
BuildRequires: R-utils
|
||||||
|
BuildRequires: R-bitops
|
||||||
|
BuildRequires: R-RCurl
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
Many approaches for both reading and creating XML (and HTML) documents
|
||||||
|
(including DTDs), both local and accessible via HTTP or FTP. Also offers
|
||||||
|
access to an XPath "interpreter".
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c -n %{packname}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{rlibdir}
|
||||||
|
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
|
||||||
|
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
||||||
|
rm -f %{buildroot}%{rlibdir}/R.css
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{_bindir}/R CMD check %{packname}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{rlibdir}/%{packname}
|
||||||
|
%doc %{rlibdir}/%{packname}/html
|
||||||
|
%{rlibdir}/%{packname}/DESCRIPTION
|
||||||
|
%license %{rlibdir}/%{packname}/COPYRIGHTS
|
||||||
|
%license %{rlibdir}/%{packname}/LICENSE
|
||||||
|
%{rlibdir}/%{packname}/INDEX
|
||||||
|
%{rlibdir}/%{packname}/NAMESPACE
|
||||||
|
%{rlibdir}/%{packname}/Meta
|
||||||
|
%{rlibdir}/%{packname}/R
|
||||||
|
%{rlibdir}/%{packname}/help
|
||||||
|
%dir %{rlibdir}/%{packname}/libs
|
||||||
|
%{rlibdir}/%{packname}/libs/%{packname}.so
|
||||||
|
%{rlibdir}/%{packname}/examples
|
||||||
|
%{rlibdir}/%{packname}/exampleData
|
||||||
|
%{rlibdir}/%{packname}/scripts
|
||||||
|
%{rlibdir}/%{packname}/FAQ.html
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jun 15 2022 misaka00251 <misaka00251@misakanet.cn> - 3.99.0.6-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
BIN
XML_3.99-0.6.tar.gz
Normal file
BIN
XML_3.99-0.6.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user