SPECS: blender.spec - updated to 2.46 (fixes CVE-2008-1102) - build with sy...

megabajt megabajt at pld-linux.org
Sat May 31 22:53:32 CEST 2008


Author: megabajt                     Date: Sat May 31 20:53:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.46 (fixes CVE-2008-1102)
- build with system ffmpeg

---- Files affected:
SPECS:
   blender.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: SPECS/blender.spec
diff -u SPECS/blender.spec:1.82 SPECS/blender.spec:1.83
--- SPECS/blender.spec:1.82	Mon Apr  7 09:28:09 2008
+++ SPECS/blender.spec	Sat May 31 22:53:27 2008
@@ -1,18 +1,16 @@
 # $Revision$, $Date$
 # TODO:
 # - enable internalization support (BR libftgl)
-# - enable OpenAL support
 # - libsolid/libqhull/libode BR ?
-# - package python scripts
 Summary:	3D modeling, rendering, animation and game creation package
 Summary(pl.UTF-8):	Pakiet do tworzenia animacji 3D oraz gier
 Name:		blender
-Version:	2.45
-Release:	3
+Version:	2.46
+Release:	1
 License:	GPL
 Group:		X11/Applications/Graphics
 Source0:	http://download.blender.org/source/%{name}-%{version}.tar.gz
-# Source0-md5:	1358ca481b7f2b8eadd3327ebbd563ef
+# Source0-md5:	e90543a5ca5db8b04498ab0abe7bbd2c
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Source4:	%{name}-wrapper
@@ -24,6 +22,7 @@
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
 BuildRequires:	gcc >= 5:3.4.0
+BuildRequires:	ffmpeg-devel
 BuildRequires:	freealut-devel
 BuildRequires:	freetype-devel
 BuildRequires:	ftgl-devel
@@ -61,10 +60,10 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
-mv -f po/pt_{br,BR}.po
 
 rm -f missing
 rm -f user-config.py
+rm -rf bin/.blender/locale
 
 RPMCFLAGS="\"`echo %{rpmcflags}|sed 's/ /\",\"/g'`\""
 RPMLDFLAGS="\"`echo %{rpmldflags}|sed 's/ /\",\"/g'`\""
@@ -78,13 +77,18 @@
 
 BF_PYTHON_VERSION = '%{py_ver}'
 
+BF_FFMPEG         = '/usr'
+BF_FFMPEG_INC     = '%{_includedir}/ffmpeg'
+BF_FFMPEG_LIBPATH = '%{_libdir}'
+BF_FFMPEG_LIB     = 'avformat avcodec swscale avutil'
+
 LCGDIR            = 'lib/linux2'
 BF_BUILDDIR       = 'build/linux2'
 BF_INSTALLDIR     = 'install/linux2'
 END
 
 %build
-scons BF_OPENGL_LIBPATH=%{_x_libraries}
+%scons BF_OPENGL_LIBPATH=%{_x_libraries}
 %{__make} -C po OCGDIR=..
 
 install -d release/plugins/include
@@ -111,14 +115,16 @@
 install ./release/VERSION $RPM_BUILD_ROOT%{_datadir}/blender
 install ./bin/.blender/.Blanguages $RPM_BUILD_ROOT%{_datadir}/blender
 install ./bin/.blender/.bfont.ttf $RPM_BUILD_ROOT%{_datadir}/blender
-cp -a bin/.blender/locale $RPM_BUILD_ROOT%{_datadir}/blender
+cp -a bin/.blender/locale $RPM_BUILD_ROOT%{_datadir}
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/blender.1
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README doc/bf-members.txt doc/python-dev-guide.txt doc/oldbugs.txt doc/interface_API.txt
 %doc release/text/{blender.html,release*.txt}
@@ -135,6 +141,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2008-05-31 20:53:27  megabajt
+- updated to 2.46 (fixes CVE-2008-1102)
+- build with system ffmpeg
+
 Revision 1.82  2008-04-07 07:28:09  megabajt
 - restore overwritten compiler flags (fixes #129)
 - release 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/blender.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list