- new master
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 6 May 2014 10:58:09 +0000 (12:58 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 6 May 2014 10:58:09 +0000 (12:58 +0200)
R-cran-rJava.spec [new file with mode: 0644]

diff --git a/R-cran-rJava.spec b/R-cran-rJava.spec
new file mode 100644 (file)
index 0000000..5b29b1e
--- /dev/null
@@ -0,0 +1,41 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      rJava
+Summary:       Low-level R to Java interface
+Name:          R-cran-%{modulename}
+Version:       0.9r6
+Release:       1
+License:       GPL
+Group:         Applications/Math
+Source0:       http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 935d35c11f6060137ddd95784055ef4c
+URL:           http://cran.r-project.org/web/packages/rJava/index.html
+BuildRequires: R >= 2.8.1
+BuildRequires: jdk
+BuildRequires: texlive-fonts-cmsuper
+BuildRequires: texlive-latex-ae
+BuildRequires: texlive-latex-bibtex
+BuildRequires: texlive-xetex
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Low-level interface to Java VM very much like .C/.Call and friends.
+Allows creation of objects, calling methods and accessing fields.
+
+%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}
This page took 0.097395 seconds and 4 git commands to generate.