1 Summary: Persistence of Vision Ray Tracer
2 Summary(pl): Persistence of Vision Ray Tracer
6 Copyright: distrituable
7 Group: Applications/Graphics
8 Group(pl): Aplikacje/Grafika
9 Source0: ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz
10 Source1: ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_d.tgz
11 Patch: povray-makefile_and_config.patch
12 URL: http://www.povray.org/
13 BuildRequires: zlib-devel
14 BuildRequires: libpng-devel
15 BuildRequires: XFree86-devel
16 BuildRoot: /tmp/%{name}-%{version}-root
19 The Persistence of Vision(tm) Ray-Tracer creates three-dimensional,
20 photo-realistic images using a rendering technique called ray-tracing. It
21 reads in a text file containing information describing the objects and
22 lighting in a scene and generates an image of that scene from the view point
23 of a camera also described in the text file. Ray-tracing is not a fast
24 process by any means, but it produces very high quality images with
25 realistic reflections, shading, perspective and other effects.
28 Persistence of Vision(tm) Ray-Tracer tworzy trójwymiarowe, fotorealistyczne
29 obrazy za pomoc± techniki renderingu zwanej ray-tracing. Program pobiera z
30 pliku tekstowego informacje opisuj±ce obiekty oraz ¶wiat³o przedstawianego
31 ¶wiata, a nastêpnie generuje rysunek z punktu widzenia kamery, która tak¿e
32 jest definiowana w w/w pliku tekstowym. Ray-tracing nie pozwala na szybkie
33 tworzenie obrazów, ale za to twórca otrzymuje wyskokiej jako¶ci bitmapy z
34 realistycznymi efektami, tj. odbicia ¶wiat³a, cienie, perspektywa i inne.
37 %setup -q -n povray31 -b 1
43 OPT_FLAGS="$RPM_OPT_FLAGS"
44 make newunix newxwin OPT_FLAGS="$RPM_OPT_FLAGS"
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/skel,%{_mandir}/man1,%{_datadir}/povray31}
50 install -s source/unix/{povray,x-povray} $RPM_BUILD_ROOT%{_bindir}
51 install source/unix/povrayrc $RPM_BUILD_ROOT/etc/skel/.povrayrc
53 gzip -9nf gamma.gif.txt povray.1 povlegal.doc povuser.txt
55 install povray.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
57 find . -type f -exec chmod 644 {} \;
58 cp -r allscene include scenes $RPM_BUILD_ROOT%{_datadir}/povray31
59 install *.ini *.pov $RPM_BUILD_ROOT%{_datadir}/povray31
62 rm -rf $RPM_BUILD_ROOT
65 %doc gamma.gif.txt.gz povuser.txt.gz gamma.gif povlegal.doc.gz
66 %attr(755,root,root) %{_bindir}/x-povray