[poedit] New upstream version

Mario Blättermann mariobl at fedoraproject.org
Thu Jan 8 22:07:15 UTC 2015


commit b8732524b04afb775a083ca0e258117d1e49b60f
Author: Mario Blättermann <mario.blaettermann at gmail.com>
Date:   Thu Jan 8 23:07:16 2015 +0100

    New upstream version

 .gitignore     |    1 +
 poedit.1.de.po |  160 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 poedit.spec    |   53 ++++++++++++++----
 sources        |    2 +-
 4 files changed, 203 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0e9d85e..9eaa51e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 poedit-1.4.6.1.tar.gz
 /poedit-1.5.4.tar.gz
+/poedit-1.7.1.tar.gz
diff --git a/poedit.1.de.po b/poedit.1.de.po
new file mode 100644
index 0000000..f4d8b44
--- /dev/null
+++ b/poedit.1.de.po
@@ -0,0 +1,160 @@
+# German translation of the poedit manpage
+# This file is distributed under the same license as the poedit package.
+# Copyright © of this file:
+# Mario Blättermann <mario.blaettermann at gmail.com>, 2015.
+msgid ""
+msgstr ""
+"Project-Id-Version: manpages-de\n"
+"POT-Creation-Date: 2015-01-02 11:55+0100\n"
+"PO-Revision-Date: 2015-01-02 12:09+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann at gmail.com>\n"
+"Language-Team: German <debian-l10n-german at lists.debian.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.7.1\n"
+
+#. type: TH
+#, no-wrap
+msgid "POEDIT"
+msgstr "POEDIT"
+
+#. type: TH
+#, no-wrap
+msgid "12/05/2014"
+msgstr "12. Mai 2014"
+
+#. type: TH
+#, no-wrap
+msgid "\\ \" "
+msgstr "\\ \" "
+
+#. type: TH
+#, no-wrap
+msgid "\\ \""
+msgstr "\\ \""
+
+#. -----------------------------------------------------------------
+#. * MAIN CONTENT STARTS HERE *
+#. -----------------------------------------------------------------
+#. type: SH
+#, no-wrap
+msgid "NAME"
+msgstr "BEZEICHNUNG"
+
+#. type: Plain text
+msgid "poedit - gettext catalogs editor"
+msgstr "poedit - Editor für Gettext-Kataloge"
+
+#. type: SH
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr "ÜBERSICHT"
+
+#. type: Plain text
+msgid "B<poedit> [B<-h>] [B<--verbose>] [I<FILE>...]"
+msgstr "B<poedit> [B<-h>] [B<--verbose>] [I<DATEI> …]"
+
+#. type: SH
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr "BESCHREIBUNG"
+
+#. type: Plain text
+msgid "Poedit is GUI editor for GNU gettext translation files\\&."
+msgstr ""
+"Poedit ist ein grafischer Editor für GNU-Gettext-Übersetzungsdateien\\&."
+
+#. type: Plain text
+msgid ""
+"When launched with one or more files as argument, it loads and opens them "
+"for editing\\&."
+msgstr ""
+"Beim Aufruf mit einer oder mehreren Dateien als Argument werden diese "
+"geladen und zur Bearbeitung geöffnet\\&."
+
+#. type: SH
+#, no-wrap
+msgid "OPTIONS"
+msgstr "OPTIONEN"
+
+#. type: Plain text
+msgid "B<-h>, B<--help>"
+msgstr "B<-h>, B<--help>"
+
+#. type: Plain text
+msgid "Display usage information and exit\\&."
+msgstr "zeigt Informationen zur Benutzung an und beendet das Programm\\&."
+
+#. type: Plain text
+msgid "B<--verbose>"
+msgstr "B<--verbose>"
+
+#. type: Plain text
+msgid "Print verbose logging information\\&."
+msgstr "gibt ausführliche Protokollmeldungen aus\\&."
+
+#. type: SH
+#, no-wrap
+msgid "AUTHOR"
+msgstr "AUTOR"
+
+#. type: Plain text
+msgid ""
+"Written by Vaclav Slavik E<lt>\\m[blue]B<vaclav at slavik\\&.io>\\m[]\\&"
+"\\s-2\\u[1]\\d\\s+2E<gt>"
+msgstr ""
+"Geschrieben von Vaclav Slavik E<lt>\\m[blue]B<vaclav at slavik\\&.io>\\m[]\\&"
+"\\s-2\\u[1]\\d\\s+2E<gt>"
+
+#. type: SH
+#, no-wrap
+msgid "RESOURCES"
+msgstr "RESSOURCEN"
+
+#. type: Plain text
+msgid "Web site: \\m[blue]B<http://poedit\\&.net/>\\m[]"
+msgstr "Webseite: \\m[blue]B<http://poedit\\&.net/>\\m[]"
+
+#. type: SH
+#, no-wrap
+msgid "COPYRIGHT"
+msgstr "COPYRIGHT"
+
+#. type: Plain text
+msgid "Copyright (C) 2008-2014 Vaclav Slavik\\&."
+msgstr "Copyright (C) 2008-2014 Vaclav Slavik\\&."
+
+#. type: Plain text
+msgid ""
+"Free use of this software is granted under the terms of the MIT license\\&."
+msgstr ""
+"Die freie Verwendung dieser Software wird unter den Bedingungen der MIT-"
+"Lizenz gewährt\\&."
+
+#. type: Plain text
+msgid "B<Vaclav Slavik> E<lt>\\&vaclav at slavik\\&.io\\&E<gt>"
+msgstr "B<Vaclav Slavik> E<lt>\\&vaclav at slavik\\&.io\\&E<gt>"
+
+#. type: Plain text
+msgid "Author."
+msgstr "Autor"
+
+#. type: SH
+#, no-wrap
+msgid "NOTES"
+msgstr "ANMERKUNGEN"
+
+#. type: IP
+#, no-wrap
+msgid " 1."
+msgstr " 1."
+
+#. type: Plain text
+msgid "vaclav at slavik.io"
+msgstr "vaclav at slavik.io"
+
+#. type: Plain text
+msgid "\\%mailto:vaclav at slavik.io"
+msgstr "\\%mailto:vaclav at slavik.io"
diff --git a/poedit.spec b/poedit.spec
index 6111b56..8e9625a 100644
--- a/poedit.spec
+++ b/poedit.spec
@@ -1,24 +1,27 @@
 Name:           poedit
