# typespeed.h included in multiple *.c files that are compiled separately # upstream is inactive so this is probably not worth fixing %define _legacy_common_support 1 Name: typespeed Version: 0.6.5 Release: 26%{?dist} Summary: Test your typing speed and get your fingers' CPS License: GPLv2+ URL: http://typespeed.sourceforge.net/ Source0: http://typespeed.sourceforge.net/typespeed-%{version}.tar.gz Source1: %{name}.desktop BuildRequires: make BuildRequires: gcc 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 %autosetup -p1 iconv -f ISO88591 -t UTF8 ChangeLog -o ChangeLog %build %configure %make_build %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %find_lang %{name} desktop-file-install \ --dir=$RPM_BUILD_ROOT/%{_datadir}/applications/ \ %{SOURCE1} %files -f %{name}.lang %license COPYING %doc BUGS ChangeLog NEWS README TODO %attr(2755,root,games) %{_bindir}/%{name} %attr(664,root,games) %config(noreplace) %{_localstatedir}/games/%{name}.score %config(noreplace) %{_sysconfdir}/%{name}rc %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %exclude %{_datadir}/doc/%{name}/README %{_mandir}/man6/* %changelog * Sat Jul 23 2022 Fedora Release Engineering - 0.6.5-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 0.6.5-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.5-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.6.5-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Feb 9 2020 Michel Alexandre Salim - 0.6.5-21 - Workaround for GCC 10's -fno-common * Sat Jul 27 2019 Fedora Release Engineering - 0.6.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 0.6.5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.6.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.6.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.6.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.6.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 0.6.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 0.6.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 0.6.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.6.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.6.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 0.6.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Feb 14 2013 Parag Nemade - 0.6.5-7 - Remove vendor tag from desktop file - spec clean up * Sun Jul 22 2012 Fedora Release Engineering - 0.6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.6.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.6.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jul 26 2009 Fedora Release Engineering - 0.6.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * 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)