source: projects/specs/trunk/p/povray/povray-vl.spec @ 11396

Revision 11396, 3.0 KB checked in by ara_t, 6 years ago (diff)

povlay: update to 3.7.0.7

Line 
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
6Summary: A widely used ray tracing package
7Summary(ja): 広く使用されているレイトレーシングソフトウェア
8Name:    %{pkg_name}
9Version: %{pkg_version}
10Release: %{pkg_release}
11
12License: AGPLv3+
13Group:   Applications/Multimedia
14URL:     http://www.povray.org/
15
16Source0: %{name}-%{version}.tar.gz
17
18Buildroot: %{_tmppath}/%{name}-%{version}-root
19
20BuildRequires: libjpeg-turbo-devel libpng-devel libtiff-devel
21BuildRequires: zlib-devel
22BuildRequires: libboost-devel
23BuildRequires: libboost-date-time
24BuildRequires: libboost-thread
25BuildRequires: OpenEXR-devel
26
27Vendor: Project Vine
28Distribution: Vine Linux
29
30
31%description
32A 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.
34POV-ray is currently developed and supported by members of CompuServe
35Graphics Developers' Forum.  The first stage of the process is
36describing what you want to depict, either by using an interactive
37modeling system like a CAD package, or by creating a text file which
38uses a programming language-like syntax to describe the elements of
39the image.  In both cases, you have to specify the objects, their
40shape, their location, their color, their texture and their
41illumination. Then you input the information to the raytracer program
42and wait (and wait and wait...raytracing isn't speedy) for its
43output (the image).
44
45
46%prep
47%setup -q
48
49%build
50pushd unix/
51./prebuild.sh
52popd
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
Note: See TracBrowser for help on using the repository browser.