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