Summary(tr.UTF-8): GNU araçları metin düzenleyici
Summary(uk.UTF-8): GNU версія утиліти обробки текстів awk
Name: gawk
-Version: 4.2.0
-Release: 2
+Version: 5.3.0
+Release: 1
License: GPL v3+
Group: Applications/Text
-Source0: http://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.lz
-# Source0-md5: 716b498c13c96c01758ab59415763e72
+Source0: https://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.lz
+# Source0-md5: ceacc7e6192ad5f7f6984490c680797c
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 80753d75be0f469f70e8c90e75121a9c
-Patch100: gawk-4.2.0-000-do-not-fold-constant-strings.patch
-Patch101: gawk-4.2.0-001-rwarray-small-improvements.patch
Patch0: %{name}-info.patch
Patch1: %{name}-shutup.patch
Patch2: no-pty-test.patch
URL: http://www.gnu.org/software/gawk/
-BuildRequires: autoconf >= 2.69
-BuildRequires: automake >= 1:1.15
-BuildRequires: gettext-tools >= 0.19.7
+BuildRequires: autoconf >= 2.71
+BuildRequires: autoconf-archive
+BuildRequires: automake >= 1:1.16
+BuildRequires: gettext-tools >= 0.20.2
BuildRequires: gmp-devel
-BuildRequires: libsigsegv
BuildRequires: lzip
BuildRequires: mpfr-devel
BuildRequires: readline-devel
BuildRequires: tar >= 1:1.22
-BuildRequires: texinfo >= 4.3
+BuildRequires: texinfo >= 7.1
Requires: mktemp
Requires: sed
Obsoletes: gawk-doc
%prep
%setup -q
-%patch100 -p1
-%patch101 -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%{__autoconf}
%{__autoheader}
%{__automake}
-
+cd extension
+%{__libtoolize}
+%{__aclocal} -I m4 -I ../m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ..
%configure \
--datadir=%{_libdir}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS POSIX.STD README
%attr(755,root,root) %{_bindir}/gawk
+%attr(755,root,root) %{_bindir}/gawkbug
%dir %{_libdir}/gawk
%attr(755,root,root) %{_libdir}/gawk/*.so
%dir %{_libdir}/awk
/etc/profile.d/gawk.csh
/etc/profile.d/gawk.sh
%{_mandir}/man1/gawk.1*
+%{_mandir}/man1/gawkbug.1*
+%{_mandir}/man1/pm-gawk.1*
%{_mandir}/man3/filefuncs.3am*
%{_mandir}/man3/fnmatch.3am*
%{_mandir}/man3/fork.3am*
%lang(ja) %{_mandir}/ja/man1/gawk.1*
%lang(pl) %{_mandir}/pl/man1/gawk.1*
%{_infodir}/gawk*.info*
+%{_infodir}/gawk*.jpg
+%{_infodir}/gawk*.png
+%{_infodir}/pm-gawk.info*
%files devel
%defattr(644,root,root,755)