Name: typespeed Version: 0.6.5 Release: 1%{?dist} Summary: Test your typing speed and get your fingers' CPS Group: Applications/Productivity License: GPLv2+ URL: http://tobias.eyedacor.org/typespeed/ Source0: http://tobias.eyedacor.org/typespeed/typespeed-%{version}.tar.gz Source1: %{name}.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ncurses-devel gettext desktop-file-utils %description Typespeed gives your fingers' cps (total and correct), typoratio and some points to compare with your friends. Typespeed's idea is ripped from ztspeed (a DOS game made by Zorlim). The idea behind the game is rather easy: type words that are flying by from left to right as fast as you can. If you miss 10 or more words, game is over. You can play typespeed for your own or with a friend using TCP/IPv4. %prep %setup -q iconv -f ISO88591 -t UTF8 ChangeLog -o ChangeLog %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} desktop-file-install --vendor="fedora" \ --dir=$RPM_BUILD_ROOT/%{_datadir}/applications/ \ %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %attr(2755,root,games) %{_bindir}/%{name} %attr(664,root,games) %config(noreplace) %{_localstatedir}/games/%{name}.score %doc BUGS COPYING ChangeLog NEWS README TODO %config(noreplace) %{_sysconfdir}/%{name}rc %{_datadir}/%{name} %{_datadir}/applications/fedora-%{name}.desktop %exclude %{_datadir}/doc/%{name}/README %{_mandir}/man6/* %changelog * Fri Dec 12 2008 Michel Salim - 0.6.5-1 - Update to 0.6.5 - Updated desktop icon and categories * Mon Jul 14 2008 Michel Salim - 0.6.4-2 - Use iconv in %%prep to fix ChangeLog encoding - Do not overwrite typespeed.score on upgrades * Tue May 20 2008 Michel Salim - 0.6.4-1 - Initial package (based on upstream spec by Andrew Ziem)