diff --git a/gawk-4.0.0h.de.po.bz2 b/gawk-4.0.0h.de.po.bz2 new file mode 100644 index 0000000..6b7d05a --- /dev/null +++ b/gawk-4.0.0h.de.po.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa2c93485e50a6fde8162c4a079c8ef721d700ff21ede7f71e8fb33b4f6a8b4c +size 14264 diff --git a/gawk.changes b/gawk.changes index e9bb337..9fe2d6d 100644 --- a/gawk.changes +++ b/gawk.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Jan 30 16:16:45 CET 2012 - pth@suse.de + +- Compress message catalog. + +------------------------------------------------------------------- +Mon Jan 30 13:32:32 CET 2012 - pth@suse.de + +- Use latest german message catalog. +- Call update-po as part of package build. + ------------------------------------------------------------------- Fri Dec 2 14:52:56 UTC 2011 - cfarrell@suse.com diff --git a/gawk.spec b/gawk.spec index 1392a22..6e4376f 100644 --- a/gawk.spec +++ b/gawk.spec @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,6 @@ Name: gawk Url: http://www.gnu.org/software/gawk/ -License: GPL-3.0+ -Group: Productivity/Text/Utilities Provides: awk BuildRequires: automake BuildRequires: update-alternatives @@ -26,7 +24,10 @@ PreReq: %{install_info_prereq} update-alternatives Version: 4.0.0 Release: 0 Summary: GNU awk +License: GPL-3.0+ +Group: Productivity/Text/Utilities Source: gawk-%{version}.tar.bz2 +Source1: gawk-4.0.0h.de.po.bz2 Patch1: gawk-3.1.8.diff Patch2: gawk-revert-gsub-gawk3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,7 +52,7 @@ Authors: %setup -q %patch1 %patch2 -p1 - +bunzip2 -c %{S:1} > po/de.po rm -f regex.[ch] chmod -x COPYING # force rebuild with non-broken makeinfo @@ -68,6 +69,7 @@ AUTOPOINT=true autoreconf --force --install %else make %{?_smp_mflags} %endif +make -C po update-po %check make check