2 # chyba nie mo¿emy tego udostêpniaæ na naszym FTP
3 # przynajmniej ja tak rozumiem fragment copyright.txt:
5 # "Distributing the Software 'bundled' in with ANY product is
6 # considered to be a 'commercial purpose'."
10 %define arch_name blender%{version}-linux-glibc2.1.2-i386
13 %define arch_name blender%{version}-linux-glibc2.1.3-alpha
16 Summary: 3D modeling, rendering, animation and game creation package
17 Summary(pl): Pakiet do tworzenia animacji 3D oraz robienia gier
22 Group: Applications/Graphics
23 Vendor: NaN Technologies B.V.
24 Source0: ftp://ftp.blender.nl/pub/%{arch_name}.tar.gz
25 Source1: %{name}.defaults
27 Patch0: %{name}-bmake.patch
28 URL: http://www.blender.nl
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _noautoreqdep libGL.so.1 libGLU.so.1
33 %define _prefix /usr/X11R6
36 Blender is a free and fully functional 3D modeling, rendering,
37 animation and game creation package for Unix, Windows and BeOS
38 systems. Blender is distributed without sources, it is exclusively
39 developed and maintained by the Dutch company NaN Technologies B.V.
42 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
43 3D oraz robienia gier, dostêpny dla systemów Unix, Windows i BeOS.
44 Blender jest rozpowszechniany bez ¼róde³. Jest rozwijany przez
45 holendersk± firmê NaN Technologies B.V.
48 %setup -qn %{arch_name}
54 %{__make} OPTFLAGS="%{rpmcflags}"
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/blender/plugins/{sequence,texture}}
59 install -d $RPM_BUILD_ROOT{%{_datadir}/blender/{textures,sounds},%{_includedir}/blender}
60 install -d $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/{sequence,texture}
62 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/blender
64 install blender $RPM_BUILD_ROOT%{_libdir}/blender
65 install plugins/sequence/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/sequence
66 install plugins/texture/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/texture
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/blender/defaults
70 install plugins/include/* $RPM_BUILD_ROOT%{_includedir}/blender
72 install plugins/{Makefile,bmake} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins
73 install plugins/sequence/{Makefile,*.c} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/sequence
74 install plugins/texture/{Makefile,*.c} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/texture
76 gzip -9nf README copyright.txt
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/blender
85 %dir %{_libdir}/blender
86 %attr(755,root,root) %{_libdir}/blender/blender
87 %{_libdir}/blender/plugins
89 %{_includedir}/blender
90 %dir %{_examplesdir}/blender
91 %dir %{_examplesdir}/blender/plugins
92 %attr(755,root,root) %{_examplesdir}/blender/plugins/bmake
93 %attr(755,root,root) %{_examplesdir}/blender/plugins/Makefile
94 %{_examplesdir}/blender/plugins/texture
95 %{_examplesdir}/blender/plugins/sequence