%define pfx /opt/freescale/rootfs/%{_target_cpu} Summary : libXfixes X Fixes extension library Name : libXfixes Version : 4.0.3 Release : 1 License : GPL (Distributable) Vendor : Maxtrack Packager : Alan Carvalho, Hamilton Vera Group : Development/Libraries Source : %{name}-%{version}.tar.bz2 BuildRoot : %{_tmppath}/%{name} Prefix : %{pfx} %Description %{summary} %Prep %setup %Build ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} #make -j1 make %Install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT/%{pfx} rm -f $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/*.la %Clean rm -rf $RPM_BUILD_ROOT %Files %defattr(-,root,root) %{pfx}/*