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