[simsu] Initial import

Mario Blättermann mariobl at fedoraproject.org
Wed Mar 11 19:24:01 UTC 2015


commit 46091a4aa3d4464312fb41af55ee9aafe97affbd
Author: Mario Blättermann <mario.blaettermann at gmail.com>
Date:   Wed Mar 11 20:23:45 2015 +0100

    Initial import

 .gitignore |   1 +
 simsu.6.po | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 simsu.spec |  93 +++++++++++++++++++++++++++++++++++++++++++++++
 sources    |   1 +
 4 files changed, 214 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f527911 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/simsu-1.3.1-src.tar.bz2
diff --git a/simsu.6.po b/simsu.6.po
new file mode 100644
index 0000000..b32df34
--- /dev/null
+++ b/simsu.6.po
@@ -0,0 +1,119 @@
+# German translation of the simsu manpage
+# This file is distributed under the same license as the simsu package.
+# Copyright © of this file:
+# Mario Blättermann <mario.blaettermann at gmail.com>, 2015.
+msgid ""
+msgstr ""
+"Project-Id-Version: simsu 1.3.1\n"
+"POT-Creation-Date: 2015-03-09 10:34+0100\n"
+"PO-Revision-Date: 2015-03-09 10:51+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.4\n"
+
+#. type: TH
+#, no-wrap
+msgid "SIMSU"
+msgstr "SIMSU"
+
+#. type: TH
+#, no-wrap
+msgid "February 2014"
+msgstr "Februar 2014"
+
+#. type: SH
+#, no-wrap
+msgid "NAME"
+msgstr "BEZEICHNUNG"
+
+#. type: Plain text
+msgid "simsu - basic sudoku game"
+msgstr "simsu - einfaches Sudoku-Spiel"
+
+#. type: SH
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr "ÜBERSICHT"
+
+#. type: Plain text
+msgid "B<simsu>"
+msgstr "B<simsu>"
+
+#. type: SH
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr "BESCHREIBUNG"
+
+#. type: Plain text
+msgid ""
+"Simsu is a basic Sudoku game. You can switch between filling in notes "
+"(pencil mode), or filling in answers (pen mode). To make it easier to see "
+"where to place numbers, you can highlight all instances of a number.  You "
+"can also check your answers for correctness while playing. The game stores "
+"your current notes and answers, so that you can pick up where you left off "
+"the next time you play."
+msgstr ""
+"Simsu ist ein einfaches Sudoku-Spiel. Sie können wechseln zwischen dem "
+"Eintragen von Notizen (Bleistift-Modus) und dem festen Eintragen der Ziffern "
+"(Füller-Modus). Um besser beurteilen zu können, wo welche Ziffern "
+"eingetragen werden müssen, können Sie alle Vorkommen einer Ziffer "
+"hervorheben. Sie können auch während des Spiels prüfen, ob Ihre bisherigen "
+"Eintragungen korrekt sind. Das Spiel speichert Ihre Notizen und festen "
+"Eintragungen, so dass diese beim Beenden erhalten bleiben und beim nächsten "
+"Start des Spiels wieder verfügbar sind."
+
+#. type: SH
+#, no-wrap
+msgid "COPYRIGHT"
+msgstr "COPYRIGHT"
+
+#. type: Plain text
+msgid "Copyright \\(co 2014 Graeme Gott"
+msgstr "Copyright \\(co 2014 Graeme Gott"
+
+#. type: Plain text
+msgid ""
+"This program is free software; you can redistribute it and/or modify it "
+"under the terms of the GNU General Public License as published by the Free "
+"Software Foundation; either version 3 of the License, or (at your option) "
+"any later version."
+msgstr ""
+"Dieses Programm ist freie Software, Sie können sie weitergeben und/oder "
+"verändern, solange Sie sich an die Regeln der GNU General Public License "
+"halten, so wie sie von der Free Software Foundation festgelegt wurden; "
+"entweder in Version 3 der Lizenz oder (nach Ihrem Ermessen) in jeder "
+"folgenden Version."
+
+#. type: Plain text
+msgid ""
+"This program is distributed in the hope that it will be useful, but WITHOUT "
+"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
+"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for "
+"more details."
+msgstr ""
+"Die Veröffentlichung von diesem Programm erfolgt in der Hoffnung, dass es "
+"Ihnen von Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE, sogar ohne die "
+"implizite Garantie der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN "
+"BESTIMMTEN ZWECK. Details finden Sie in der GNU General Public License."
+
+#. type: Plain text
+msgid ""
+"You should have received a copy of the GNU General Public License along with "
+"this program. If not, see E<lt>http://www.gnu.org/licenses/E<gt>."
+msgstr ""
+"Sie sollten zusammen mit diesem Programm eine Kopie der GNU General Public "
+"License erhalten haben. Falls nicht, siehe E<lt>http://www.gnu.org/licenses/"
+"E<gt>."
+
+#. type: SH
+#, no-wrap
+msgid "AUTHOR"
+msgstr "AUTOR"
+
+#. type: Plain text
+msgid "Graeme Gott E<lt>graeme at gottcode.orgE<gt>."
+msgstr "Graeme Gott E<lt>graeme at gottcode.orgE<gt>."
diff --git a/simsu.spec b/simsu.spec
new file mode 100644
index 0000000..a1fe8e9
--- /dev/null
+++ b/simsu.spec
@@ -0,0 +1,93 @@
+Name:           simsu
+Version:        1.3.1
+Release:        2%{?dist}
+Summary:        Basic Sudoku game
+Summary(de):    Einfaches Sudoku-Spiel
+License:        GPLv3+
+URL:            http://gottcode.org/%{name}/
+Source0:        http://gottcode.org/%{name}/%{name}-%{version}-src.tar.bz2
+Source1:        %{name}.6.po
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  libappstream-glib
+BuildRequires:  po4a
+BuildRequires:  qt5-qttools-devel
+Requires:       hicolor-icon-theme
+
+%description
+Simsu is a basic Sudoku game. You can switch between filling in notes
+(pencil mode), or filling in answers (pen mode). To make it easier to see
+where to place numbers, you can highlight all instances of a number.
+You can also check your answers for correctness while playing. The game
+stores your current notes and answers, so that you can pick up where you
+left off the next time you play.
+
+%description -l de
+Simsu ist ein einfaches Sudoku-Spiel. Sie können wechseln zwischen dem 
+Eintragen von Notizen (Bleistift-Modus) und dem festen Eintragen der Ziffern
+(Füller-Modus). Um besser beurteilen zu können, wo welche Ziffern
+eingetragen werden müssen, können Sie alle Vorkommen einer Ziffer
+hervorheben. Sie können auch während des Spiels prüfen, ob Ihre bisherigen
+Eintragungen korrekt sind. Das Spiel speichert Ihre Notizen und festen
+Eintragungen, so dass diese beim Beenden erhalten bleiben und beim nächsten
+Start des Spiels wieder verfügbar sind.
+
+%prep
+%setup -q
+
+%build
+%{qmake_qt5} PREFIX=%{_prefix}
+make %{?_smp_mflags}
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+mkdir -p %{buildroot}%{_mandir}/man6/
+install -p -m 644 doc/%{name}.6 %{buildroot}%{_mandir}/man6/
+
+# Generate and install localized man pages
+mkdir -p man/de
+po4a-translate -M utf-8 -f man \
+               --option groff_code=verbatim \
+               -m doc/%{name}.6 -p %SOURCE1 \
+               -l man/de/%{name}.6
+
+mkdir -p %{buildroot}/%{_mandir}/de/man6
+install -p -m 0644 man/de/%{name}.6 %{buildroot}/%{_mandir}/de/man6
+
+%find_lang %{name} --with-qt --without-mo --with-man
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop || :
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml || :
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%doc CREDITS NEWS README
+%license COPYING
+%{_bindir}/%{name}
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
+%dir %{_datadir}/%{name}/
+%dir %{_datadir}/%{name}/translations
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
+%{_datadir}/pixmaps/%{name}.xpm
+%{_mandir}/man6/%{name}.6.*
+
+
+%changelog
+* Mon Mar 09 2015 Mario Blättermann <mario.blaettermann at gmail.com> - 1.3.1-2
+- Add German man page, summary and description
+
+* Sat Mar 07 2015 Mario Blättermann <mario.blaettermann at gmail.com> - 1.3.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..6b4a5b2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+095871fad16190c4fea085139785c4b4  simsu-1.3.1-src.tar.bz2


More information about the scm-commits mailing list