%define pfx /opt/freescale/rootfs/%{_target_cpu} Summary : Some simple but meaningful text Name : linphone Version : 3.2.1 Release : z License : xxxx Vendor : Freescale Packager : xxxx Group : xxxx URL : http://xxxx Source : %{name}-%{version}.tar.gz BuildRoot : %{_tmppath}/%{name} Prefix : %{pfx} %Description %{summary} %Prep %setup %Build ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --with-gnu-ld --disable-static --disable-glib --with-osip=/home/fabio/ltib/rootfs/usr --with-readline=/home/fabio/ltib/rootfs/usr SPEEX_CFLAGS="-I/home/fabio/ltib/rootfs/usr/include" SPEEX_LIBS="-L/home/fabio/ltib/rootfs/usr/lib -lspeex" 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}/*