-Version:        1.5.4
-Release:        11%{?dist}
+Version:        1.7.1
+Release:        3%{?dist}
 Summary:        GUI editor for GNU gettext .po files
 
 Group:          Development/Tools
 License:        MIT
 URL:            http://www.poedit.net/
-Source0:        http://downloads.sourceforge.net/poedit/poedit-%{version}.tar.gz
+Source0:        https://github.com/vslavik/%{name}/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz
+Source1:        https://mariobl.fedorapeople.org/Translations/%{name}.1.de.po
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  wxGTK-devel >= 2.8.0
-BuildRequires:  gtkspell-devel
+BuildRequires:  wxGTK3-devel >= 3.0.0
+BuildRequires:  gtkspell3-devel
+BuildRequires:  lucene++-devel
 %if 0%{?fedora} >= 18
 BuildRequires:  libdb-cxx-devel
 %else
 BuildRequires:  db4-devel
 %endif
 BuildRequires:  boost-devel
-BuildRequires:  zip
 BuildRequires:  desktop-file-utils
+BuildRequires:  po4a
+
 Requires:       gettext
 
 
@@ -37,9 +40,11 @@ for FILE in `find docs/en -name '*.hhp'`; do
     mv -f $FILE.tmp $FILE
 done
 
+# Fix a spurious-executable-perm warning
+chmod -x src/tm/ThreadPool.h
 
 %build
-%configure
+%configure --with-wx-config=/usr/bin/wx-config-3.0
 make %{?_smp_mflags} V=1
 
 
@@ -64,11 +69,22 @@ desktop-file-install \
     --add-category=GTK \
     --dir $RPM_BUILD_ROOT%{_datadir}/applications \
     $RPM_BUILD_ROOT%{_datadir}/applications/poedit.desktop
-%{find_lang} poedit
 
 # work around for https://bugzilla.redhat.com/show_bug.cgi?id=866058
 rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/*/mimetypes/text-x-gettext-translation.*
 
+# Generate and install localized man pages
+mkdir -p man/de
+po4a-translate -M utf-8 -f man \
+               --option groff_code=verbatim \
+               -m docs/%{name}.1 -p %SOURCE1 \
+               -l man/de/%{name}.1
+
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/de/man1
+install -p -m 644 man/de/%{name}.1 $RPM_BUILD_ROOT/%{_mandir}/de/man1
+
+%{find_lang} poedit --with-man
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -92,16 +108,29 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %files -f poedit.lang
 %defattr(-,root,root,-)
-%doc NEWS TODO README COPYING AUTHORS docs/*.txt
+%doc NEWS README AUTHORS docs/*.txt
+%license COPYING
 %{_bindir}/*
 %{_datadir}/applications/*.desktop
-%{_datadir}/icons/hicolor/*/*
+%{_datadir}/icons/hicolor/*/apps/*
+%{_datadir}/icons/hicolor/*/mimetypes/*
+%{_datadir}/poedit
 %{_datadir}/pixmaps/*
+%{_libexecdir}/poedit-dump-legacy-tm
 %{_mandir}/man?/*
-%{_datadir}/poedit
 
 
 %changelog
+* Thu Jan 08 2015 Mario Blättermann <mario.blaettermann at gmail.com> - 1.7.1-3
+- Remove the redundant zip from BuildRequires
+- Fix directory ownership in %%{_datadir}/icons/hicolor/
+- Add hicolor-icon-theme as runtime requirement
+
+* Fri Jan 02 2015 Mario Blättermann <mario.blaettermann at gmail.com> - 1.7.1-2
+- New upstream version
+- Use the %%license macro
+- Install German man page
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.4-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
@@ -153,7 +182,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 * Wed Jul 14 2010 Dan Horák <dan at danny.cz> - 1.4.6.1-2
 - rebuilt against wxGTK-2.8.11-2
 
-* Sat Apr 02 2010 Christoph Wickert <cwickert at fedoraproject.org> - 1.4.6.1-1
+* Sat Apr 03 2010 Christoph Wickert <cwickert at fedoraproject.org> - 1.4.6.1-1
 - Update to 1.4.6.1 (#579235)
 - New BuildRequires boost-devel
 - Update icon cache scriptlets
diff --git a/sources b/sources
index d72fa4d..e0722b7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-708991f73368f2ea7a24134058d2caf2  poedit-1.5.4.tar.gz
+52915cd751c926366cf6a08371caff57  poedit-1.7.1.tar.gz


More information about the scm-commits mailing list