3 Summary: Persistence of Vision Ray Tracer
4 Summary(pl): Persistence of Vision Ray Tracer
9 Group: Applications/Graphics
10 Source0: ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz
11 Patch0: %{name}-legal.patch
12 # pvm support not yet available - http://pvmpov.sourceforge.net/
13 URL: http://www.povray.org/
14 BuildRequires: libjpeg-devel
15 BuildRequires: libpng-devel >= 1.0.8
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtiff-devel
18 BuildRequires: zlib-devel
19 %{!?_without_x:BuildRequires:XFree86-devel}
20 #%{!?_without_pvm:BuildRequires:pvm-devel >= 3.4.3-24 }
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _libdir %{_datadir}
26 The Persistence of Vision(tm) Ray-Tracer creates three-dimensional,
27 photo-realistic images using a rendering technique called ray-tracing.
28 It reads in a text file containing information describing the objects
29 and lighting in a scene and generates an image of that scene from the
30 view point of a camera also described in the text file. Ray-tracing is
31 not a fast process by any means, but it produces very high quality
32 images with realistic reflections, shading, perspective and other
36 Persistence of Vision(tm) Ray-Tracer tworzy trójwymiarowe,
37 fotorealistyczne obrazy za pomoc± techniki renderingu zwanej
38 ray-tracing. Program pobiera z pliku tekstowego informacje opisuj±ce
39 obiekty oraz ¶wiat³o przedstawianego ¶wiata, a nastêpnie generuje
40 rysunek z punktu widzenia kamery, która tak¿e jest definiowana w w/w
41 pliku tekstowym. Ray-tracing nie pozwala na szybkie tworzenie obrazów,
42 ale za to twórca otrzymuje wyskokiej jako¶ci bitmapy z realistycznymi
43 efektami, tj. odbicia ¶wiat³a, cienie, perspektywa i inne.
46 Summary: X Window povray executable
47 Summary(pl): povray pod X Window
48 Group: Applications/Graphics
49 Requires: %{name} = %{version}
52 The Persistence of Vision(tm) Ray-Tracer X Window executable.
54 %description X11 -l pl
55 Plik wykonywalny The Persistence of Vision(tm) Ray-Tracer dla X
59 Summary: PVM/unix povray executable
60 Group: Applications/Graphics
61 Requires: %{name} = %{version}
64 The Persistence of Vision(tm) Ray-Tracer PVM/unix executable.
66 %description X11 -l pl
67 Plik wykonywalny The Persistence of Vision(tm) Ray-Tracer dla
71 Summary: PVM/xwin povray executable
72 Group: Applications/Graphics
73 Requires: %{name} = %{version}
76 The Persistence of Vision(tm) Ray-Tracer PVM/xwin executable.
78 %description X11 -l pl
79 Plik wykonywalny The Persistence of Vision(tm) Ray-Tracer dla
88 --x-includes=%{_prefix}/X11R6/include \
89 --x-libraries=%{_prefix}/X11R6/lib
91 install src/povray x-povray
99 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_prefix}/X11R6/bin}
103 DESTDIR=$RPM_BUILD_ROOT
105 install x-povray $RPM_BUILD_ROOT%{_prefix}/X11R6/bin
106 install povray.ini $RPM_BUILD_ROOT%{_sysconfdir}
107 ln -sf %{_sysconfdir}/povray.ini $RPM_BUILD_ROOT%{_datadir}/povray-*/povray.ini
110 rm -rf $RPM_BUILD_ROOT
113 %defattr(644,root,root,755)
114 %doc AUTHORS ChangeLog NEWS README* povlegal.doc *.txt doc/html
115 %attr(755,root,root) %{_bindir}/povray
118 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/povray.ini
120 %if %{!?_without_x:1}%{?_without_x:0}
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_prefix}/X11R6/bin/x-povray
126 #%if %{!?_without_pvm:1}%{?_without_pvm:0}
128 #%defattr(644,root,root,755)
129 #%attr(755,root,root) %{_pvm_root}/bin/%{_pvm_arch}/pvmpov
131 #%if %{!?_without_x:1}%{?_without_x:0}
133 #%defattr(644,root,root,755)
134 #%attr(755,root,root) %{_pvm_root}/bin/%{_pvm_arch}/x-pvmpov