#
%define _rc RC7
%define _src_pov_ver 3.7.0.%{_rc}
+%define rel 9
Summary: Persistence of Vision Ray Tracer
Summary(pl.UTF-8): Persistence of Vision Ray Tracer
Name: povray
Version: 3.7.0
-Release: 0.%{_rc}.1
+Release: 0.%{_rc}.%{rel}
Epoch: 1
License: distributable
Group: Applications/Graphics
# Source0: %{name}-%{version}-%{snap}.tar.gz
Source1: %{name}-ax_boost_base.m4
Patch0: %{name}-nouserfiles.patch
+Patch1: boost-1.50.patch
URL: http://www.povray.org/
BuildRequires: autoconf
BuildRequires: automake
%setup -q -n %{name}-%{_src_pov_ver}
cp %{SOURCE1} unix/config/ax_boost_base.m4
%patch0 -p1
+%patch1 -p1
%build
%{__aclocal}
%if %{with x} && %{with pvm}
%configure \
--libdir=%{_datadir} \
- --with-boost-thread=boost_thread-mt \
--enable-pvm \
--with-pvm-arch=%{_pvmarch} \
--with-pvm-libs=%{_libdir}
%configure \
--libdir=%{_datadir} \
- --with-boost-thread=boost_thread-mt \
--enable-pvm \
--with-pvm-arch=%{_pvmarch} \
--with-pvm-libs=%{_libdir} \
%if %{with x}
%configure \
- --libdir=%{_datadir} \
- --with-boost-thread=boost_thread-mt
+ --libdir=%{_datadir}
%{__make}
install unix/povray x-povray
%{__make} clean
%configure \
--libdir=%{_datadir} \
- --with-boost-thread=boost_thread-mt \
--without-x
%{__make}