Name: fex Version: 1.20100416.2814 Release: 2%{?dist} 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Fex is a powerful field extraction tool. Fex provides a very concise language for tokenizing strings and extracting fields. %prep %setup -q # snprintf has a license incompatible with Fedora # It is only used on Solaris so just delete the directory to avoid confusion or # problems with licensing. rm -rf snprintf_2.2 %build make %{?_smp_mflags} CFLAGS="%{optflags}" %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} PREFIX=%{_prefix} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYRIGHT README %{_bindir}/%{name} %changelog * Mon Jan 9 2012 Mark McKinstry - 1.20100416.2814-2 - fix typo in description - add a clean section to the spec - add it to the Applications/Text group in the spec * Sun Jan 1 2012 Mark McKinstry - 1.20100416.2814-1 - initial build