Summary(tr): GNU araçlarý metin düzenleyici
Summary(uk): GNU ×ÅÒÓ¦Ñ ÕÔÉ̦ÔÉ ÏÂÒÏÂËÉ ÔÅËÓÔ¦× awk
Name: gawk
-Version: 3.1.3
-Release: 3
+Version: 3.1.5
+Release: 1.1
License: GPL
Group: Applications/Text
-Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: a116eec17e7ba085febb74c7758823bd
+Source0: ftp://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.bz2
+# Source0-md5: 5703f72d0eea1d463f735aad8222655f
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 80753d75be0f469f70e8c90e75121a9c
-Source2: %{name}-pl.po
Patch0: %{name}-info.patch
Patch1: %{name}-shutup.patch
-Patch2: %{name}-pmake.patch
-Patch3: %{name}-it_po.patch
-BuildRequires: autoconf >= 2.57
-BuildRequires: automake >= 1.7
+Patch2: %{name}-pl.po-update.patch
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.7
+BuildRequires: gettext-devel >= 0.14.4
BuildRequires: texinfo >= 4.3
-BuildRequires: gettext-devel
Requires: mktemp
Requires: sed
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: gawk-doc
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _includedir %{_prefix}/include/awk
%description
The gawk packages contains the GNU version of awk, a text processing
ÔÅËÓÔ¦×. Gawk ÍÁ¤ ÂÕÔÉ ÓÕͦÓÎÉÍ Ú ×ÅÒÓ¦¤À awk ×¦Ä Bell Labs ¦
ÐÒÁËÔÉÞÎÏ ÐÏ×ΦÓÔÀ צÄÐÏצÄÁ¤ ÓÔÁÎÄÁÒÔÕ 1993 POSIX 1003.2 ÎÁ awk.
+%package devel
+Summary: Header files for gawk
+Summary(pl): Pliki nag³ówkowe dla gawka
+Group: Development/Libraries
+
+%description devel
+This is the package containing the header files for gawk.
+
+%description devel -l pl
+Ten pakiet zawiera pliki nag³ówkowe dla gawka.
+
%prep
-%setup -q
+%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
-cp %{SOURCE2} po/pl.po
-echo 'pl' >> po/LINGUAS
+rm -f po/stamp-po
%build
%{__gettextize}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure \
- --enable-nls
-%{__make}
+%configure
+
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
+install -d $RPM_BUILD_ROOT%{_includedir}
+install *.h $RPM_BUILD_ROOT%{_includedir}
bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
+rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
+rm -f $RPM_BUILD_ROOT%{_mandir}/README.gawk-non-english-man-pages
%find_lang %{name}
%defattr(644,root,root,755)
%doc AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS
%doc README_d/README.linux POSIX.STD
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/gawk
+%attr(755,root,root) %{_bindir}/igawk
+%attr(755,root,root) %{_bindir}/pgawk*
%{_mandir}/man1/*
%lang(es) %{_mandir}/es/man1/*
%lang(fr) %{_mandir}/fr/man1/*
%{_infodir}/*info*
%attr(755,root,root) %{_libdir}/awk
%{_datadir}/awk
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}