Name: typespeed Version: 0.6.4 Release: 1%{?dist} Summary: Test your typing speed and get your fingers' CPS Group: Applications/Text License: GPLv2+ URL: http://tobias.eyedacor.org/typespeed Source0: http://tobias.eyedacor.org/typespeed/typespeed-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ncurses-devel #Requires: %description Typespeed gives your fingers' cps (total and correct), typoratio and some points to compare with your friends. %prep %setup -q echo "%{_datadir}/typespeed/" > typespeedrc %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} # drop misc README file %{__rm} -rf %{buildroot}%{_docdir}/typespeed/ %post %{_bindir}/typespeed --makescores &>/dev/null || : %clean %{__rm} -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS BUGS COPYING README NEWS TODO %doc %{_mandir}/man6/typespeed.6* %config(noreplace) %{_sysconfdir}/typespeedrc %{_bindir}/typespeed %{_datadir}/typespeed/ %dir %{_localstatedir}/games/ %{_localstatedir}/games/typespeed.score %changelog * Mon Aug 04 2008 Rahul Sundaram - 0.6.4-1 - Initial package