]> git.pld-linux.org Git - packages/kde4-kwordquiz.git/blob - kde4-kwordquiz.spec
updated to 4.9.0, added missing icons and BRs.
[packages/kde4-kwordquiz.git] / kde4-kwordquiz.spec
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
6 Name:           kde4-kwordquiz
7 Version:        4.9.0
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.xz
12 # Source0-md5:  6e68579cd02c0b4890c6d4c92a6c1856
13 URL:            http://www.kde.org/
14 BuildRequires:  automoc4
15 BuildRequires:  kde4-kdelibs-devel >= %{version}
16 BuildRequires:  qt4-build
17 Obsoletes:      kde4-kdeedu-kwordquiz < 4.6.99
18 Obsoletes:      kwordquiz <= 4.8.0
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
74 %find_lang %{orgname} --with-kde
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files -f %{orgname}.lang
80 %defattr(644,root,root,755)
81 %{_datadir}/apps/kwordquiz
82 %attr(755,root,root) %{_bindir}/kwordquiz
83 %{_desktopdir}/kde4/kwordquiz.desktop
84 %{_datadir}/config.kcfg/kwordquiz.kcfg
85 %{_datadir}/config/kwordquiz.knsrc
86 %{_iconsdir}/hicolor/*x*/apps/kwordquiz.png
87 %{_iconsdir}/hicolor/*x*/mimetypes/application-x-kwordquiz.png
This page took 0.058001 seconds and 3 git commands to generate.