Projects
home:Eustace:branches:Eulaceura:Factory
R-cpp11
_service:obs_scm:R-cpp11.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:R-cpp11.spec of Package R-cpp11
%bcond_without bootstrap %global packname cpp11 %global packver 0.4.2 %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: 0.4.2 Release: 1 Summary: A C++11 Interface for R's C Interface License: MIT URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) %if %{without bootstrap} BuildRequires: R-bench BuildRequires: R-brio BuildRequires: R-callr BuildRequires: R-cli BuildRequires: R-covr BuildRequires: R-decor BuildRequires: R-desc BuildRequires: R-ggplot2 BuildRequires: R-glue BuildRequires: R-knitr BuildRequires: R-lobstr BuildRequires: R-mockery BuildRequires: R-progress BuildRequires: R-rmarkdown BuildRequires: R-scales BuildRequires: R-Rcpp BuildRequires: R-testthat BuildRequires: R-tibble BuildRequires: R-utils BuildRequires: R-vctrs BuildRequires: R-withr %endif %description Provides a header only, C++11 interface to R's C interface. Compared to other approaches 'cpp11' strives to be safe against long jumps from the C API as well as C++ exceptions, conform to normal R function semantics and supports interaction with 'ALTREP' vectors. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel Development files for %{name}. %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 %if %{without bootstrap} %{_bindir}/R CMD check %{packname} %else _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples --no-tests --no-vignettes %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.md %license %{rlibdir}/%{packname}/LICENSE %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %files devel %{rlibdir}/%{packname}/include %changelog * Thu Jun 16 2022 misaka00251 <misaka00251@misakanet.cn> - 0.4.2-1 - Init package (Thanks to fedora team)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2