# TODO: # - enable internalization support (BR libftgl) # - libsolid/libqhull/libode BR ? Summary: 3D modeling, rendering, animation and game creation package Summary(pl.UTF-8): Pakiet do tworzenia animacji 3D oraz gier Name: blender Version: 2.49b Release: 9 License: GPL Group: X11/Applications/Graphics Source0: http://download.blender.org/source/%{name}-%{version}.tar.gz # Source0-md5: 718eef6a4ff377989e829b92a886cc5b Source1: %{name}.desktop Source2: %{name}.png Source4: %{name}-wrapper Source5: %{name}.manpage Patch0: %{name}-po_and_locale_names.patch Patch1: %{name}-noxml-yafray.patch URL: http://www.blender.org/ BuildRequires: OpenAL-devel BuildRequires: OpenEXR-devel BuildRequires: OpenGL-devel BuildRequires: SDL-devel #BuildRequires: esound-devel BuildRequires: ffmpeg-devel >= 0.4.9-4.20080930.1 BuildRequires: freealut-devel BuildRequires: freetype-devel BuildRequires: ftgl-devel BuildRequires: gcc >= 5:3.4.0 BuildRequires: gettext-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libstdc++-devel BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: libvorbis-devel BuildRequires: openssl-devel >= 0.9.7d BuildRequires: python-devel >= 1:2.3 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.385 BuildRequires: scons BuildRequires: sed >= 4.0 #BuildRequires: smpeg-devel BuildRequires: xorg-lib-libXi-devel BuildRequires: zlib-devel Requires(post,postun): desktop-file-utils Requires: OpenGL Requires: freetype Requires: python-modules BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautoreqdep libGL.so.1 libGLU.so.1 %description Blender is a free and fully functional 3D modeling, rendering, animation and game creation package for Unix, Windows and BeOS systems. %description -l pl.UTF-8 Blender to darmowy i w pełni funkcjonalny pakiet do tworzenia animacji 3D oraz gier, dostępny dla systemów Unix, Windows i BeOS. %prep %setup -q %patch0 -p1 %patch1 -p1 rm -f missing rm -f user-config.py rm -rf bin/.blender/locale sed 's/\(BUILD_REV :=\).*/\1 unknown/' -i source/Makefile sed 's/\(build_rev =\).*/\1 "unknown"/' -i tools/Blender.py RPMCFLAGS="\"`echo %{rpmcflags}|sed 's/ /\",\"/g'`\"" RPMLDFLAGS="\"`echo %{rpmldflags}|sed 's/ /\",\"/g'`\"" cat > user-config.py <