Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37837155
en ru br
ALT Linux repos
S:3.7.0.10-alt1
5.0: 3.6-alt3
4.1: 3.6-alt2
4.0: 3.6-alt2
3.0: 3.6-alt1.1

Group :: Graphics
RPM: povray

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_without M24

%if_with M24
%define _release alt1.M24.1
%else
%define _release alt2
%endif

Name: povray
Version: 3.6
Release: %_release
Summary: Persistence of Vision Ray Tracer (POV-Ray)
Summary(ru_RU.KOI8-R): Трассировщик лучей POV-Ray
# Licensed like freeware. See POVLEGAL.DOC.
License: povray
Url: http://www.povray.org
Group: Graphics
Requires: %name-common
#Obsoletes: megapovplus

Packager: Grigory Batalov <bga at altlinux.ru>

Source: ftp://ftp.povray.org/pub/povray/Official/Unux/%name-%version.tar.bz2

# Added on Sat Feb 24 2007

BuildRequires: gcc-c++ libjpeg-devel libpng-devel libtiff-devel
%if_without M24
BuildRequires: imake libXpm-devel libXt-devel
%else
BuildRequires: XFree86-devel xpm-devel
%endif

%description
POV-Ray is a free, full-featured ray tracer, written and
maintained  by  a  team of volunteers on the Internet.
POV-Ray has the right balance of power and versatility
to satisfy extremely experienced and competent users, while
at the same time not being so intimidating as to completely
scare new users off.

%description -l ru_RU.KOI8-R
POV-Ray - это свободный, полнофункциональный трассировщик
лучей, написанный и поддерживаемый командой добровольцев
через Интернет. POV-Ray сохраняет баланс между мощностью
и гибкостью, отвечая желаниям самых опытных пользователей,
в то же время, не отпугивая новичков.

#---------------------------------------------------------

%package common
Group: Graphics
Summary: POV-Ray common files
Summary(ru_RU.KOI8-R): Общие файлы для POV-Ray
#Obsoletes: megapovplus-common

%description common
Common files for POV-Ray: docs, textures, color maps,
scenes, scripts etc.

%description common -l ru_RU.KOI8-R
Общие файлы для разных версий POV-Ray: документация,
текстуры, цветовые карты, сцены, скрипты и т.д.

#---------------------------------------------------------

#%package mpi
#Group: Graphics
#Summary: An unofficial MPI-version of POV-Ray
#Requires: %name-common
#Url: http://www.verrall.demon.co.uk/mpipov/
#
#%description mpi
#A parrallel version of POV-Ray using MPI (mpich).
#POV-Ray is a free, full-featured ray tracer,  written  and
#maintained  by  a  team of volunteers on the Internet.  On
#the Unix platform POV-Ray can be compiled with support for
#preview  capabilities  using  the  X Window System.  Under
#Linux, POV-Ray can optionally use the SVGA library to pre-
#view renderings.
#
#---------------------------------------------------------
%prep
%setup -q -n %name-3.6.1

%build
%configure COMPILED_BY='ALT Linux Team (http://www.altlinux.ru, mailto:community at altlinux.ru)' --with-x --without-svga
%make_build CFLAGS=-Wno-multichar CXXFLAGS=-Wno-multichar
#LDFLAGS=-L%_libdir

%install
%make_install install DESTDIR=%buildroot
# \
# docdir=%_defaultdocdir/%name-%version \
# htmldir=%_defaultdocdir/%name-%version/html \
# imagesdir=%_defaultdocdir/%name-%version/html/images \
# vfaqdir=%_defaultdocdir/%name-%version/html/images/vfaq

#%__mkdir_p %buildroot/%_sysconfdir

#%__mv %buildroot/%_datadir/%name-%version/povray.ini %buildroot/%_sysconfdir/povray.ini
#cat <<EOF > %buildroot/%_sysconfdir/povray.conf
#[File I/O Security]
#none
#EOF

%files
%_bindir/povray

#%files mpi

#%_bindir/povray

%files common
%config(noreplace) %_sysconfdir/%name/%version/*
%dir %_datadir/%name-%version
%_datadir/%name-%version/*
%docdir %_defaultdocdir/%name-%version
%dir %_defaultdocdir/%name-%version
%_defaultdocdir/%name-%version/*
%doc %_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin