]>
Commit | Line | Data |
---|---|---|
5cec09ea AM |
1 | %define _state stable |
2 | %define orgname klettres | |
3 | ||
4 | Summary: K Desktop Environment - Helps child to learn alphabet and to read some syllables | |
812a69bb | 5 | Summary(pl.UTF-8): K Desktop Environment - Pomoc w nauce alfabetu i sylab dla dzieci |
2c507593 | 6 | Name: kde4-klettres |
6ca88d82 | 7 | Version: 4.12.0 |
b14f6173 | 8 | Release: 1 |
5cec09ea AM |
9 | License: GPL |
10 | Group: X11/Applications/Science | |
8c4f752b | 11 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
6ca88d82 | 12 | # Source0-md5: 3c63b98562ea2485b70fe21ad14f14a3 |
5cec09ea AM |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: kde4-kdelibs-devel | |
a7f9e4ac | 15 | Obsoletes: kde4-kdeedu-klettres < 4.6.99 |
2c507593 | 16 | Obsoletes: klettres <= 4.8.0 |
5cec09ea AM |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | KLettres is a very simple application that helps a child or an adult | |
21 | to learn the alphabet and some simple sounds in his own language or in | |
22 | another language. The program picks up a letter or a syllable in | |
23 | random, this letter/syllable is displayed and the sound is played. The | |
24 | user should then type this letter or syllable. Training is done in the | |
25 | levels where the letter/syllable is not displayed, only the sound is | |
26 | played. The user does not need to know how to use the mouse, the | |
27 | keyboard only is needed. | |
28 | ||
29 | There are five languages available at the moment: Czech, Danish, | |
30 | Dutch, French and Slovak. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | KLettres to bardzo prosta aplikacja pomagająca dzieciom i dorosłym w | |
34 | nauce alfabetu i głosek we własnym lub obcym języku. Program losuje | |
35 | literę lub sylabę, a następnie wyświetla ją i odgrywa dźwięk. | |
36 | Użytkownik powinien następnie wpisać tę literę lub sylabę. Do ćwiczeń | |
37 | służą poziomy, gdzie litera/sylaba nie jest wyświetlana, jedynie | |
38 | dźwięk jest odgrywany. Użytkownik nie musi wiedzieć, jak używać myszy, | |
39 | wymagana jest tylko klawiatura. | |
40 | ||
41 | Aktualnie dostępne jest pięć języków: czeski, duński, holenderski, | |
42 | francuski i słowacki. | |
43 | ||
44 | %prep | |
45 | %setup -q -n %{orgname}-%{version} | |
46 | ||
47 | %build | |
48 | install -d build | |
49 | cd build | |
50 | %cmake \ | |
51 | .. | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} -C build/ install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT \ | |
59 | kde_htmldir=%{_kdedocdir} | |
60 | ||
2c507593 | 61 | %find_lang %{orgname} --with-kde |
5cec09ea AM |
62 | |
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
2c507593 | 66 | %files -f %{orgname}.lang |
5cec09ea AM |
67 | %defattr(644,root,root,755) |
68 | %attr(755,root,root) %{_bindir}/klettres | |
69 | %{_datadir}/apps/klettres | |
70 | %{_datadir}/config.kcfg/klettres.kcfg | |
71 | %{_datadir}/config/klettres.knsrc | |
72 | %{_desktopdir}/kde4/klettres.desktop | |
73 | %{_iconsdir}/hicolor/scalable/apps/klettres.svgz | |
74 | %{_iconsdir}/hicolor/*x*/apps/klettres.png |