1 | %define pkg_name povray |
---|
2 | %define short_version 3.7 |
---|
3 | %define pkg_version 3.7.0.7 |
---|
4 | %define pkg_release 2%{?_dist_release} |
---|
5 | |
---|
6 | Summary: A widely used ray tracing package |
---|
7 | Summary(ja): 広く使用されているレイトレーシングソフトウェア |
---|
8 | Name: %{pkg_name} |
---|
9 | Version: %{pkg_version} |
---|
10 | Release: %{pkg_release} |
---|
11 | |
---|
12 | License: AGPLv3+ |
---|
13 | Group: Applications/Multimedia |
---|
14 | URL: http://www.povray.org/ |
---|
15 | |
---|
16 | Source0: %{name}-%{version}.tar.gz |
---|
17 | |
---|
18 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | BuildRequires: libjpeg-turbo-devel libpng-devel libtiff-devel |
---|
21 | BuildRequires: zlib-devel |
---|
22 | BuildRequires: libboost-devel |
---|
23 | BuildRequires: libboost-date-time |
---|
24 | BuildRequires: libboost-thread |
---|
25 | BuildRequires: OpenEXR-devel |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | |
---|
30 | |
---|
31 | %description |
---|
32 | A widely used ray tracing package, Persistence of Vision's Ray Tracer |
---|
33 | (POV-ray) is based on David Buck's original ray tracer, DKB-Trace. |
---|
34 | POV-ray is currently developed and supported by members of CompuServe |
---|
35 | Graphics Developers' Forum. The first stage of the process is |
---|
36 | describing what you want to depict, either by using an interactive |
---|
37 | modeling system like a CAD package, or by creating a text file which |
---|
38 | uses a programming language-like syntax to describe the elements of |
---|
39 | the image. In both cases, you have to specify the objects, their |
---|
40 | shape, their location, their color, their texture and their |
---|
41 | illumination. Then you input the information to the raytracer program |
---|
42 | and wait (and wait and wait...raytracing isn't speedy) for its |
---|
43 | output (the image). |
---|
44 | |
---|
45 | |
---|
46 | %prep |
---|
47 | %setup -q |
---|
48 | |
---|
49 | %build |
---|
50 | pushd unix/ |
---|
51 | ./prebuild.sh |
---|
52 | popd |
---|
53 | |
---|
54 | %configure COMPILED_BY="Project Vine" CXXFLAGS="-std=c++11" |
---|
55 | %{__make} %{?_smp_mflags} |
---|
56 | |
---|
57 | %install |
---|
58 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
59 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
60 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{short_version} |
---|
61 | |
---|
62 | %post -p %{_syssbindir}/ldconfig |
---|
63 | |
---|
64 | %postun -p %{_syssbindir}/ldconfig |
---|
65 | |
---|
66 | %clean |
---|
67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
68 | |
---|
69 | |
---|
70 | %files |
---|
71 | %defattr(-,root,root) |
---|
72 | %doc LICENSE README.md unix/AUTHORS unix/COPYING unix/ChangeLog unix/NEWS |
---|
73 | %doc doc/* |
---|
74 | %{_bindir}/* |
---|
75 | %{_mandir}/man?/* |
---|
76 | %{_datadir}/%{name}-%{short_version} |
---|
77 | %config(noreplace) %{_sysconfdir}/%{name}/%{short_version}/povray.* |
---|
78 | |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Tue Jan 16 2018 Toshiaki Ara <ara_t@384.jp> 3.7.0.7-2 |
---|
82 | - correct SPEC file name |
---|
83 | |
---|
84 | * Tue Jan 16 2018 Toshiaki Ara <ara_t@384.jp> 3.7.0.7-1 |
---|
85 | - update to 3.7.0.7 |
---|
86 | - delete old ChangeLog |
---|
87 | |
---|
88 | * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 3.6.1-1vl5 |
---|
89 | - applied new versioning policy |
---|
90 | |
---|
91 | * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 3.6.1-0vl2 |
---|
92 | - added x86_64 to ExclusiveArch |
---|
93 | |
---|
94 | * Sat Oct 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.6.1-0vl1 |
---|
95 | - new upstream release |
---|
96 | |
---|
97 | * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 3.1g-1vl3 |
---|
98 | - a bit tweak spec |
---|
99 | - s/Buildarch/ExclusiveArch/ and enabled it for %%{ix86} |
---|
100 | - install man pages into %%{_mandir} |
---|
101 | |
---|
102 | * Sun Oct 15 2000 MACHINO, Satoshi <machino@vinelinux.org> 3.1g-1vl2 |
---|
103 | - added sparc in Buildarch |
---|
104 | - fixed for brp-redhat scripts |
---|
105 | |
---|
106 | * Sun Jun 11 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
107 | - 3.1g-1vl1 |
---|
108 | - added a small patch for non-ix86 archtectures |
---|
109 | |
---|