%bcond_with pvm # - with PVM support
%bcond_with svga # - with svgalib support (doesn't work on many platforms)
#
-%define _src_pov_ver 3.6
+%define _src_pov_ver 3.6.1
Summary: Persistence of Vision Ray Tracer
Summary(pl): Persistence of Vision Ray Tracer
Name: povray
Version: 3.6.1
-Release: 0.5
+Release: 0.1
Epoch: 1
License: distributable
Group: Applications/Graphics
Patch3: %{name}-lib64.patch
Patch4: %{name}-no_svgalib.patch
URL: http://www.povray.org/
-%{?with_x:BuildRequires: XFree86-devel}
+%{?with_x:BuildRequires: xorg-lib-libX11-devel}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libjpeg-devel
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%if %{with pvm}
%define _pvmarch %(/usr/bin/pvmgetarch)
%define _pvmroot /usr/%{_lib}/pvm3
+%endif
%description
The Persistence of Vision(tm) Ray-Tracer creates three-dimensional,
Plik wykonywalny The Persistence of Vision(tm) Ray-Tracer dla X
Window.
+%if %{with pvm}
%package pvm
Summary: PVM/unix povray executable
Summary(pl): Plik wykonywalny povray dla PVM/unix
%description pvm-X11 -l pl
Plik wykonywalny The Persistence of Vision(tm) Ray-Tracer dla
PVM/xwin.
+%endif
%prep
%setup -q