]> git.pld-linux.org Git - packages/blender.git/blob - blender.spec
- force to use openssl >= 0.9.7, idea by kloczek
[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:  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)
31
32 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
33
34 %description
35 Blender is a free and fully functional 3D modeling, rendering,
36 animation and game creation package for Unix, Windows and BeOS
37 systems.
38
39 %description -l pl
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.
42
43 %prep
44 %setup -q -n %{name}-creator-ph-%{version}
45 %patch0 -p1
46
47 %build
48 CPPFLAGS="-I/usr/X11R6/include"
49 LDFLAGS="-L/usr/X11R6/lib"
50 export CPPFLAGS LDFLAGS
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__automake}
55 %configure
56 %{__make}
57
58 %install
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
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README
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
This page took 0.04524 seconds and 4 git commands to generate.