rpms/transcode/F-10 transcode.spec,1.5,1.6

NicolasChauvet kwizart at rpmfusion.org
Fri Dec 19 18:46:43 CET 2008


Author: kwizart

Update of /cvs/free/rpms/transcode/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv31222

Modified Files:
	transcode.spec 
Log Message:
Fix with asm disabled for F-10



Index: transcode.spec
===================================================================
RCS file: /cvs/free/rpms/transcode/F-10/transcode.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- transcode.spec	16 Nov 2008 16:14:45 -0000	1.5
+++ transcode.spec	19 Dec 2008 17:46:43 -0000	1.6
@@ -7,7 +7,7 @@
 
 Name:           transcode
 Version:        1.0.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Video stream processing tool
 
 Group:          Applications/Multimedia
@@ -72,7 +72,7 @@
 %patch9 -p1 -b .ImageMagick
 
 %build
-autoreconf # for patch2, and fixes standard rpaths on lib64 archs
+autoreconf -f -i # for patch2, and fixes standard rpaths on lib64 archs
 for file in docs/{man/*.1,export_mp2.txt,export_mpeg.txt,filter_dnr.txt} \
     AUTHORS ChangeLog README docs/README.vcd ; do
     iconv -f iso-8859-1 -t utf-8 $file > $file.utf8 && mv -f $file.utf8 $file
@@ -102,16 +102,22 @@
         --enable-sdl                                            \
         --enable-imagemagick                                    \
         --enable-libmpeg3                                       \
-        CFLAGS=-I/usr/include/ffmpeg HAVE_LIBAVCODEC_AVCODEC_H=1
+        --disable-3dnow                                         \
+%ifnarch x86_64 ia64 i686
+        --disable-mmx                                           \
+        --disable-sse                                           \
+        --disable-sse2                                          \
+%endif
+
 
-make %{?_smp_mflags}  HAVE_LIBAVCODEC_AVCODEC_H=1 CFLAGS="-I/usr/include/ffmpeg -I/usr/include/ffmpeg/libpostproc  -D_LARGEFILE64_SOURCE"
+make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT __documentation
-make install DESTDIR=$RPM_BUILD_ROOT 
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 mv $RPM_BUILD_ROOT%{_docdir}/transcode/ __documentation
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %clean
@@ -127,6 +133,11 @@
 
 
 %changelog
+* Thu Dec 11 2008 kwizart < wkizart at gmail.com > - 1.0.7-2
+- Fix autoreconf use
+- Fix CFLAGS
+- Fix asm options
+
 * Sun Nov 16 2008 David Juran <david at juran.se> - 1.0.7-1
 - upgrade to 1.0.7
 



More information about the rpmfusion-commits mailing list