]> git.pld-linux.org Git - packages/blender.git/blobdiff - blender.spec
- ahh, what the hell: openssl 0.9.7c
[packages/blender.git] / blender.spec
index e1d6b0a9459ccb5b5f6f9585ba9e2108647d85b0..36bd3a8639af2e65770813c6497ea61286121fd8 100644 (file)
@@ -1,36 +1,36 @@
-
-%include /usr/lib/rpm/macros.python
-
+# TODO:
+# - check BRs
+#
 Summary:       3D modeling, rendering, animation and game creation package
-Summary(pl):   Pakiet do tworzenia animacji 3D oraz robienia gier
+Summary(pl):   Pakiet do tworzenia animacji 3D oraz gier
 Name:          blender
-Version:       2.25b.9
+Version:       2.28
 Release:       0.1
 License:       GPL
 Group:         X11/Applications/Graphics
-Vendor:                http://www.linux.ucla.edu/~phaethon/blender/blender-autoconf.html
-Source0:       http://www.linux.ucla.edu/~phaethon/blender/blender-creator-ph-%{version}.tar.gz
-URL:           http://www.linux.ucla.edu/~phaethon/blender/blender-autoconf.html
-#!#Vendor:             Blender Foundation
-#!#Source0:    ftp://dl.xs4all.nl/pub/mirror/blender/%{name}-source-%{version}.tar.gz
-#!#http://www.linux.ucla.edu/~phaethon/blender/blender-autoconf.html
-Patch0:                %{name}-python.patch
-Requires:      OpenGL
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
+Source0:       http://download.blender.org/source/%{name}-%{version}.tar.bz2
+# Source0-md5: 4c86e9d28c6ca70b80375fd2c75423bb
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+BuildRequires: OpenAL-devel
 BuildRequires: OpenGL-devel
 BuildRequires: SDL-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: esound-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
-BuildRequires: openssl-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: libvorbis-devel
+BuildRequires: openssl-devel >= 0.9.7c
 BuildRequires: python-devel
 BuildRequires: smpeg-devel
 BuildRequires: zlib-devel
+Requires:      OpenGL
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _noautoreqdep   libGL.so.1 libGLU.so.1
-%define                _prefix         /usr/X11R6
 
 %description
 Blender is a free and fully functional 3D modeling, rendering,
@@ -39,16 +39,13 @@ systems.
 
 %description -l pl
 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
-3D oraz robienia gier, dostêpny dla systemów Unix, Windows i BeOS.
+3D oraz gier, dostêpny dla systemów Unix, Windows i BeOS.
 
 %prep
-%setup -q -n %{name}-creator-ph-%{version}
-%patch0 -p1
+%setup -q
 
 %build
-CPPFLAGS="-I/usr/X11R6/include"
-LDFLAGS="-L/usr/X11R6/lib"
-export CPPFLAGS LDFLAGS
+rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -58,8 +55,13 @@ export CPPFLAGS LDFLAGS
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-echo blender-creator-ph > $RPM_BUILD_ROOT%{py_sitedir}/blender.pth
+install -d $RPM_BUILD_ROOT{%{_applnkdir},%{_pixmapsdir}}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -c %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}
+install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -68,6 +70,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/*
-%dir %{py_sitedir}/blender-creator-ph
-%attr(755,root,root) %{py_sitedir}/blender-creator-ph/*.so
-%{py_sitedir}/blender.pth
+%{_applnkdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
This page took 0.055926 seconds and 4 git commands to generate.