1 Summary: An interpreter for the awk programming language.
6 Group: Applications/Text
7 Source: ftp://ftp.oxy.edu/public/%{name}%{version}.tar.gz
8 Patch: mawk-prefix.patch
9 BuildRoot: /tmp/%{name}-%{version}-root
12 Mawk is a version of the awk programming language. Awk interprets a
13 special-purpose programming language to do quick text pattern matching
14 and reformatting. Mawk improves on awk in certain ways and can
15 sometimes outperform gawk, the standard awk program for Linux. Mawk
16 conforms to the POSIX 1003.2 (draft 11.3) definition of awk.
18 You should install mawk if you use awk.
25 CFLAGS="$RPM_OPT_FLAGS" \
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
35 prefix=$RPM_BUILD_ROOT%{_prefix} \
36 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
38 strip $RPM_BUILD_ROOT%{_bindir}/*
40 gzip -9nf ACKNOWLEDGMENT CHANGES README
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/mawk
49 %{_mandir}/man1/mawk.1*