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