R-rgl-vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. %define pkg_name rgl
  2. %define pkg_version 0.95.1441
  3. %define pkg_release 3%{?_dist_release}
  4. Summary: GNU R package - rgl: 3D Visualization Using OpenGL
  5. Name: R-%{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: GPLv2 or 3
  9. Group: Applications/Edutainment
  10. URL: https://cran.ism.ac.jp/
  11. Source0: https://cran.ism.ac.jp/src/contrib/%{pkg_name}_%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: R >= 2.15.0
  14. BuildRequires: xorg-x11-devel
  15. BuildRequires: freeglut-devel
  16. BuildRequires: libpng-devel
  17. Requires: R >= 2.15.0
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: ara_t
  21. %description
  22. Provides medium to high level functions for 3D interactive graphics,
  23. including functions modelled on base graphics (plot3d(), etc.)
  24. as well as functions for constructing representations of
  25. geometric objects (cube3d(), etc.).
  26. Output may be on screen using OpenGL, or to various standard 3D file formats
  27. including WebGL, PLY, OBJ, STL
  28. as well as 2D image formats, including PNG, Postscript, SVG, PGF.
  29. %prep
  30. %{__rm} -rf ${RPM_BUILD_ROOT}
  31. %build
  32. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_libdir}/R/library
  33. R CMD INSTALL %{_sourcedir}/%{pkg_name}_%{version}.tar.gz \
  34. -l ${RPM_BUILD_ROOT}%{_libdir}/R/library
  35. %clean
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. %files
  38. %defattr(-, root, root)
  39. %{_libdir}/R/library
  40. %changelog
  41. * Tue Jun 28 2016 Toshiaki Ara <ara_t@384.jp> 0.95.1441-3
  42. - rebuild with gcc-5.4.0
  43. * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 0.95.1441-2
  44. - correct SPEC file
  45. * Thu Jan 28 2016 Toshiaki Ara <ara_t@384.jp> 0.95.1441-1
  46. - new package