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 Vendor: http://www.linux.ucla.edu/~phaethon/blender/blender-autoconf.html
12 Source0: http://www.linux.ucla.edu/~phaethon/blender/blender-creator-ph-%{version}.tar.gz
13 URL: http://www.linux.ucla.edu/~phaethon/blender/blender-autoconf.html
14 #!#Vendor: Blender Foundation
15 #!#Source0: ftp://dl.xs4all.nl/pub/mirror/blender/%{name}-source-%{version}.tar.gz
16 #!#http://www.linux.ucla.edu/~phaethon/blender/blender-autoconf.html
17 Patch0: %{name}-python.patch
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: libtool
22 BuildRequires: OpenGL-devel
23 BuildRequires: SDL-devel
24 BuildRequires: libjpeg-devel
25 BuildRequires: libpng-devel
26 BuildRequires: openssl-devel >= 0.9.7
27 BuildRequires: python-devel
28 BuildRequires: smpeg-devel
29 BuildRequires: zlib-devel
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _noautoreqdep libGL.so.1 libGLU.so.1
35 Blender is a free and fully functional 3D modeling, rendering,
36 animation and game creation package for Unix, Windows and BeOS
40 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
41 3D oraz robienia gier, dostêpny dla systemów Unix, Windows i BeOS.
44 %setup -q -n %{name}-creator-ph-%{version}
48 CPPFLAGS="-I/usr/X11R6/include"
49 LDFLAGS="-L/usr/X11R6/lib"
50 export CPPFLAGS LDFLAGS
59 rm -rf $RPM_BUILD_ROOT
60 %{__make} install DESTDIR=$RPM_BUILD_ROOT
61 echo blender-creator-ph > $RPM_BUILD_ROOT%{py_sitedir}/blender.pth
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{py_sitedir}/blender-creator-ph
71 %attr(755,root,root) %{py_sitedir}/blender-creator-ph/*.so
72 %{py_sitedir}/blender.pth