[521] | 1 | %define name tuxtype2 |
---|
| 2 | %define version 1.5.3 |
---|
| 3 | %define release 1%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: An educational typing tutor for children |
---|
| 6 | Summary(ja): 子供向けのタイピング練習ゲーム |
---|
| 7 | |
---|
| 8 | Name: %{name} |
---|
| 9 | Version: %{version} |
---|
| 10 | Release: %{release} |
---|
| 11 | Source0: %{name}-%{version}.tar.bz2 |
---|
| 12 | Source1: tuxtype2.desktop |
---|
| 13 | License: GPL |
---|
| 14 | Group: Applications/Games |
---|
| 15 | URL: http://tuxtype.sourceforge.net/ |
---|
| 16 | |
---|
| 17 | Requires: SDL >= 1.2.5, SDL_image >= 1.2.3 |
---|
| 18 | Requires: SDL_mixer >= 1.2.5, SDL_ttf >= 2.0.5 |
---|
| 19 | BuildRequires: SDL-devel >= 1.2.5, SDL_image-devel >= 1.2.3 |
---|
| 20 | BuildRequires: SDL_mixer-devel >= 1.2.5, SDL_ttf-devel >= 2.0.5 |
---|
| 21 | |
---|
| 22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | "Tux Typing" is an educational typing tutor for children. It features |
---|
| 27 | several different types of gameplay, at a variety of difficulty levels. |
---|
| 28 | |
---|
| 29 | %description -l ja |
---|
| 30 | Tux Typing は,子供向けのタイピング練習ゲームです。数種類の異なるゲームが |
---|
| 31 | 含まれていて、難易度も自由に選ぶことができます。 |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | |
---|
| 36 | %setup |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | %configure |
---|
| 41 | %__make |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 46 | %makeinstall |
---|
| 47 | |
---|
| 48 | # install menu entry. |
---|
| 49 | %__install -d %{buildroot}%{_datadir}/applications |
---|
| 50 | %__install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/ |
---|
| 51 | |
---|
| 52 | # remove duplicated documents. |
---|
| 53 | %__rm -rf ${RPM_BUILD_ROOT}/usr/doc/tuxtype2 |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %files |
---|
| 60 | %defattr(-,root,root) |
---|
| 61 | %doc AUTHORS COPYING ChangeLog INSTALL README TODO |
---|
| 62 | %doc tuxtype/docs/en/howtotheme.html tuxtype.lsm |
---|
| 63 | %{_bindir}/tuxtype2 |
---|
| 64 | %{_datadir}/tuxtype2 |
---|
| 65 | %{_datadir}/applications/tuxtype2.desktop |
---|
| 66 | |
---|
| 67 | %changelog |
---|
| 68 | * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 1.5.3-1vl5 |
---|
| 69 | - applied new versioning policy, spec in utf-8 |
---|
| 70 | |
---|
| 71 | * Sun May 07 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.5.3-0vl1 |
---|
| 72 | - initial build for VineSeed Plus. |
---|