2 %include /usr/lib/rpm/macros.python
4 Summary: 3D modeling, rendering, animation and game creation package
5 Summary(pl): Pakiet do tworzenia animacji 3D oraz robienia gier
10 Group: X11/Applications/Graphics
11 Source0: http://download.blender.org/source/%{name}-%{version}.tar.bz2
12 # Source0-md5: 2b34e7ad67d02771a3fae0411c6fe845
13 Patch0: %{name}-python.patch
14 BuildRequires: OpenGL-devel
15 BuildRequires: SDL-devel
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: libjpeg-devel
19 BuildRequires: libpng-devel
20 BuildRequires: libtool
21 BuildRequires: openssl-devel >= 0.9.7
22 BuildRequires: python-devel
23 BuildRequires: smpeg-devel
24 BuildRequires: zlib-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _noautoreqdep libGL.so.1 libGLU.so.1
31 Blender is a free and fully functional 3D modeling, rendering,
32 animation and game creation package for Unix, Windows and BeOS
36 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
37 3D oraz robienia gier, dostêpny dla systemów Unix, Windows i BeOS.
44 CPPFLAGS="-I/usr/X11R6/include"
45 LDFLAGS="-L/usr/X11R6/lib"
46 export CPPFLAGS LDFLAGS
55 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
58 #echo blender-creator-ph > $RPM_BUILD_ROOT%{py_sitedir}/blender.pth
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/*
67 #%dir %{py_sitedir}/blender-creator-ph
68 #%attr(755,root,root) %{py_sitedir}/blender-creator-ph/*.so
69 #%{py_sitedir}/blender.pth