Репозитории ALT
Группа :: Графика
Пакет: povray
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define mjversion 3.7
Name: povray
Version: %mjversion.0.8
Release: alt2
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
# git https://github.com/POV-Ray/povray
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
Requires: %name-common
BuildRequires: gcc-c++ imake libjpeg-devel libpng-devel libtiff-devel libXpm-devel libXt-devel
BuildRequires: boost-devel boost-flyweight-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
%description common
Common files for POV-Ray: docs, textures, color maps,
scenes, scripts etc.
%description common -l ru_RU.UTF-8
п·п╠я┴п╦п╣ я└п╟п╧п╩я▀ п╢п╩я▐ я─п╟п╥п╫я▀я┘ п╡п╣я─я│п╦п╧ POV-Ray: п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐,
я┌п╣п╨я│я┌я┐я─я▀, я├п╡п╣я┌п╬п╡я▀п╣ п╨п╟я─я┌я▀, я│я├п╣п╫я▀, я│п╨я─п╦п©я┌я▀ п╦ я┌.п╢.
%prep
%setup
%patch0 -p1
%build
pushd unix
./prebuild.sh
popd
%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
# Adjust bogus paths
sed -i \
-e '/DEFAULT_DIR=/d' \
-e 's,SYSCONFDIR=\$DEFAULT_DIR/etc,SYSCONFDIR=%{_sysconfdir},' \
scripts/{allanim,allscene,portfolio}.sh
%install
%make_install install DESTDIR=%buildroot
# remove carriage return symbols
find %buildroot%_datadir/povray-%mjversion/scripts/ -type f -print0 |\
xargs -r0 sed -i -e 's,\r$,,g'
%files
%_bindir/povray
%files common
%config(noreplace) %_sysconfdir/%name/%mjversion/*
%dir %_datadir/%name-%mjversion
%_datadir/%name-%mjversion/*
%docdir %_defaultdocdir/%name-%mjversion
%dir %_defaultdocdir/%name-%mjversion
%_defaultdocdir/%name-%mjversion/*
%doc %_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: povray
Version: %mjversion.0.8
Release: alt2
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
# git https://github.com/POV-Ray/povray
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
Requires: %name-common
BuildRequires: gcc-c++ imake libjpeg-devel libpng-devel libtiff-devel libXpm-devel libXt-devel
BuildRequires: boost-devel boost-flyweight-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
%description common
Common files for POV-Ray: docs, textures, color maps,
scenes, scripts etc.
%description common -l ru_RU.UTF-8
п·п╠я┴п╦п╣ я└п╟п╧п╩я▀ п╢п╩я▐ я─п╟п╥п╫я▀я┘ п╡п╣я─я│п╦п╧ POV-Ray: п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐,
я┌п╣п╨я│я┌я┐я─я▀, я├п╡п╣я┌п╬п╡я▀п╣ п╨п╟я─я┌я▀, я│я├п╣п╫я▀, я│п╨я─п╦п©я┌я▀ п╦ я┌.п╢.
%prep
%setup
%patch0 -p1
%build
pushd unix
./prebuild.sh
popd
%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
# Adjust bogus paths
sed -i \
-e '/DEFAULT_DIR=/d' \
-e 's,SYSCONFDIR=\$DEFAULT_DIR/etc,SYSCONFDIR=%{_sysconfdir},' \
scripts/{allanim,allscene,portfolio}.sh
%install
%make_install install DESTDIR=%buildroot
# remove carriage return symbols
find %buildroot%_datadir/povray-%mjversion/scripts/ -type f -print0 |\
xargs -r0 sed -i -e 's,\r$,,g'
%files
%_bindir/povray
%files common
%config(noreplace) %_sysconfdir/%name/%mjversion/*
%dir %_datadir/%name-%mjversion
%_datadir/%name-%mjversion/*
%docdir %_defaultdocdir/%name-%mjversion
%dir %_defaultdocdir/%name-%mjversion
%_defaultdocdir/%name-%mjversion/*
%doc %_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь