%define pfx /opt/freescale/rootfs/%{_target_cpu} Summary : FFmpeg video and sound codecs and utilities. Name : ffmpeg-export Version : 20101201 Release : 1 License : LGPL Vendor : Freescale Semiconductor Packager : John Faith Group : Applications Source : %{name}-%{version}.tar.bz2 BuildRoot : %{_tmppath}/%{name} Prefix : %{pfx} URL : http://ffmpeg.mplayerhq.hu/download.html %Description %{summary} %Prep %setup -n ffmpeg-export-2010-12-01 %Build ./configure --arch=$LINTARCH --disable-altivec \ --disable-mmx \ --disable-mmx2 \ --enable-cross-compile \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --extra-cflags=-I../linux/include \ --enable-swscale \ --enable-gpl \ --target-os=linux \ --disable-armv5te \ --disable-armv6 \ --disable-armv6t2 \ --disable-armvfp \ --disable-neon \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffprobe \ --disable-ffserver \ --enable-shared # Now build it make %Install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT/%{pfx} %Clean rm -rf $RPM_BUILD_ROOT %Files %defattr(-,root,root) %{pfx}/*