From 4769fa50569ee1adbcf17ed3be2c1fce7589dea7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 18:45:24 +0100 Subject: [PATCH] automatic rebuild by autodist [release 1.5.3-7mamba;Tue Aug 27 2013] --- README.md | 2 + tuxtype.spec | 102 ++++++++++++++ tuxtype2-1.5.3-it.patch | 243 ++++++++++++++++++++++++++++++++++ tuxtype2-1.5.3-settings.patch | 12 ++ 4 files changed, 359 insertions(+) create mode 100644 tuxtype.spec create mode 100644 tuxtype2-1.5.3-it.patch create mode 100644 tuxtype2-1.5.3-settings.patch diff --git a/README.md b/README.md index d81c406..d5538fb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # tuxtype +Tux Typing is an educational typing tutor for children. It features several different types of gameplay, at a variety of difficulty levels. + diff --git a/tuxtype.spec b/tuxtype.spec new file mode 100644 index 0000000..c962caa --- /dev/null +++ b/tuxtype.spec @@ -0,0 +1,102 @@ +Name: tuxtype +Version: 1.5.3 +Release: 7mamba +Summary: Tux Typing is an educational typing tutor for children. +Group: Graphical Desktop/Applications/Educational +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://tuxtype.sourceforge.net/ +Source: http://downloads.sourceforge.net/sourceforge/tuxtype/%{name}2-%{version}.tar.bz2 +Patch0: %{name}2-1.5.3-settings.patch +Patch1: %{name}2-1.5.3-it.patch +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: ImageMagick +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libSDL-devel +BuildRequires: libSDL_image-devel +BuildRequires: libSDL_mixer-devel +BuildRequires: libSDL_ttf-devel +## AUTOBUILDREQ-END + +%description +Tux Typing is an educational typing tutor for children. It features several different types of gameplay, at a variety of difficulty levels. + +%prep +%setup -q -n %{name}2-%{version} +%patch0 -p1 +%patch1 -p1 + +%build +%configure +%make LDFLAGS="-lm" + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%makeinstall + +mkdir -p %{buildroot}/usr/share/doc/tuxtype2 +mv %{buildroot}/usr/doc/tuxtype2/* %{buildroot}/usr/share/doc/tuxtype2 + +convert -geometry 48x48 tuxtype2.ico %{name}-48.png +install -D -m 644 %{name}-48.png %{buildroot}%{_datadir}/pixmaps/%{name}.png + +# Create the system menu entry +mkdir -p %{buildroot}%{_datadir}/applications +cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF +[Desktop Entry] +Name=Tuxtyping +GenericName=Educational typing tutor for children +GenericName[it]=Gioco sulle parole con Tux +Comment=educational typing tutor for children +Exec=tuxtype2 -w +Icon=%{_datadir}/pixmaps/tuxtype.png +Terminal=false +Type=Application +Categories=Game;KidsGame; +X-KDE-StartupNotify=false +EOF + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_datadir}/doc/tuxtype2/* +%dir %{_datadir}/tuxtype2 +%dir %{_datadir}/tuxtype2/data/ +%{_datadir}/tuxtype2/data/* +%{_datadir}/tuxtype2/tuxtype2.ico +%{_datadir}/tuxtype2/autorun.inf +%{_datadir}/applications/tuxtype.desktop +%{_datadir}/pixmaps/tuxtype.png +%doc AUTHORS COPYING +#%doc ChangeLog INSTALL README README.Win32 TODO + +%changelog +* Tue Aug 27 2013 Automatic Build System 1.5.3-7mamba +- automatic rebuild by autodist + +* Fri Aug 29 2008 Tiziana Ferro 1.5.3-6mamba +- update system menu entry, vendor, distribution, packager +- added buildrequirements list + +* Tue Nov 15 2005 Alessandro Ramazzina 1.5.3-5qilnx +- modified desktop file + +* Mon Nov 14 2005 Alessandro Ramazzina 1.5.3-4qilnx +- added patch for italian translation + +* Fri Oct 21 2005 Alessandro Ramazzina 1.5.3-3qilnx +- added -w parameter to the exec file + +* Tue Aug 30 2005 Massimo Pintore 1.5.3-2qilnx +- package created by autospec +- patched to starts with italian language + +* Mon Jul 11 2005 Alessandro Ramazzina 1.5.3-1qilnx +- package created by autospec diff --git a/tuxtype2-1.5.3-it.patch b/tuxtype2-1.5.3-it.patch new file mode 100644 index 0000000..905e1ce --- /dev/null +++ b/tuxtype2-1.5.3-it.patch @@ -0,0 +1,243 @@ +diff -Nru tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/lang.po tuxtype2-1.5.3/tuxtype/data/themes/italian/lang.po +--- tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/lang.po 2005-11-14 10:06:40.000000000 +0100 ++++ tuxtype2-1.5.3/tuxtype/data/themes/italian/lang.po 2005-11-14 10:08:39.000000000 +0100 +@@ -54,7 +54,7 @@ + + # "Commander" is level 4 in comet zap + msgid "Commander" +-msgstr "Commandante" ++msgstr "Comandante" + + #levels for Cascade game: + msgid "Easy" +@@ -68,7 +68,7 @@ + + #types of games + msgid "Comet Zap" +-msgstr "Caccia a la cometa" ++msgstr "Caccia alla cometa" + + msgid "Fish Cascade" + msgstr "Cascata di pesce" +@@ -81,7 +81,7 @@ + msgstr "Lezioni" + + msgid "Instructions" +-msgstr "Instruzioni" ++msgstr "Istruzioni" + + msgid "Main Menu" + msgstr "menu' principale" +diff -Nru tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/lang.po~ tuxtype2-1.5.3/tuxtype/data/themes/italian/lang.po~ +--- tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/lang.po~ 1970-01-01 01:00:00.000000000 +0100 ++++ tuxtype2-1.5.3/tuxtype/data/themes/italian/lang.po~ 2005-11-14 10:08:28.000000000 +0100 +@@ -0,0 +1,109 @@ ++msgid "" ++msgstr "" ++ ++msgid "Congratulations" ++msgstr "Congratulazioni" ++ ++msgid "Oh No!" ++msgstr "Oh! No" ++ ++msgid "Sound & Music Disabled" ++msgstr "Suono e musica spento" ++ ++msgid "Paused!" ++msgstr "Pausa" ++ ++msgid "Press escape again to return to menu" ++msgstr "Premere escape per ritornare al menu' principale" ++ ++msgid "Press space bar to return to game" ++msgstr "Premere la barra spaziatrice per ritornare al giouco" ++ ++msgid "Sound Effects Volume" ++msgstr "Volume per effetti speciali" ++ ++msgid "Music Volume" ++msgstr "Volume per la musica" ++ ++msgid "Edit Word Lists" ++msgstr "Compilazione delle parole" ++ ++msgid "Fish" ++msgstr "Pesce" ++ ++msgid "Lives" ++msgstr "Numero di vite" ++ ++msgid "Level" ++msgstr "Livello" ++ ++msgid "Alphabet" ++msgstr "Alfabeto" ++ ++# "Space Cadet" is level 1 in comet zap ++msgid "Space Cadet" ++msgstr "Recluta" ++ ++# "Pilot" is level 2 in comet zap ++msgid "Pilot" ++msgstr "Pilota" ++ ++# "Ace" is level 3 in comet zap ++msgid "Ace" ++msgstr "Asso" ++ ++# "Commander" is level 4 in comet zap ++msgid "Commander" ++msgstr "Commandante" ++ ++#levels for Cascade game: ++msgid "Easy" ++msgstr "Facile" ++ ++msgid "Medium" ++msgstr "Medio" ++ ++msgid "Hard" ++msgstr "Difficile" ++ ++#types of games ++msgid "Comet Zap" ++msgstr "Caccia alla cometa" ++ ++msgid "Fish Cascade" ++msgstr "Cascata di pesce" ++ ++#general stuff ++msgid "Practice" ++msgstr "Pratica" ++ ++msgid "Lessons" ++msgstr "Lezioni" ++ ++msgid "Instructions" ++msgstr "Istruzioni" ++ ++msgid "Main Menu" ++msgstr "menu' principale" ++ ++msgid "Options"orazione ++msgstr "Scelte" ++ ++msgid "Quit" ++msgstr "Chiusura" ++ ++msgid "Setup Keyboard" ++msgstr "Setup tastiera" ++ ++msgid "Setup Language" ++msgstr "Scelta della lingua" ++ ++#work in progress stuff ++msgid "Work In Progress!" ++msgstr "Pagina in lavorazione" ++ ++msgid "This feature is not ready yet" ++msgstr "Questo soggetto non e' finito" ++ ++msgid "Discuss the future of TuxTyping at" ++msgstr "Commenti e suggerimenti" +diff -Nru tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/words/freq.txt tuxtype2-1.5.3/tuxtype/data/themes/italian/words/freq.txt +--- tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/words/freq.txt 2005-11-14 10:06:40.000000000 +0100 ++++ tuxtype2-1.5.3/tuxtype/data/themes/italian/words/freq.txt 2005-11-14 10:09:07.000000000 +0100 +@@ -1,4 +1,4 @@ +-Parole Usati Piu Frequentamente ++Parole Usate Piu Frequentemente + LA + E' + DE +diff -Nru tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/words/freq.txt~ tuxtype2-1.5.3/tuxtype/data/themes/italian/words/freq.txt~ +--- tuxtype2-1.5.3.orig/tuxtype/data/themes/italian/words/freq.txt~ 1970-01-01 01:00:00.000000000 +0100 ++++ tuxtype2-1.5.3/tuxtype/data/themes/italian/words/freq.txt~ 2005-11-14 10:09:07.000000000 +0100 +@@ -0,0 +1,87 @@ ++Parole Usate Piu Frequentemente ++LA ++E' ++DE ++DENTRO ++NEL ++QUELLO ++PER ++IL ++QUALE ++COME ++ESSERE ++ERA ++NON ++LUI ++AVERE ++CON ++SUO ++SOPRA ++MA ++NOI ++O' ++AVEVA ++LORO ++SONO ++QUESTO ++QUI ++ERANO ++STATI ++DA ++UNO ++TUTTI ++A' ++SAREBBE ++USARE ++FORSE ++DOVREBBE ++QUALSIASI ++DUNQUE ++VEDERE ++SU ++GRANDE ++SE ++NOSTRO ++QUANDO ++TEMPO ++DOVE ++ALTRO ++UN PO' ++DETTO ++QUELLI ++VOI ++SOLO ++POI ++FUORE ++MOLTO ++DEVE ++COSA ++SERA' ++PRENDERE ++TALE ++MAI ++NO ++ANDARE ++VOSTRO ++DIRE ++DI ++MALGRADO ++FARE ++AMARE ++DARE ++HA ++OGGI ++PARTIRE ++SOTTO ++PUO ++QUESTI ++MIO ++PIU' ++ADESSO ++PEZZO ++SAPERE ++SPESSO ++DOPO ++VENIRE ++MOLTI ++FATTO diff --git a/tuxtype2-1.5.3-settings.patch b/tuxtype2-1.5.3-settings.patch new file mode 100644 index 0000000..386f25e --- /dev/null +++ b/tuxtype2-1.5.3-settings.patch @@ -0,0 +1,12 @@ +diff -purN tuxtype2-1.5.3-orig/tuxtype/main.c tuxtype2-1.5.3/tuxtype/main.c +--- tuxtype2-1.5.3-orig/tuxtype/main.c 2004-06-01 04:37:21.000000000 +0200 ++++ tuxtype2-1.5.3/tuxtype/main.c 2005-08-30 11:14:25.000000000 +0200 +@@ -45,7 +45,7 @@ int main(int argc, char *argv[]) + debugOn = 0; //default to not in debug mode + hidden = 0; //default to no "hidden" background + +- setupTheme(NULL); ++ setupTheme("italian"); + srand(time(NULL)); + +