/[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 18 - (show annotations) (download)
Tue Dec 21 19:33:42 2010 UTC (13 years, 3 months ago) by boklm
File size: 1801 byte(s)
SILENT useless commit, for a test
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
16 %description
17 Typespeed gives your fingers' cps (total and correct), typoratio and
18 some points to compare with your friends.
19
20 Typespeed's idea is ripped from ztspeed (a dos game made by Zorlim).
21 Idea of the game should be clear to anyone, just type and type it fast
22 or be a loser.
23
24 %prep
25 %setup -q
26
27 %build
28 %configure --with-highscoredir=%{_localstatedir}/lib/games
29 %make
30
31 %install
32 %makeinstall highscoredir=$RPM_BUILD_ROOT%{_localstatedir}/lib/games
33 rm -f $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/README
34 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
35 cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-%{name}.desktop <<EOF
36 [Desktop Entry]
37 Name=Typespeed
38 Comment=Test your typing speed
39 Exec=/usr/bin/typespeed
40 Type=Application
41 Terminal=true
42 Categories=X-MandrivaLinux-MoreApplications-Games-Other;Game;Application;
43 X-Desktop-File-Install-Version=0.9
44 EOF
45
46 %clean
47 %{__rm} -Rf %{buildroot}
48
49 %files
50 %defattr(-,root,root)
51 %doc doc/README COPYING NEWS TODO BUGS AUTHORS
52 %config(noreplace) %{_sysconfdir}/typespeedrc
53 %attr(2755,root,games) %{_bindir}/%{name}
54 %attr(775,root,games) %{_localstatedir}/lib/games/%{name}.score
55 %{_datadir}/%{name}
56 %{_mandir}/man6/%{name}.6*
57 %{_datadir}/locale/de_DE/LC_MESSAGES/%{name}.mo
58 %{_datadir}/locale/fr_FR/LC_MESSAGES/%{name}.mo
59 %{_datadir}/locale/it/LC_MESSAGES/%{name}.mo
60 %{_datadir}/applications/mandriva-%{name}.desktop
61
62
63

  ViewVC Help
Powered by ViewVC 1.1.30