---- bison-2.1/doc/bison.texinfo.orig 2005-09-16 13:26:43.000000000 +0200
-+++ bison-2.1/doc/bison.texinfo 2005-10-22 23:29:17.757997112 +0200
-@@ -62,9 +62,9 @@
+--- bison-2.5/doc/bison.texinfo.orig 2011-05-15 00:17:12.000000000 +0200
++++ bison-2.5/doc/bison.texinfo 2011-05-17 17:15:02.281008949 +0200
+@@ -52,9 +52,9 @@
@end quotation
@end copying
-@dircategory Software development
+@dircategory Programming tools:
@direntry
--* bison: (bison). @acronym{GNU} parser generator (Yacc replacement).
-+* bison: (bison). @acronym{GNU} parser generator (Yacc replacement)
+-* bison: (bison). GNU parser generator (Yacc replacement).
++* bison: (bison). GNU parser generator (Yacc replacement)
@end direntry
- @ifset shorttitlepage-enabled
+ @titlepage
--- /dev/null
+--- bison-2.5/po/pl.po.orig 2011-05-15 00:25:39.000000000 +0200
++++ bison-2.5/po/pl.po 2011-05-17 17:24:33.591028077 +0200
+@@ -5,7 +5,7 @@
+ #
+ msgid ""
+ msgstr ""
+-"Project-Id-Version: bison 2.5-rc1\n"
++"Project-Id-Version: bison 2.5\n"
+ "Report-Msgid-Bugs-To: bug-bison@gnu.org\n"
+ "POT-Creation-Date: 2011-05-14 18:25-0400\n"
+ "PO-Revision-Date: 2011-05-10 10:26-0400\n"
+@@ -131,6 +131,10 @@
+ "canonical LR(1) support is experimental.\n"
+ "\n"
+ msgstr ""
++"Tworzenie analizatorów składni: deterministycznych LR lub uogólnionych\n"
++"LR (GLR), wykorzystujących tablice analizatorów LALR(1), IELR(1) lub\n"
++"zwykłe LR(1). Obsługa IELR(1) i zwykłych LR(1) jest eksperymentalna.\n"
++"\n"
+
+ #: src/getargs.c:288
+ msgid ""
Summary(tr.UTF-8): GNU ayrıştırıcı üreticisi
Summary(uk.UTF-8): Bison - генератор парсерів GNU
Name: bison
-Version: 2.4.3
+Version: 2.5
Release: 1
License: GPL v3+
Group: Development/Tools
Source0: http://ftp.gnu.org/gnu/bison/%{name}-%{version}.tar.bz2
-# Source0-md5: c1d3ea81bc370dbd43b6f0b2cd21287e
+# Source0-md5: 9dba20116b13fc61a0846b0058fbe004
Source1: %{name}.1.pl
Patch0: %{name}-info.patch
+Patch1: %{name}-pl.po-update.patch
URL: http://gnu.org/software/bison/
-BuildRequires: automake
+BuildRequires: automake >= 1:1.11.1
BuildRequires: flex
BuildRequires: gettext-devel >= 0.12
BuildRequires: m4 >= 1.4.6
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
-rm -f po/stamp-po
+%{__rm} po/stamp-po
%build
cp -f /usr/share/automake/config.sub config