]> git.pld-linux.org Git - packages/blender.git/blob - blender.spec
- really fixed locale dirs
[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.32
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://download.blender.org/source/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ebde5f573e19b7b8b64401d293c989e7
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-po_and_locale_names.patch
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.7d
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
46 %patch0 -p1
47
48 mv -f po/pt_{br,BR}.po
49 rm -rf bin/.blender/locale
50
51 %build
52 rm -f missing
53 %{__libtoolize}
54 %{__aclocal}
55 %{__autoconf}
56 %{__automake}
57 %configure
58
59 %{__make}
60 %{__make} -C po OCGDIR=..
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_datadir},%{_desktopdir},%{_pixmapsdir}}
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
70 install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
71 cp -a bin/.blender/locale $RPM_BUILD_ROOT%{_datadir}
72
73 %find_lang %{name} --all-name
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc README release*.txt
81 %attr(755,root,root) %{_bindir}/*
82 %{_desktopdir}/*.desktop
83 %{_pixmapsdir}/*.png
This page took 0.030803 seconds and 4 git commands to generate.