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
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRequires: OpenGL-devel
19 BuildRequires: SDL-devel
20 BuildRequires: libjpeg-devel
21 BuildRequires: libpng-devel
22 BuildRequires: openssl-devel >= 0.9.7
23 BuildRequires: python-devel
24 BuildRequires: smpeg-devel
25 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
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57 #echo blender-creator-ph > $RPM_BUILD_ROOT%{py_sitedir}/blender.pth
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/*
66 #%dir %{py_sitedir}/blender-creator-ph
67 #%attr(755,root,root) %{py_sitedir}/blender-creator-ph/*.so
68 #%{py_sitedir}/blender.pth