Репозитории ALT
Группа :: Графика
Пакет: povray
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: povray
Version: 3.6
Release: alt3
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Persistence of Vision Ray Tracer (POV-Ray)
Summary(ru_RU.UTF-8): п╒я─п╟я│я│п╦я─п╬п╡я┴п╦п╨ п╩я┐я┤п╣п╧ POV-Ray
# Licensed like freeware. See POVLEGAL.DOC.
License: povray
Group: Graphics
Url: http://www.povray.org
Source: ftp://ftp.povray.org/pub/povray/Official/Unux/%name-%version.tar.bz2
Requires: %name-common
#Obsoletes: megapovplus
# Automatically added by buildreq on Mon Nov 10 2008
BuildRequires: gcc-c++ imake libXpm-devel libXt-devel libjpeg-devel libpng-devel libtiff-devel
#BuildRequires: XFree86-devel xpm-devel
%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.UTF-8
POV-Ray - я█я┌п╬ я│п╡п╬п╠п╬п╢п╫я▀п╧, п©п╬п╩п╫п╬я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╧ я┌я─п╟я│я│п╦я─п╬п╡я┴п╦п╨
п╩я┐я┤п╣п╧, п╫п╟п©п╦я│п╟п╫п╫я▀п╧ п╦ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀п╧ п╨п╬п╪п╟п╫п╢п╬п╧ п╢п╬п╠я─п╬п╡п╬п╩я▄я├п╣п╡
я┤п╣я─п╣п╥ п≤п╫я┌п╣я─п╫п╣я┌. POV-Ray я│п╬я┘я─п╟п╫я▐п╣я┌ п╠п╟п╩п╟п╫я│ п╪п╣п╤п╢я┐ п╪п╬я┴п╫п╬я│я┌я▄я▌
п╦ пЁп╦п╠п╨п╬я│я┌я▄я▌, п╬я┌п╡п╣я┤п╟я▐ п╤п╣п╩п╟п╫п╦я▐п╪ я│п╟п╪я▀я┘ п╬п©я▀я┌п╫я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧,
п╡ я┌п╬ п╤п╣ п╡я─п╣п╪я▐, п╫п╣ п╬я┌п©я┐пЁп╦п╡п╟я▐ п╫п╬п╡п╦я┤п╨п╬п╡.
#---------------------------------------------------------
%package common
Group: Graphics
Summary: POV-Ray common files
Summary(ru_RU.UTF-8): п·п╠я┴п╦п╣ я└п╟п╧п╩я▀ п╢п╩я▐ POV-Ray
#Obsoletes: megapovplus-common
%description common
Common files for POV-Ray: docs, textures, color maps,
scenes, scripts etc.
%description common -l ru_RU.UTF-8
п·п╠я┴п╦п╣ я└п╟п╧п╩я▀ п╢п╩я▐ я─п╟п╥п╫я▀я┘ п╡п╣я─я│п╦п╧ 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 lists.altlinux.org)' --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
# remove carriage return symbols
find %buildroot%_datadir/povray-3.6/scripts/ -type f -print0 |\
xargs -r0 sed -i -e 's,\r$,,g'
#%__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
…
Полный changelog можно просмотреть здесь
Version: 3.6
Release: alt3
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Persistence of Vision Ray Tracer (POV-Ray)
Summary(ru_RU.UTF-8): п╒я─п╟я│я│п╦я─п╬п╡я┴п╦п╨ п╩я┐я┤п╣п╧ POV-Ray
# Licensed like freeware. See POVLEGAL.DOC.
License: povray
Group: Graphics
Url: http://www.povray.org
Source: ftp://ftp.povray.org/pub/povray/Official/Unux/%name-%version.tar.bz2
Requires: %name-common
#Obsoletes: megapovplus
# Automatically added by buildreq on Mon Nov 10 2008
BuildRequires: gcc-c++ imake libXpm-devel libXt-devel libjpeg-devel libpng-devel libtiff-devel
#BuildRequires: XFree86-devel xpm-devel
%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.UTF-8
POV-Ray - я█я┌п╬ я│п╡п╬п╠п╬п╢п╫я▀п╧, п©п╬п╩п╫п╬я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╧ я┌я─п╟я│я│п╦я─п╬п╡я┴п╦п╨
п╩я┐я┤п╣п╧, п╫п╟п©п╦я│п╟п╫п╫я▀п╧ п╦ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀п╧ п╨п╬п╪п╟п╫п╢п╬п╧ п╢п╬п╠я─п╬п╡п╬п╩я▄я├п╣п╡
я┤п╣я─п╣п╥ п≤п╫я┌п╣я─п╫п╣я┌. POV-Ray я│п╬я┘я─п╟п╫я▐п╣я┌ п╠п╟п╩п╟п╫я│ п╪п╣п╤п╢я┐ п╪п╬я┴п╫п╬я│я┌я▄я▌
п╦ пЁп╦п╠п╨п╬я│я┌я▄я▌, п╬я┌п╡п╣я┤п╟я▐ п╤п╣п╩п╟п╫п╦я▐п╪ я│п╟п╪я▀я┘ п╬п©я▀я┌п╫я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧,
п╡ я┌п╬ п╤п╣ п╡я─п╣п╪я▐, п╫п╣ п╬я┌п©я┐пЁп╦п╡п╟я▐ п╫п╬п╡п╦я┤п╨п╬п╡.
#---------------------------------------------------------
%package common
Group: Graphics
Summary: POV-Ray common files
Summary(ru_RU.UTF-8): п·п╠я┴п╦п╣ я└п╟п╧п╩я▀ п╢п╩я▐ POV-Ray
#Obsoletes: megapovplus-common
%description common
Common files for POV-Ray: docs, textures, color maps,
scenes, scripts etc.
%description common -l ru_RU.UTF-8
п·п╠я┴п╦п╣ я└п╟п╧п╩я▀ п╢п╩я▐ я─п╟п╥п╫я▀я┘ п╡п╣я─я│п╦п╧ 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 lists.altlinux.org)' --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
# remove carriage return symbols
find %buildroot%_datadir/povray-3.6/scripts/ -type f -print0 |\
xargs -r0 sed -i -e 's,\r$,,g'
#%__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
…
Полный changelog можно просмотреть здесь