]> git.pld-linux.org Git - packages/blender.git/blob - blender.spec
eec2e0aa5914f2f3a072f7d1c38960f1cce4d096
[packages/blender.git] / blender.spec
1 Summary:        3D modeling, rendering, animation and game creation package
2 Summary(pl):    Pakiet do tworzenia animacji 3D oraz gier
3 Name:           blender
4 Version:        2.31
5 %define _rel a
6 Release:        %{_rel}.1
7 License:        GPL
8 Group:          X11/Applications/Graphics
9 Source0:        http://download.blender.org/source/%{name}-%{version}%{_rel}.tar.bz2
10 # Source0-md5:  834d9236b233951d854b02f7cd3721fb
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 URL:            http://www.blender.org/
14 #BuildRequires: OpenAL-devel
15 BuildRequires:  OpenGL-devel
16 BuildRequires:  SDL-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 #BuildRequires: esound-devel
20 BuildRequires:  libjpeg-devel
21 BuildRequires:  libpng-devel
22 BuildRequires:  libstdc++-devel
23 BuildRequires:  libtool
24 BuildRequires:  libvorbis-devel
25 BuildRequires:  openssl-devel >= 0.9.7c
26 BuildRequires:  python-devel
27 #BuildRequires: smpeg-devel
28 BuildRequires:  zlib-devel
29 Requires:       OpenGL
30 Requires:       python-modules
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
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.
39
40 %description -l pl
41 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
42 3D oraz gier, dostêpny dla systemów Unix, Windows i BeOS.
43
44 %prep
45 %setup -q -n %{name}-%{version}%{_rel}
46
47 %build
48 rm -f missing
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %configure
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_datadir},%{_desktopdir},%{_pixmapsdir}}
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65 install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
66 cp -a bin/.blender/locale $RPM_BUILD_ROOT%{_datadir}
67
68 %find_lang %{name} --all-name
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc README release*.txt
76 %attr(755,root,root) %{_bindir}/*
77 %{_desktopdir}/*.desktop
78 %{_pixmapsdir}/*.png
This page took 0.106183 seconds and 3 git commands to generate.