%define pfx /opt/freescale/rootfs/%{_target_cpu} Summary : The libglade library for loading user interfaces Name : libglade Version : 2.6.4 Release : 1 Vendor : Freescale Packager : Stuart Hughes Group : System Environment/Libraries Source : %{name}-%{version}.tar.bz2 License : LGPL BuildRoot : %{_tmppath}/%{name} AutoReqProv : no Prefix : %{pfx} %Description %{summary} %Prep %setup %Build ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --disable-gtktest make %Install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT/%{pfx} find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f %Clean rm -rf $RPM_BUILD_ROOT %Files %defattr(-,root,root) %{pfx}/*