Compare commits

...

10 Commits
rawhide ... f21

Author SHA1 Message Date
Mario Blättermann aa0d1711e6 New upstream version 2015-09-28 20:15:59 +02:00
Mario Blättermann 35c8cd3625 New upstream version 2015-05-28 11:46:23 +02:00
Mario Blättermann 5eb109786a New upstream version 2015-05-26 20:46:06 +02:00
Mario Blättermann 386f3507d8 New upstream version 2015-05-04 12:58:28 +02:00
Mario Blättermann 89ecb3fba0 New upstream version, add screenshot URL to appdata file 2015-03-13 20:29:25 +01:00
Mario Blättermann d6896a2d0b New upstream version 2015-03-05 11:38:29 +01:00
Mario Blättermann 3debaea335 Tweak appdata and add German summary and description 2015-01-15 20:14:32 +01:00
Mario Blättermann 0f1df8b2a7 Disable some non-working functions 2015-01-14 20:32:56 +01:00
Mario Blättermann c9e67daab1 New upstream version 2015-01-11 21:40:33 +01:00
Mario Blättermann 5cb142845f New upstream version 2015-01-08 23:08:07 +01:00
5 changed files with 330 additions and 37 deletions

8
.gitignore vendored
View File

@ -1,2 +1,10 @@
poedit-1.4.6.1.tar.gz
/poedit-1.5.4.tar.gz
/poedit-1.7.1.tar.gz
/poedit-1.7.3.tar.gz
/poedit-1.7.4.tar.gz
/poedit-1.7.5.tar.gz
/poedit-1.7.6.tar.gz
/poedit-1.8.tar.gz
/poedit-1.8.1.tar.gz
/poedit-1.8.5.tar.gz

189
poedit.1.de.po Normal file
View File

@ -0,0 +1,189 @@
# 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@gmail.com>, 2015.
msgid ""
msgstr ""
"Project-Id-Version: manpages-de\n"
"POT-Creation-Date: 2015-09-26 20:16+0200\n"
"PO-Revision-Date: 2015-09-26 20:16+0200\n"
"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
"Language-Team: German <debian-l10n-german@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.8.4\n"
#. type: TH
#: poedit.1:10
#, no-wrap
msgid "POEDIT"
msgstr "POEDIT"
#. type: TH
#: poedit.1:10
#, no-wrap
msgid "09/23/2015"
msgstr "23. September 2015"
#. type: TH
#: poedit.1:10
#, no-wrap
msgid "\\ \" "
msgstr "\\ \" "
#. type: TH
#: poedit.1:10
#, no-wrap
msgid "\\ \""
msgstr "\\ \""
#. -----------------------------------------------------------------
#. * MAIN CONTENT STARTS HERE *
#. -----------------------------------------------------------------
#. type: SH
#: poedit.1:30
#, no-wrap
msgid "NAME"
msgstr "BEZEICHNUNG"
#. type: Plain text
#: poedit.1:32
msgid "poedit - gettext catalogs editor"
msgstr "poedit - Editor für Gettext-Kataloge"
#. type: SH
#: poedit.1:32
#, no-wrap
msgid "SYNOPSIS"
msgstr "ÜBERSICHT"
#. type: Plain text
#: poedit.1:35
msgid "B<poedit> [B<-h>] [B<--verbose>] [I<FILE>...]"
msgstr "B<poedit> [B<-h>] [B<--verbose>] [I<DATEI> …]"
#. type: SH
#: poedit.1:35
#, no-wrap
msgid "DESCRIPTION"
msgstr "BESCHREIBUNG"
#. type: Plain text
#: poedit.1:38
msgid "Poedit is GUI editor for GNU gettext translation files\\&."
msgstr ""
"Poedit ist ein grafischer Editor für GNU-Gettext-Übersetzungsdateien\\&."
#. type: Plain text
#: poedit.1:40
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
#: poedit.1:40
#, no-wrap
msgid "OPTIONS"
msgstr "OPTIONEN"
#. type: Plain text
#: poedit.1:43
msgid "B<-h>, B<--help>"
msgstr "B<-h>, B<--help>"
#. type: Plain text
#: poedit.1:45
msgid "Display usage information and exit\\&."
msgstr "zeigt Informationen zur Benutzung an und beendet das Programm\\&."
#. type: Plain text
#: poedit.1:48
msgid "B<--verbose>"
msgstr "B<--verbose>"
#. type: Plain text
#: poedit.1:50
msgid "Print verbose logging information\\&."
msgstr "gibt ausführliche Protokollmeldungen aus\\&."
#. type: SH
#: poedit.1:51 poedit.1:62
#, no-wrap
msgid "AUTHOR"
msgstr "AUTOR"
#. type: Plain text
#: poedit.1:54
msgid ""
"Written by Vaclav Slavik E<lt>\\m[blue]B<vaclav@slavik\\&.io>\\m[]\\&"
"\\s-2\\u[1]\\d\\s+2E<gt>"
msgstr ""
"Geschrieben von Vaclav Slavik E<lt>\\m[blue]B<vaclav@slavik\\&.io>\\m[]\\&"
"\\s-2\\u[1]\\d\\s+2E<gt>"
#. type: SH
#: poedit.1:54
#, no-wrap
msgid "RESOURCES"
msgstr "RESSOURCEN"
#. type: Plain text
#: poedit.1:57
msgid "Web site: \\m[blue]B<http://poedit\\&.net/>\\m[]"
msgstr "Webseite: \\m[blue]B<http://poedit\\&.net/>\\m[]"
#. type: SH
#: poedit.1:57
#, no-wrap
msgid "COPYRIGHT"
msgstr "COPYRIGHT"
#. type: Plain text
#: poedit.1:60
msgid "Copyright (C) 2008-2015 Vaclav Slavik\\&."
msgstr "Copyright (C) 2008-2015 Vaclav Slavik\\&."
#. type: Plain text
#: poedit.1:62
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
#: poedit.1:65
msgid "B<Vaclav Slavik> E<lt>\\&vaclav@slavik\\&.io\\&E<gt>"
msgstr "B<Vaclav Slavik> E<lt>\\&vaclav@slavik\\&.io\\&E<gt>"
#. type: Plain text
#: poedit.1:67
msgid "Author."
msgstr "Autor"
#. type: SH
#: poedit.1:68
#, no-wrap
msgid "NOTES"
msgstr "ANMERKUNGEN"
#. type: IP
#: poedit.1:69
#, no-wrap
msgid " 1."
msgstr " 1."
#. type: Plain text
#: poedit.1:71
msgid "vaclav@slavik.io"
msgstr "vaclav@slavik.io"
#. type: Plain text
#: poedit.1:73
msgid "\\%mailto:vaclav@slavik.io"
msgstr "\\%mailto:vaclav@slavik.io"

