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