/[packages]/cauldron/typespeed/current/SPECS/typespeed.spec
ViewVC logotype

Contents of /cauldron/typespeed/current/SPECS/typespeed.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 291 - (show annotations) (download)
Fri Jan 7 21:06:03 2011 UTC (13 years, 3 months ago) by boklm
File size: 1800 byte(s)
frites
1 %define version 0.6.5
2 %define release %mkrel 9
3 %define name typespeed
4
5 Name: %name
6 Summary: Type words that are flying by from left to right as fast as you can
7 License: GPLv2+
8 URL: http://tobias.eyedacor.org/typespeed/
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root
10 Source: http://tobias.eyedacor.org/typespeed/%{name}-%{version}.tar.gz
11 Group: Games/Other
12 Version: %version
13 Release: %release
14 BuildRequires: ncurses-devel, gettext-devel
15 %description
16 Typespeed gives your fingers' cps (total and correct), typoratio and
17 some points to compare with your friends.
18
19 Typespeed's idea is ripped from ztspeed (a dos game made by Zorlim).
20 Idea of the game should be clear to anyone, just type and type it fast
21 or be a loser.
22
23 %prep
24 %setup -q
25
26 %build
27 %configure --with-highscoredir=%{_localstatedir}/lib/games
28 %make
29
30 %install
31 %makeinstall highscoredir=$RPM_BUILD_ROOT%{_localstatedir}/lib/games
32 rm -f $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/README
33 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
34 cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-%{name}.desktop <<EOF
35 [Desktop Entry]
36 Name=Typespeed
37 Comment=Test your typing speed
38 Exec=/usr/bin/typespeed
39 Type=Application
40 Terminal=true
41 Categories=X-MandrivaLinux-MoreApplications-Games-Other;Game;Application;
42 X-Desktop-File-Install-Version=0.9
43 EOF
44
45 %clean
46 %{__rm} -Rf %{buildroot}
47
48 %files
49 %defattr(-,root,root)
50 %doc doc/README COPYING NEWS TODO BUGS AUTHORS
51 %config(noreplace) %{_sysconfdir}/typespeedrc
52 %attr(2755,root,games) %{_bindir}/%{name}
53 %attr(775,root,games) %{_localstatedir}/lib/games/%{name}.score
54 %{_datadir}/%{name}
55 %{_mandir}/man6/%{name}.6*
56 %{_datadir}/locale/de_DE/LC_MESSAGES/%{name}.mo
57 %{_datadir}/locale/fr_FR/LC_MESSAGES/%{name}.mo
58 %{_datadir}/locale/it/LC_MESSAGES/%{name}.mo
59 %{_datadir}/applications/mandriva-%{name}.desktop
60
61
62

  ViewVC Help
Powered by ViewVC 1.1.30