Commit 4e176c01 authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Initial commit

dir = $(shell pwd)
pkg = $(notdir $(dir))
spec_file = $(pkg).spec
sources: $(spec_file)
spectool -g $^
%global packname V8
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 1.5
Release: 1%{?dist}
Summary: Embedded JavaScript Engine for R
Group: Applications/Engineering
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends:
# Imports: R-Rcpp R-jsonlite R-curl R-utils
# Suggests: R-testthat R-knitr R-rmarkdown
# LinkingTo:
# Enhances:
Requires: R-Rcpp R-jsonlite R-curl
BuildRequires: R-devel tex(latex)
BuildRequires: R-Rcpp R-jsonlite R-curl
BuildRequires: R-testthat
An R interface to Googles open source JavaScript engine. V8 is written in
C++ and implements ECMAScript as specified in ECMA-262, 5th edition. In
addition, this package implements typed arrays as specified in ECMA 6 used
for high-performance computing and libraries compiled with 'emscripten'.
%setup -q -c -n %{packname}
rm -rf %{buildroot}
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
_R_CHECK_FORCE_SUGGESTS_=False %{_bindir}/R CMD check %{packname}
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/LICENSE
%doc %{rlibdir}/%{packname}/NEWS
* Wed May 17 2017 Klaus Zimmermann <> 1.5-1
- initial package for Fedora
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment