]> git.pld-linux.org Git - packages/blender.git/blob - blender.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/blender.git] / blender.spec
1
2 # chyba nie mo¿emy tego udostêpniaæ na naszym FTP
3 # przynajmniej ja tak rozumiem fragment copyright.txt:
4 #
5 # "Distributing the Software 'bundled' in with ANY product is
6 #  considered to be a 'commercial purpose'."
7
8
9 %ifarch %{ix86}
10 %define         arch_name blender%{version}-linux-glibc2.1.2-i386
11 %endif
12 %ifarch %{alpha}
13 %define         arch_name blender%{version}-linux-glibc2.1.3-alpha
14 %endif
15
16 Summary:        3D modeling, rendering, animation and game creation package
17 Summary(pl):    Pakiet do tworzenia animacji 3D oraz robienia gier
18 Name:           blender
19 Version:        2.20
20 Release:        1
21 License:        Free for use
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
26 Source2:        %{name}.sh
27 Patch0:         %{name}-bmake.patch
28 URL:            http://www.blender.nl
29 Requires:       OpenGL
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
33 %define         _prefix         /usr/X11R6
34
35 %description
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.
40
41 %description -l pl
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.
46
47 %prep
48 %setup -qn %{arch_name}
49 %patch0 -p1
50
51 %build
52 cd plugins
53 %{__make} clean
54 %{__make} OPTFLAGS="%{rpmcflags}"
55
56 %install
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}
61
62 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/blender
63
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
67
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/blender/defaults
69
70 install plugins/include/* $RPM_BUILD_ROOT%{_includedir}/blender
71
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
75
76 gzip -9nf README copyright.txt 
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc *.gz
84 %attr(755,root,root) %{_bindir}/blender
85 %dir %{_libdir}/blender
86 %attr(755,root,root) %{_libdir}/blender/blender
87 %{_libdir}/blender/plugins
88 %{_datadir}/blender
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
This page took 0.064526 seconds and 4 git commands to generate.