]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- add BR readline-devel for dgawk (awk debugger)
[packages/gawk.git] / gawk.spec
1 Summary:        The GNU version of the awk text processing utility
2 Summary(de.UTF-8):      Die GNU-Version des AWK-Textverarbeitungsutilitys
3 Summary(es.UTF-8):      Utilitarios GNU para manipulación de archivos texto
4 Summary(fr.UTF-8):      Traitement de texte des utilitaires GNU
5 Summary(ja.UTF-8):      GNU バージョンの awk テキスト処理ユーティリティー
6 Summary(pl.UTF-8):      Wersja GNU awk - narzędzia do obróbki tekstów
7 Summary(pt_BR.UTF-8):   Utilitários GNU para manipulação arquivos texto
8 Summary(ru.UTF-8):      GNU версия утилиты обработки текстов awk
9 Summary(tr.UTF-8):      GNU araçları metin düzenleyici
10 Summary(uk.UTF-8):      GNU версія утиліти обробки текстів awk
11 Name:           gawk
12 Version:        4.0.0
13 Release:        1
14 License:        GPL v3+
15 Group:          Applications/Text
16 Source0:        http://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.bz2
17 # Source0-md5:  7cdc48e99b885a4bbe0e98dcf1706b22
18 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
19 # Source1-md5:  80753d75be0f469f70e8c90e75121a9c
20 Patch0:         %{name}-info.patch
21 Patch1:         %{name}-shutup.patch
22 URL:            http://www.gnu.org/software/gawk/
23 BuildRequires:  autoconf >= 2.63
24 BuildRequires:  automake >= 1:1.11
25 BuildRequires:  gettext-devel >= 0.17
26 BuildRequires:  libtool
27 BuildRequires:  libsigsegv
28 BuildRequires:  readline-devel
29 BuildRequires:  texinfo >= 4.3
30 Requires:       mktemp
31 Requires:       sed
32 Obsoletes:      gawk-doc
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _includedir     %{_prefix}/include/awk
36
37 %description
38 The gawk packages contains the GNU version of awk, a text processing
39 utility. Awk interprets a special-purpose programming language to do
40 quick and easy text pattern matching and reformatting jobs. Gawk
41 should be upwardly compatible with the Bell Labs research version of
42 awk and is almost completely compliant with the 1993 POSIX 1003.2
43 standard for awk.
44
45 %description -l de.UTF-8
46 Das gawk-Paket enthält die GNU-Version von awk, einem
47 Textverarbeitungs-Utility. Awk interpretiert eine spezielle
48 Programmiersprache, um Textmuster zu suchen, und neu zu formatieren.
49 Gawk ist kompatibel zu der Bell Labs research-Version von awk, und ist
50 fast kompatibel zum 1993 POSIX 1003.2-awk-Standard.
51
52 %description -l es.UTF-8
53 Este es el GNU Awk. Debe ser compatible con la versión de pesquisa de
54 awk del Bell Labs. Es casi completamente vinculado con el padrón 1993
55 POSIX 1003.2 para awk. Gawk puede ser usado para procesar archivos
56 texto y se considera una herramienta padrón del Linux.
57
58 %description -l fr.UTF-8
59 awk de GNU, compatible vers le haut avec les versions awk des Bell
60 Labs. Il est presque totalement conforme au standard 1993 POSIX 1003.2
61 de awk.
62
63 %description -l ja.UTF-8
64 gawk パッケージは GNU バージョンの、テキスト処理ユーティリティー
65 である awk を含んでいます。awk は素早く、容易なパターンマッチングと
66 整形処理をするための特殊な目的の言語です。gawk はベル研のバージョンの
67 awk と上位互換で、awk の 1993 POSIX 1003.2 標準に完全に合致します。
68
69 %description -l pl.UTF-8
70 Pakiet zawiera implementację GNU interpretera języka awk, który
71 powinien być kompatybilny z aplikacją o tej samej nazwie zrobioną
72 przez Bell Labs. GNU awk jest w pełni zgodny ze standardem 1993 POSIX
73 1003.2.
74
75 Gawk (GNU awk) jest zaawansowanym językiem skryptowym, doskonale
76 nadającym się do obróbki plików tekstowych. Jest to jedno z
77 podstawowych narzędzi systemu Linux.
78
79 %description -l pt_BR.UTF-8
80 Este é o GNU Awk. Ele deve ser compatível com a versão de pesquisa de
81 awk do Bell Labs. Ele é quase completamente vinculado com o padrão
82 1993 POSIX 1003.2 para awk. Gawk pode ser usado para processar
83 arquivos texto e é considerado uma ferramenta padrão do Linux.
84
85 %description -l ru.UTF-8
86 Пакет gawk содержит GNU версию awk, утилиты обработки текстов. awk
87 интерпретирует специализированный язык программирования для быстрого и
88 легкого выполнения работ по сопоставлению с шаблонами и
89 переформатированию текстов. Gawk должен быть совместим с версией awk
90 от Bell Labs и практически полностью отвечает стандарту 1993 POSIX
91 1003.2 на awk.
92
93 %description -l tr.UTF-8
94 Gawk metin dosyalarını işlemek için kullanılan standart Linux
95 Araçlarından biridir.
96
97 %description -l uk.UTF-8
98 Пакет gawk містить GNU версію awk, утиліти обробки текстів. awk
99 інтерпретує спеціалізовану мову програмування для швидкого та легкого
100 виконання робіт по співставленню з шаблонами та переформатуванню
101 текстів. Gawk має бути сумісним з версією awk від Bell Labs і
102 практично повністю відповідає стандарту 1993 POSIX 1003.2 на awk.
103
104 %package devel
105 Summary:        Header files for gawk
106 Summary(pl.UTF-8):      Pliki nagłówkowe dla gawka
107 Group:          Development/Libraries
108
109 %description devel
110 This is the package containing the header files for gawk.
111
112 %description devel -l pl.UTF-8
113 Ten pakiet zawiera pliki nagłówkowe dla gawka.
114
115 %prep
116 %setup -q
117 %patch0 -p1
118 %patch1 -p1
119
120 rm -f po/stamp-po
121
122 %build
123 %{__gettextize}
124 %{__aclocal} -I m4
125 %{__autoconf}
126 %{__autoheader}
127 %{__automake}
128
129 %configure
130
131 %{__make} -j1
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135
136 %{__make} install \
137         DESTDIR=$RPM_BUILD_ROOT
138
139 install -d $RPM_BUILD_ROOT%{_includedir}
140 install *.h $RPM_BUILD_ROOT%{_includedir}
141
142 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
143 rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
144 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
145 rm -f $RPM_BUILD_ROOT%{_mandir}/README.gawk-non-english-man-pages
146
147 %find_lang %{name}
148
149 %clean
150 rm -rf $RPM_BUILD_ROOT
151
152 %post   -p /sbin/postshell
153 -/usr/sbin/fix-info-dir -c %{_infodir}
154
155 %postun -p /sbin/postshell
156 -/usr/sbin/fix-info-dir -c %{_infodir}
157
158 %files -f %{name}.lang
159 %defattr(644,root,root,755)
160 %doc AUTHORS ChangeLog README FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS
161 %attr(755,root,root) %{_bindir}/dgawk
162 %attr(755,root,root) %{_bindir}/gawk
163 %attr(755,root,root) %{_bindir}/igawk
164 %attr(755,root,root) %{_bindir}/pgawk*
165 %attr(755,root,root) %{_libdir}/awk
166 %{_datadir}/awk
167 %{_mandir}/man1/*
168 %lang(es) %{_mandir}/es/man1/*
169 %lang(fr) %{_mandir}/fr/man1/*
170 %lang(it) %{_mandir}/it/man1/*
171 %lang(ja) %{_mandir}/ja/man1/*
172 %lang(pl) %{_mandir}/pl/man1/*
173 %{_infodir}/gawk*.info*
174
175 %files devel
176 %defattr(644,root,root,755)
177 %{_includedir}
This page took 0.064465 seconds and 4 git commands to generate.