61
61
Tux Typing is an educational typing tutor game starring Tux, the Linux
64
In "Fish Cascade" you control Tux as he searches for fish to eat. Fish fall
65
from the top of the screen. These fish have letters on them. Unforunately
66
for Tux, eating a fish with a letter on it will cause his stomach to
67
become ill, so it is up to you to help Tux eat fish! By typing the
68
letters, it will cause them to disappear so tux can chow down on the
71
In "Comet Zap" you control Tux as he defends the cities from comets. To
72
protect a city from a comet, type the letter on the comet and it will
73
cause Tux to destroy it with a laser! (In case you wondered, Comet Zap
74
is an adaptation of the *great* math drill game, "Tux, of Math Command").
76
"Phrase Typing" offers practice typing phrases and sentences, with on-
77
screen display of accuracy and typing speed.
79
"Lessons" is an additional typing activity that we have not yet
80
completed. You will find other menu entries for planned features
81
that still need to be implemented.
62
penguin. It is designed to be entertaining for children, but can be used
63
by all ages to improve typing skills. Tux Typing includes two video game-style activities that give practice typing individual characters and words. There
64
is also a phrase typing activity that provides practice with phrases and sentences, with on-screen display of accuracy and typing speed.
66
Tux Typing supports all commonly used desktop platforms, and is packaged with translation files and word lists for many (human) languages. The program is capable of displaying essentially the entire Unicode character set.
96
81
Mobin Mohan <mobinmohan@gmail.com>
84
# prep section: ---------------------------------------------------------
100
87
%setup -q -n %realname-%version
88
rm -rf $(find . -type d -name CVS)
89
rm -rf $(find . -type d -name .svn)
90
rm -rf $(find . -type d -name .xvpics)
94
# build section: ---------------------------------------------------------
103
%configure --docdir="%{_defaultdocdir}/%{progname}" --disable-rpath
97
%configure --disable-rpath
104
98
make %{?jobs:-j %jobs}
102
# install section: ---------------------------------------------------------
108
%if 0%{?suse_version} < 1030
109
for i in $(find . -progname Makefile ); do
110
sed -i "s#MKDIR_P#mkdir_p#g" $i
105
install -d %buildroot/{%_bindir,%_datadir/pixmaps,%_datadir/applications,%_datadir/%progname,%_defaultdocdir/%progname}
114
106
make DESTDIR=%{buildroot} install
115
# remove unneeded data
116
rm -rf %buildroot/usr/doc/tuxtype
117
rm -rf %buildroot%_datadir/tuxtype/{autorun.inf,OFL.txt}
119
# install desktop file and icon
120
mkdir -p %buildroot%_datadir/pixmaps
121
convert -scale 48x48 tuxtype.ico %buildroot%_datadir/pixmaps/%progname.png
122
rm -rf %buildroot%_datadir/tuxtype/*.ico
107
install -m 644 data/images/icons/icon.png %buildroot%_datadir/pixmaps/%progname.png
124
109
%if 0%{?suse_version}
125
#install -Dm644 %{SOURCE1} %buildroot%_datadir/applications/%progname.desktop
126
%suse_update_desktop_file -i %progname Game KidsGame
127
# save some discspace using symlinks
110
# handle special docdir path
111
mv %buildroot/%_datadir/doc/%progname/* %buildroot/%_defaultdocdir/%progname/
112
rm -rf %buildroot/%_datadir/doc/%progname
113
# install desktop file
114
%suse_update_desktop_file -i %progname Education Languages
128
115
%fdupes -s %buildroot
131
117
%if 0%{?fedora_version}
132
118
# install desktop file
133
119
desktop-file-install --vendor="%{vendor}" \
134
120
--dir=%buildroot/%_datadir/applications \
138
123
%if 0%{?mandriva_version}
139
#desktop-file-install --vendor="%{vendor}" \
140
# --dir=%buildroot/%_datadir/applications \
141
install -Dm644 tuxtype.desktop %buildroot/%_datadir/applications/%progname.desktop
124
desktop-file-install --vendor="%{vendor}" \
125
--dir=%buildroot/%_datadir/applications \
145
#if [ ! -d %buildroot%{_datadir}/fonts/truetype ]; then
146
# mkdir -p %buildroot%{_datadir}/fonts/truetype
147
# ln -s %{_datadir}/tuxtype/fonts %buildroot%{_datadir}/fonts/truetype/ttf-sil-andika
128
# remove invalid locale directories
129
rm -rf %buildroot/%{_datadir}/locale/en@*
150
130
%find_lang %progname
152
132
%if 0%{?mandriva_version}
161
141
rm -rf %buildroot
145
# files section: ---------------------------------------------------------
163
147
%files -f %progname.lang
164
149
%defattr(-,root,root)
165
#%doc README AUTHORS COPYING ChangeLog TODO
166
%dir %_docdir/%{progname}
167
%doc %_docdir/%{progname}/*
168
%doc data/sounds/README_SOUNDS.TXT
169
%doc data/images/README_IMAGES.TXT
171
#%if 0%{?fedora_version}
172
#%dir %_docdir/%{progname}
173
#%doc %_docdir/%{progname}/*
177
%dir %_datadir/tuxtype
178
#%dir %_datadir/tuxtype/fonts
179
#%dir %{_datadir}/fonts/truetype
180
#%dir %{_datadir}/fonts/truetype/ttf-sil-andika
182
%_datadir/applications/*%progname.desktop
183
%_datadir/pixmaps/%progname.png
150
%doc %_defaultdocdir/%progname
153
%_datadir/applications/*