]> git.pld-linux.org Git - packages/blender.git/blob - blender.spec
- added BR: SDL-static, libjpeg-static, libstdc++-static
[packages/blender.git] / blender.spec
1
2 %include /usr/lib/rpm/macros.python
3
4 Summary:        3D modeling, rendering, animation and game creation package
5 Summary(pl):    Pakiet do tworzenia animacji 3D oraz robienia gier
6 Name:           blender
7 Version:        2.25b.9
8 Release:        0.1
9 License:        GPL
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
18 Requires:       OpenGL
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 BuildRequires:  OpenGL-devel
23 BuildRequires:  SDL-devel
24 BuildRequires:  SDL-static
25 BuildRequires:  libjpeg-devel
26 BuildRequires:  libjpeg-static
27 BuildRequires:  libpng-devel
28 BuildRequires:  openssl-devel >= 0.9.7
29 BuildRequires:  python-devel
30 BuildRequires:  smpeg-devel
31 BuildRequires:  zlib-devel
32 BuildRequires:  libstdc++-static
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
36
37 %description
38 Blender is a free and fully functional 3D modeling, rendering,
39 animation and game creation package for Unix, Windows and BeOS
40 systems.
41
42 %description -l pl
43 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
44 3D oraz robienia gier, dostêpny dla systemów Unix, Windows i BeOS.
45
46 %prep
47 %setup -q -n %{name}-creator-ph-%{version}
48 %patch0 -p1
49
50 %build
51 CPPFLAGS="-I/usr/X11R6/include"
52 LDFLAGS="-L/usr/X11R6/lib"
53 export CPPFLAGS LDFLAGS
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 %{__make} install DESTDIR=$RPM_BUILD_ROOT
64 echo blender-creator-ph > $RPM_BUILD_ROOT%{py_sitedir}/blender.pth
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc README
72 %attr(755,root,root) %{_bindir}/*
73 %dir %{py_sitedir}/blender-creator-ph
74 %attr(755,root,root) %{py_sitedir}/blender-creator-ph/*.so
75 %{py_sitedir}/blender.pth
This page took 0.030944 seconds and 4 git commands to generate.