From: Łukasz Kieś Date: Tue, 28 Feb 2012 22:25:01 +0000 (+0000) Subject: - fixed Czech locale file X-Git-Tag: auto/th/gtkpod-2_1_1-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgtkpod.git;a=commitdiff_plain;h=b601933 - fixed Czech locale file Changed files: gtkpod-linguas.patch -> 1.1 gtkpod.spec -> 1.40 --- diff --git a/gtkpod-linguas.patch b/gtkpod-linguas.patch new file mode 100644 index 0000000..2e5104c --- /dev/null +++ b/gtkpod-linguas.patch @@ -0,0 +1,24 @@ +diff -uNr gtkpod-2.1.1/configure.ac gtkpod-2.1.1.new/configure.ac +--- gtkpod-2.1.1/configure.ac 2012-01-08 17:51:11.000000000 +0100 ++++ gtkpod-2.1.1.new/configure.ac 2012-02-28 23:19:13.208521049 +0100 +@@ -129,7 +129,7 @@ + + + dnl Add the languages which your application supports here. +-ALL_LINGUAS="ca cs_CZ de es fr he it ja nl pt_BR ro ru sv zh_CN zh_TW" ++ALL_LINGUAS="ca cs de es fr he it ja nl pt_BR ro ru sv zh_CN zh_TW" + AM_GLIB_GNU_GETTEXT + + +diff -uNr gtkpod-2.1.1/plugins/plugins.mk gtkpod-2.1.1.new/plugins/plugins.mk +--- gtkpod-2.1.1/plugins/plugins.mk 2011-12-27 18:16:49.000000000 +0100 ++++ gtkpod-2.1.1.new/plugins/plugins.mk 2012-02-28 23:19:28.905902725 +0100 +@@ -67,7 +67,7 @@ + # List out the current language po files + PO_FILES=\ + $(top_srcdir)/po/ca.po \ +- $(top_srcdir)/po/cs_CZ.po \ ++ $(top_srcdir)/po/cs.po \ + $(top_srcdir)/po/de.po \ + $(top_srcdir)/po/es.po \ + $(top_srcdir)/po/fr.po \ diff --git a/gtkpod.spec b/gtkpod.spec index aeab5a7..3b7e1e5 100644 --- a/gtkpod.spec +++ b/gtkpod.spec @@ -11,6 +11,7 @@ Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz # Source0-md5: 36fd0324fd1d1da00fcddacef1b09983 Patch0: desktop.patch Patch1: itmf_tags.patch +Patch2: %{name}-linguas.patch URL: http://www.gtkpod.org/ BuildRequires: autoconf >= 2.65 BuildRequires: automake >= 1:1.9 @@ -60,10 +61,13 @@ urządzeń Apple iPod. Pozwala wgrywać pliki i listy utworów do iPoda. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %{__sed} -i -e 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh +mv -f po/cs{_CZ,}.po %build %{__libtoolize} +%{__intltoolize} %{__aclocal} %{__autoconf} %{__autoheader}