From 5342fbf92ab2c5d9d4038449d46ec145d00cb2e6 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 17 May 2011 15:33:21 +0000 Subject: [PATCH] - updated to 2.5 - added pl.po-update patch Changed files: bison-info.patch -> 1.7 bison-pl.po-update.patch -> 1.6 bison.spec -> 1.88 --- bison-info.patch | 12 ++++++------ bison-pl.po-update.patch | 22 ++++++++++++++++++++++ bison.spec | 10 ++++++---- 3 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 bison-pl.po-update.patch diff --git a/bison-info.patch b/bison-info.patch index 58ccb23..b81a8de 100644 --- a/bison-info.patch +++ b/bison-info.patch @@ -1,14 +1,14 @@ ---- 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 diff --git a/bison-pl.po-update.patch b/bison-pl.po-update.patch new file mode 100644 index 0000000..b3b11f6 --- /dev/null +++ b/bison-pl.po-update.patch @@ -0,0 +1,22 @@ +--- 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 "" diff --git a/bison.spec b/bison.spec index a71dfc3..87a5382 100644 --- a/bison.spec +++ b/bison.spec @@ -8,16 +8,17 @@ Summary(ru.UTF-8): Bison - генератор парсеров GNU 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 @@ -100,8 +101,9 @@ zawierajacych parsery wygenerowane przez bisona. %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 -- 2.44.0