1 Summary: 3D modeling, rendering, animation and game creation package
2 Summary(pl): Pakiet do tworzenia animacji 3D oraz gier
7 Group: X11/Applications/Graphics
8 Source0: http://download.blender.org/source/%{name}-%{version}.tar.bz2
9 # Source0-md5: ebde5f573e19b7b8b64401d293c989e7
10 Source1: %{name}.desktop
12 Patch0: %{name}-po_and_locale_names.patch
13 URL: http://www.blender.org/
14 #BuildRequires: OpenAL-devel
15 BuildRequires: OpenGL-devel
16 BuildRequires: SDL-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 #BuildRequires: esound-devel
20 BuildRequires: libjpeg-devel
21 BuildRequires: libpng-devel
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool
24 BuildRequires: libvorbis-devel
25 BuildRequires: openssl-devel >= 0.9.7d
26 BuildRequires: python-devel
27 #BuildRequires: smpeg-devel
28 BuildRequires: zlib-devel
30 Requires: python-modules
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _noautoreqdep libGL.so.1 libGLU.so.1
36 Blender is a free and fully functional 3D modeling, rendering,
37 animation and game creation package for Unix, Windows and BeOS
41 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
42 3D oraz gier, dostêpny dla systemów Unix, Windows i BeOS.
48 mv -f po/pt_{br,BR}.po
49 rm -rf bin/.blender/locale
60 %{__make} -C po OCGDIR=..
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_datadir},%{_desktopdir},%{_pixmapsdir}}
67 DESTDIR=$RPM_BUILD_ROOT
69 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
70 install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
71 cp -a bin/.blender/locale $RPM_BUILD_ROOT%{_datadir}
73 %find_lang %{name} --all-name
76 rm -rf $RPM_BUILD_ROOT
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc README release*.txt
81 %attr(755,root,root) %{_bindir}/*
82 %{_desktopdir}/*.desktop