Browse Source

GNU R package - rgl: 3D Visualization Using OpenGL

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10136 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 8 years ago
parent
commit
2a0d9e74df
1 changed files with 59 additions and 0 deletions
  1. 59 0
      R/R-rgl/R-rgl-vl.spec

+ 59 - 0
R/R-rgl/R-rgl-vl.spec

@@ -0,0 +1,59 @@
+%define pkg_name rgl
+%define pkg_version 0.95.1441
+%define pkg_release 2%{?_dist_release}
+
+Summary: GNU R package - rgl: 3D Visualization Using OpenGL
+Name:    R-%{pkg_name}
+Version: %{pkg_version}
+Release: %{pkg_release}
+
+License: GPLv2 or 3
+Group:   Applications/Edutainment
+URL:     https://cran.ism.ac.jp/
+Source0: https://cran.ism.ac.jp/src/contrib/%{pkg_name}_%{version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: R >= 2.15.0
+BuildRequires: xorg-x11-devel
+BuildRequires: freeglut-devel
+BuildRequires: libpng-devel
+Requires: R >= 2.15.0
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: ara_t
+
+
+%description
+Provides medium to high level functions for 3D interactive graphics,
+including functions modelled on base graphics (plot3d(), etc.)
+as well as functions for constructing representations of
+geometric objects (cube3d(), etc.).
+Output may be on screen using OpenGL, or to various standard 3D file formats
+including WebGL, PLY, OBJ, STL
+as well as 2D image formats, including PNG, Postscript, SVG, PGF.
+
+
+%prep
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%build
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_libdir}/R/library
+R CMD INSTALL %{_sourcedir}/%{pkg_name}_%{version}.tar.gz \
+              -l ${RPM_BUILD_ROOT}%{_libdir}/R/library
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-, root, root)
+%{_libdir}/R/library
+
+
+%changelog
+* Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 0.95.1441-2
+- correct SPEC file
+
+* Thu Jan 28 2016 Toshiaki Ara <ara_t@384.jp> 0.95.1441-1
+- new package