rpms/typespeed/F-8 typespeed.desktop, NONE, 1.1 typespeed.spec, NONE, 1.1

Michel Alexandre Salim (salimma) fedora-extras-commits at redhat.com
Thu Jul 17 01:03:51 UTC 2008


Author: salimma

Update of /cvs/pkgs/rpms/typespeed/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13354/F-8

Added Files:
	typespeed.desktop typespeed.spec 
Log Message:
* Mon Jul 14 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 0.6.4-2
- Use iconv in %prep to fix ChangeLog encoding
- Do not overwrite typespeed.score on upgrades



--- NEW FILE typespeed.desktop ---
[Desktop Entry]
Name=Typespeed
Comment=Test your typing speed
Exec=typespeed
Type=Application
Terminal=true
Icon=keyboard
Categories=Game;Education
Encoding=UTF-8


--- NEW FILE typespeed.spec ---
Name:           typespeed
Version:        0.6.4
Release:        2%{?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
* Mon Jul 14 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 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 <salimma at fedoraproject.org> - 0.6.4-1
- Initial package (based on upstream spec by Andrew Ziem)




More information about the scm-commits mailing list