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