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 Group(de): Applikationen/Grafik
24 Group(pl): Aplikacje/Grafika
25 Vendor: NaN Technologies B.V.
26 Source0: ftp://ftp.blender.nl/pub/%{arch_name}.tar.gz
27 Source1: %{name}.defaults
29 Patch0: %{name}-bmake.patch
30 URL: http://www.blender.nl
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _noautoreqdep libGL.so.1 libGLU.so.1
35 %define _prefix /usr/X11R6
38 Blender is a free and fully functional 3D modeling, rendering,
39 animation and game creation package for Unix, Windows and BeOS
40 systems. Blender is distributed without sources, it is exclusively
41 developed and maintained by the Dutch company NaN Technologies B.V.
44 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
45 3D oraz robienia gier, dostêpny dla systemów Unix, Windows i BeOS.
46 Blender jest rozpowszechniany bez ¼róde³. Jest rozwijany przez
47 holendersk± firmê NaN Technologies B.V.
50 %setup -qn %{arch_name}
56 %{__make} OPTFLAGS="%{rpmcflags}"
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/blender/plugins/{sequence,texture}}
61 install -d $RPM_BUILD_ROOT{%{_datadir}/blender/{textures,sounds},%{_includedir}/blender}
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/{sequence,texture}
64 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/blender
66 install blender $RPM_BUILD_ROOT%{_libdir}/blender
67 install plugins/sequence/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/sequence
68 install plugins/texture/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/texture
70 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/blender/defaults
72 install plugins/include/* $RPM_BUILD_ROOT%{_includedir}/blender
74 install plugins/{Makefile,bmake} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins
75 install plugins/sequence/{Makefile,*.c} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/sequence
76 install plugins/texture/{Makefile,*.c} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/texture
78 gzip -9nf README copyright.txt
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_bindir}/blender
87 %dir %{_libdir}/blender
88 %attr(755,root,root) %{_libdir}/blender/blender
89 %{_libdir}/blender/plugins
91 %{_includedir}/blender
92 %dir %{_examplesdir}/blender
93 %dir %{_examplesdir}/blender/plugins
94 %attr(755,root,root) %{_examplesdir}/blender/plugins/bmake
95 %attr(755,root,root) %{_examplesdir}/blender/plugins/Makefile
96 %{_examplesdir}/blender/plugins/texture
97 %{_examplesdir}/blender/plugins/sequence