]> git.pld-linux.org Git - packages/blender.git/blob - blender.spec
- added BR: nas-devel
[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
27 BuildRequires:  python-devel
28 BuildRequires:  smpeg-devel
29 BuildRequires:  zlib-devel
30 BuildRequires:  nas-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
34 %define         _prefix         /usr/X11R6
35
36 %description
37 Blender is a free and fully functional 3D modeling, rendering,
38 animation and game creation package for Unix, Windows and BeOS
39 systems.
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
45 %prep
46 %setup -q -n %{name}-creator-ph-%{version}
47 %patch0 -p1
48
49 %build
50 CPPFLAGS="-I/usr/X11R6/include"
51 LDFLAGS="-L/usr/X11R6/lib"
52 export CPPFLAGS LDFLAGS
53 %{__libtoolize}
54 %{__aclocal}
55 %{__autoconf}
56 %{__automake}
57 %configure
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
63 echo blender-creator-ph > $RPM_BUILD_ROOT%{py_sitedir}/blender.pth
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc README
71 %attr(755,root,root) %{_bindir}/*
72 %dir %{py_sitedir}/blender-creator-ph
73 %attr(755,root,root) %{py_sitedir}/blender-creator-ph/*.so
74 %{py_sitedir}/blender.pth
This page took 0.176498 seconds and 4 git commands to generate.