]> git.pld-linux.org Git - packages/povray.git/blame - povray.spec
- rel 2; fix epoch in req
[packages/povray.git] / povray.spec
CommitLineData
8f6042bf 1#
bc24fd67 2# Conditional build:
9efdfbd6 3%bcond_without x # - without X11 subpackage
4%bcond_with pvm # - with PVM support
5%bcond_with svga # - with svgalib support (doesn't work on many platforms)
8f6042bf 6#
d436f42a 7%define _src_pov_ver 3.6.1
21729b33 8
520c1407
JR
9Summary: Persistence of Vision Ray Tracer
10Summary(pl): Persistence of Vision Ray Tracer
11Name: povray
21729b33 12Version: 3.6.1
38f80171 13Release: 2
e107cc8d 14Epoch: 1
b1f11ee3 15License: distributable
520c1407 16Group: Applications/Graphics
4453c831 17Source0: http://www.povray.org/ftp/pub/povray/Official/Unix/%{name}-%{_src_pov_ver}.tar.bz2
21729b33 18# Source0-md5: b5789bb7eeaed0809c5c82d0efda571d
697b1b4f 19# based on sources from CVS at http://pvmpov.sourceforge.net/
21729b33 20# Source0: %{name}-%{version}-%{snap}.tar.gz
b7a98b2e 21Patch0: %{name}-legal.patch
4094ca7d 22Patch1: %{name}-64bit.patch
09c1e7ed
JK
23Patch2: %{name}-X-libs.patch
24Patch3: %{name}-lib64.patch
4094ca7d 25Patch4: %{name}-no_svgalib.patch
ea227ab9 26Patch5: %{name}-m4.patch
520c1407 27URL: http://www.povray.org/
ec73f680
JB
28BuildRequires: autoconf
29BuildRequires: automake
b7a98b2e 30BuildRequires: libjpeg-devel
a37cc0c6 31BuildRequires: libpng-devel >= 1.0.8
b7a98b2e 32BuildRequires: libstdc++-devel
33BuildRequires: libtiff-devel
4094ca7d
JK
34%{?with_pvm:BuildRequires: pvm-devel >= 3.4.3-24}
35%{?with_svga:BuildRequires: svgalib-devel}
73c51aff 36%{?with_x:BuildRequires: xorg-lib-libX11-devel}
ec73f680 37BuildRequires: zlib-devel
9416b15a 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4d562464 39
d436f42a 40%if %{with pvm}
697b1b4f 41%define _pvmarch %(/usr/bin/pvmgetarch)
09c1e7ed 42%define _pvmroot /usr/%{_lib}/pvm3
d436f42a 43%endif
a37cc0c6 44
4d562464 45%description
4d562464 46The Persistence of Vision(tm) Ray-Tracer creates three-dimensional,
2702972f 47photo-realistic images using a rendering technique called ray-tracing.
48It reads in a text file containing information describing the objects
49and lighting in a scene and generates an image of that scene from the
50view point of a camera also described in the text file. Ray-tracing is
51not a fast process by any means, but it produces very high quality
52images with realistic reflections, shading, perspective and other
53effects.
4d562464 54
55%description -l pl
2702972f 56