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