31
poedit.appdata.xml Normal file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2015 Mario Blättermann <mariobl@fedoraproject.org> -->
<application>
<id type="desktop">poedit.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<name>Poedit</name>
<name xml:lang="de">Poedit</name>
<summary>GUI editor for GNU gettext .po files</summary>
<summary xml:lang="de">Grafischer Editor für GNU Gettext-Dateien</summary>
<description>
<p>
This program is a GUI frontend to GNU Gettext utilities and a catalogs
editor/source code parser. It helps with translating applications into
other languages.
</p>
<p xml:lang="de">
Dieses Programm stellt eine grafische Benutzeroberfläche für die
Dienstprogramme aus GNU Gettext bereit, sowie einen Katalogeditor und
einen Quellcode-Parser. Es hilft beim Übersetzen von Anwendungen in
andere Sprachen.
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://upload.wikimedia.org/wikipedia/commons/c/c2/Poedit_1.8.1_en.png</image>
</screenshot>
</screenshots>
<url type="homepage">http://poedit.net</url>
<updatecontact>mariobl@fedoraproject.org</updatecontact>
</application>

View File

@ -1,32 +1,36 @@
Name: poedit
Version: 1.5.4
Release: 11%{?dist}
Version: 1.8.5
Release: 1%{?dist}
Summary: GUI editor for GNU gettext .po files
Summary(de): Grafischer Editor für GNU Gettext-Dateien
Group: Development/Tools
License: MIT
URL: http://www.poedit.net/
Source0: http://downloads.sourceforge.net/poedit/poedit-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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
Source2: %{name}.appdata.xml
BuildRequires: wxGTK-devel >= 2.8.0
BuildRequires: gtkspell-devel
%if 0%{?fedora} >= 18
BuildRequires: wxGTK3-devel >= 3.0.0
BuildRequires: gtkspell3-devel
BuildRequires: lucene++-devel
BuildRequires: libdb-cxx-devel
%else
BuildRequires: db4-devel
%endif
BuildRequires: boost-devel
BuildRequires: zip
BuildRequires: desktop-file-utils
BuildRequires: po4a
Requires: gettext
%description
This program is GUI frontend to GNU Gettext utilities and catalogs
editor/source code parser. It helps with translating application into
another language.
This program is a GUI frontend to GNU Gettext utilities and a catalogs
editor/source code parser. It helps with translating applications into
other languages.
%description -l de
Dieses Programm stellt eine grafische Benutzeroberfläche für die
Dienstprogramme aus GNU Gettext bereit, sowie einen Katalogeditor und einen
Quellcode-Parser. Es hilft beim Übersetzen von Anwendungen in andere Sprachen.
%prep
%setup -q
@ -39,38 +43,47 @@ done
%build
%configure
%configure --with-wx-config=/usr/bin/wx-config-3.0
make %{?_smp_mflags} V=1
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
make install DESTDIR=%{buildroot} INSTALL='install -p'
# Remove a few unnecessary locations where the makefile may install
# copies of icons and .desktop files
rm -rf \
$RPM_BUILD_ROOT%{_datadir}/applnk \
$RPM_BUILD_ROOT%{_datadir}/mimelnk \
$RPM_BUILD_ROOT%{_datadir}/gnome \
$RPM_BUILD_ROOT%{_datadir}/mime-info
%{buildroot}%{_datadir}/applnk \
%{buildroot}%{_datadir}/mimelnk \
%{buildroot}%{_datadir}/gnome \
%{buildroot}%{_datadir}/mime-info
# Install the desktop file
desktop-file-install \
--delete-original \
%if (0%{?fedora} && 0%{?fedora} < 19) || ( 0%{?rhel} && 0%{?rhel} < 7)
--vendor fedora \
%endif
--add-category=GTK \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/poedit.desktop
%{find_lang} poedit
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/poedit.desktop
# 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.*
rm -f %{buildroot}%{_datadir}/icons/hicolor/*/mimetypes/text-x-gettext-translation.*
%clean
rm -rf $RPM_BUILD_ROOT
# 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 %{buildroot}%{_mandir}/de/man1
install -p -m 644 man/de/%{name}.1 %{buildroot}%{_mandir}/de/man1
# install and validate the appdata file
mkdir -p %{buildroot}%{_datadir}/appdata/
install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml ||:
%{find_lang} poedit --with-man
%post
@ -91,17 +104,69 @@ 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}/appdata/%{name}.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*
%{_datadir}/pixmaps/*
%{_mandir}/man?/*
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/mimetypes/*
%{_datadir}/poedit
%{_datadir}/pixmaps/*
%{_libexecdir}/poedit-dump-legacy-tm
%{_mandir}/man?/*
%changelog
* Sat Sep 26 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.8.5-1
- New upstream version
- Updated screenshot for appdata
* Thu May 28 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.8.1-1
- New upstream version
* Thu May 21 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.8-1
- New upstream version
* Mon May 04 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.6-1
- New upstream version
* Thu Apr 02 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.5-2
- Rebuilt for latest versions of wxGTK3 and lucene++
* Fri Mar 13 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.5-1
- New upstream version
- Add screenshot URL to appdata file, thanks to Wolfgang Stöggl
- Updated German man page
* Thu Mar 05 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.4-1
- New upstream version
* Thu Jan 15 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.3-4
- Tweak appdata file and add German summary and description
- Spec file cleanup
* Wed Jan 14 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.3-3
- Add an appdata file
- Some spec file cleanup
* Wed Jan 14 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.3-2
- Disable non-working menu entries (backported from upstream's Git)
- Add an appdata file
- Some spec file cleanup
* Sat Jan 10 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.3-1
- New upstream version
* Thu Jan 08 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.7.1-3
- Remove the redundant zip from BuildRequires
- Fix directory ownership in %%{_datadir}/icons/hicolor/
* Fri Jan 02 2015 Mario Blättermann <mario.blaettermann@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@lists.fedoraproject.org> - 1.5.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
@ -153,7 +218,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 1.4.6.1-2
- rebuilt against wxGTK-2.8.11-2
* Sat Apr 02 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.4.6.1-1
* Sat Apr 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.4.6.1-1
- Update to 1.4.6.1 (#579235)
- New BuildRequires boost-devel
- Update icon cache scriptlets

View File

@ -1 +1 @@
708991f73368f2ea7a24134058d2caf2 poedit-1.5.4.tar.gz
572660b367013a2534e66eec078a809c poedit-1.8.5.tar.gz