]> git.pld-linux.org Git - packages/povray.git/blobdiff - povray.spec
- fix building on x32
[packages/povray.git] / povray.spec
index 69d2ebfbcf7084a582197da9dd3643a48e7a004f..0cddd74ffb7997ab4811e1c85894a52d06938097 100644 (file)
@@ -4,21 +4,23 @@
 %bcond_with    pvm     # - with PVM support
 %bcond_with    svga    # - with svgalib support (doesn't work on many platforms)
 #
+%define        rel     2
+%define        beta    beta.5
 Summary:       Persistence of Vision Ray Tracer
 Summary(pl.UTF-8):     Persistence of Vision Ray Tracer
 Name:          povray
-Version:       3.7.0.0
-Release:       2
+Version:       3.7.1
+Release:       0.%{beta}.%{rel}
 Epoch:         1
-License:       distributable
+License:       AGPLv3+
 Group:         Applications/Graphics
-Source0:       https://github.com/POV-Ray/povray/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: c9473256677808e9e3246e6eb8f69a75
-Source1:       %{name}-ax_boost_base.m4
-Patch0:                boost-1.50.patch
+Source0:       https://github.com/POV-Ray/povray/archive/v%{version}-%{beta}/%{name}-%{version}-%{beta}.tar.gz
+# Source0-md5: eeff460742acdaa84ebbc7e7e5135981
+Patch0:                x32.patch
 URL:           http://www.povray.org/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: boost-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel >= 1.4.0
 BuildRequires: libstdc++-devel
@@ -94,16 +96,16 @@ Plik wykonywalny The Persistence of Vision(tm) Ray-Tracer dla
 PVM/xwin.
 
 %prep
-%setup -q
-cp %{SOURCE1} unix/config/ax_boost_base.m4
+%setup -q -n %{name}-%{version}-%{beta}
+%ifarch x32
 %patch0 -p1
+%endif
 
 %build
 cd unix
 ./prebuild.sh
 cd ..
 
-%{__automake}
 COMPILED_BY="PLD/Linux Team";export COMPILED_BY;
 %if %{with x} && %{with pvm}
 %configure \
This page took 0.750139 seconds and 4 git commands to generate.