%define pfx /opt/freescale/rootfs/%{_target_cpu} Summary : Command line utilities and library for inotify Name : inotify-tools Version : 3.12 Release : 1 License : GPL Vendor : Adtec, Inc. Packager : Mike Goins Group : Applications/System URL : http://inotify-tools.sourceforge.net/ Source : %{name}-%{version}.tar.gz Patch1 : inotify-tools-3.12-1246508398.patch BuildRoot : %{_tmppath}/%{name} Prefix : %{pfx} %Description %{summary} %Prep %setup %patch1 -p1 %Build ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} 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}/*