Name: fex Version: 1.20100416.2814 Release: 1 Summary: Field split/extraction like cut/awk Group: Applications/Text License: BSD URL: http://semicomplete.com/projects/fex/ Source0: http://semicomplete.googlecode.com/files/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Fex is a powerful field extraction tool. Fex provides a very concise language for tokenizing strings and extracting fields. %prep %setup -q %patch0 %build make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} gmake DESTDIR=${RPM_BUILD_ROOT} PREFIX=%{_prefix} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : mkdir -p ${RPM_BUILD_ROOT}/usr/bin cd ${RPM_BUILD_ROOT}/usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc COPYRIGHT README %{_bindir}/* /usr/bin/* %changelog * Mon Mar 17 2014 Michael Perzl - 1.20100416.2814-1 - first version for AIX V5.1 and higher