]>
Commit | Line | Data |
---|---|---|
6a76dace AM |
1 | %define _state stable |
2 | %define orgname kwordquiz | |
3 | ||
4 | Summary: K Desktop Environment - A flashcard and vocabulary learning program | |
b6d8ab62 | 5 | Summary(pl.UTF-8): K Desktop Environment - Program do ćwiczenia słownictwa za pomocą pokazywania kart |
b2cf74ff | 6 | Name: kde4-kwordquiz |
1a6eff7d | 7 | Version: 4.14.3 |
3a2fcb19 | 8 | Release: 2 |
6a76dace AM |
9 | License: GPL |
10 | Group: X11/Applications/Science | |
9e73de96 | 11 | Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
1a6eff7d | 12 | # Source0-md5: 7dbd36ec24352462089dcdd4b164e4ad |
6a76dace | 13 | URL: http://www.kde.org/ |
2c92b615 | 14 | BuildRequires: automoc4 |
6a76dace | 15 | BuildRequires: kde4-kdelibs-devel >= %{version} |
2c92b615 | 16 | BuildRequires: qt4-build |
6a76dace | 17 | Obsoletes: kde4-kdeedu-kwordquiz < 4.6.99 |
b2cf74ff | 18 | Obsoletes: kwordquiz <= 4.8.0 |
6a76dace AM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | KWordQuiz is the KDE version of the flashcard and vocabulary learning | |
23 | program WordQuiz. It is a tool for learning the vocabulary of a new | |
24 | language. Now you can start to use its power for easy vocabulary | |
25 | learning. | |
26 | ||
27 | You build vocabularies in a two-column table (or load them from | |
28 | kvoctrain's .kvtml). In one column you enter the words or expressions | |
29 | in one language, and in the other column the corresponding word or | |
30 | expression in another language. You can also use it to practice other | |
31 | things, as long as there is a pair-wise relation. Examples are medical | |
32 | or legal terminology. If you look at the screenshots there is an | |
33 | example with the different US states and their capitals. | |
34 | ||
35 | KWordQuiz also features Flashcard, Multiple Choice and Question & | |
36 | Answer functions. Question & Answer also has a special | |
37 | Fill-in-the-blank mode. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | KWordQuiz to wersja KDE programu WordQuiz służącego do nauki | |
41 | słownictwa za pomocą pokazywania kart. Jest to narzędzie do nauki | |
42 | słownictwa nowego języka. Można zacząć używać jego potencjału do | |
43 | łatwego uczenia się słownictwa. | |
44 | ||
45 | Słowniki buduje się w dwukolumnowej tabeli (lub wczytuje z plików | |
46 | .kvtml z kvoctraina). W jednej kolumnie wpisuje się słowa lub | |
47 | wyrażenia w jednym języku, a w drugiej kolumnie ich odpowiedniki w | |
48 | innym języku. Można także używać programu do ćwiczenia innych rzeczy, | |
49 | jeśli tylko mają parowalną relację - na przykład terminologii | |
50 | medycznej czy prawniczej. Na screenshotach widać przykład z różnymi | |
51 | stanami USA i ich stolicami. | |
52 | ||
53 | KWordQuiz zawiera także funkcje Flashcard (pokazywania kart), testu | |
54 | wielokrotnego wyboru oraz pytań i odpowiedzi. Pytania i odpowiedzi | |
55 | mają także specjalny tryb wypełniania luk. | |
56 | ||
57 | %prep | |
58 | %setup -q -n %{orgname}-%{version} | |
59 | ||
60 | %build | |
61 | install -d build | |
62 | cd build | |
63 | %cmake \ | |
64 | .. | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} -C build/ install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT \ | |
72 | kde_htmldir=%{_kdedocdir} | |
73 | ||
b2cf74ff | 74 | %find_lang %{orgname} --with-kde |
6a76dace AM |
75 | |
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
b2cf74ff | 79 | %files -f %{orgname}.lang |
6a76dace | 80 | %defattr(644,root,root,755) |
9e73de96 | 81 | %{_datadir}/appdata/kwordquiz.appdata.xml |
6a76dace AM |
82 | %{_datadir}/apps/kwordquiz |
83 | %attr(755,root,root) %{_bindir}/kwordquiz | |
84 | %{_desktopdir}/kde4/kwordquiz.desktop | |
85 | %{_datadir}/config.kcfg/kwordquiz.kcfg | |
86 | %{_datadir}/config/kwordquiz.knsrc | |
87 | %{_iconsdir}/hicolor/*x*/apps/kwordquiz.png | |
2c92b615 | 88 | %{_iconsdir}/hicolor/*x*/mimetypes/application-x-kwordquiz.png |