Summary: The GNU version of the awk text processing utility
-Summary(de.UTF-8): Die GNU-Version des AWK-Textverarbeitungsutilitys
-Summary(es.UTF-8): Utilitarios GNU para manipulación de archivos texto
-Summary(fr.UTF-8): Traitement de texte des utilitaires GNU
-Summary(ja.UTF-8): GNU バージョンの awk テキスト処理ユーティリティー
-Summary(pl.UTF-8): Wersja GNU awk - narzędzia do obróbki tekstów
-Summary(pt_BR.UTF-8): Utilitários GNU para manipulação arquivos texto
-Summary(ru.UTF-8): GNU версия утилиты обработки текстов awk
-Summary(tr.UTF-8): GNU araçları metin düzenleyici
-Summary(uk.UTF-8): GNU версія утиліти обробки текстів awk
+Summary(de.UTF-8): Die GNU-Version des AWK-Textverarbeitungsutilitys
+Summary(es.UTF-8): Utilitarios GNU para manipulación de archivos texto
+Summary(fr.UTF-8): Traitement de texte des utilitaires GNU
+Summary(ja.UTF-8): GNU バージョンの awk テキスト処理ユーティリティー
+Summary(pl.UTF-8): Wersja GNU awk - narzędzia do obróbki tekstów
+Summary(pt_BR.UTF-8): Utilitários GNU para manipulação arquivos texto
+Summary(ru.UTF-8): GNU версия утилиты обработки текстов awk
+Summary(tr.UTF-8): GNU araçları metin düzenleyici
+Summary(uk.UTF-8): GNU версія утиліти обробки текстів awk
Name: gawk
-Version: 3.1.5
-Release: 2
-License: GPL
+Version: 3.1.7
+Release: 1
+License: GPL v3+
Group: Applications/Text
-Source0: ftp://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.bz2
-# Source0-md5: 5703f72d0eea1d463f735aad8222655f
+Source0: http://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.bz2
+# Source0-md5: 674cc5875714315c490b26293d36dfcf
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 80753d75be0f469f70e8c90e75121a9c
Patch0: %{name}-info.patch
Patch1: %{name}-shutup.patch
-Patch2: %{name}-pl.po-update.patch
-BuildRequires: autoconf >= 2.59
-BuildRequires: automake >= 1:1.7
-BuildRequires: gettext-devel >= 0.14.4
+Patch2: %{name}-3.1.3-getpgrp_void.patch
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake >= 1:1.10
+BuildRequires: gettext-devel >= 0.16.1
BuildRequires: texinfo >= 4.3
Requires: mktemp
Requires: sed
%package devel
Summary: Header files for gawk
-Summary(pl.UTF-8): Pliki nagłówkowe dla gawka
+Summary(pl.UTF-8): Pliki nagłówkowe dla gawka
Group: Development/Libraries
%description devel
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS
-%doc README_d/README.linux POSIX.STD
+%doc AUTHORS ChangeLog README FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS README
%attr(755,root,root) %{_bindir}/gawk
%attr(755,root,root) %{_bindir}/igawk
%attr(755,root,root) %{_bindir}/pgawk*
%lang(it) %{_mandir}/it/man1/*
%lang(ja) %{_mandir}/ja/man1/*
%lang(pl) %{_mandir}/pl/man1/*
-%{_infodir}/*info*
+%{_infodir}/*.info*
%attr(755,root,root) %{_libdir}/awk
%{_datadir}/awk