]> git.pld-linux.org Git - packages/mawk.git/blob - mawk.spec
- added missing translations
[packages/mawk.git] / mawk.spec
1 Summary:        An interpreter for the awk programming language.
2 Summary(pl):    Interpreter jêzyka programowania awk.
3 Name:           mawk
4 Version:        1.2.2
5 Release:        12
6 Copyright:      GPL
7 Group:          Applications/Text
8 Source:         ftp://ftp.oxy.edu/public/%{name}%{version}.tar.gz
9 Patch:          mawk-prefix.patch
10 BuildRoot:      /tmp/%{name}-%{version}-root
11
12 %description
13 Mawk is a version of the awk programming language.  Awk interprets a 
14 special-purpose programming language to do quick text pattern matching
15 and reformatting.  Mawk improves on awk in certain ways and can 
16 sometimes outperform gawk, the standard awk program for Linux.  Mawk
17 conforms to the POSIX 1003.2 (draft 11.3) definition of awk.
18
19 You should install mawk if you use awk.
20
21 %description -l pl
22 Mawk jest wersj± interpretera jêzyka programowania awk.
23
24 %prep
25 %setup -q
26 %patch -p1
27
28 %build
29 CFLAGS="$RPM_OPT_FLAGS" \
30 ./configure \
31         --prefix=%{_prefix}
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
37
38 make install \
39         prefix=$RPM_BUILD_ROOT%{_prefix} \
40         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
41
42 strip $RPM_BUILD_ROOT%{_bindir}/*
43
44 gzip -9nf ACKNOWLEDGMENT CHANGES README
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.gz
52 %attr(755,root,root) %{_bindir}/mawk
53 %{_mandir}/man1/mawk.1*
This page took 0.051044 seconds and 3 git commands to generate.