- updated to 19.04.1
[packages/ka5-parley.git] / ka5-parley.spec
CommitLineData
fd25bf4f
WF
1%define kdeappsver 19.04.1
2%define kframever 5.56.0
23a17d76
WF
3%define qtver 5.9.0
4%define kaname parley
5Summary: parley
6Name: ka5-%{kaname}
fd25bf4f 7Version: 19.04.1
23a17d76
WF
8Release: 1
9License: GPL v2+/LGPL v2.1+
10Group: X11/Applications
11Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
fd25bf4f 12# Source0-md5: ddaaedcba6dc4959fd87cb65809f5398
23a17d76
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Concurrent-devel
15BuildRequires: Qt5Core-devel >= %{qtver}
16BuildRequires: Qt5Gui-devel >= 5.11.1
17BuildRequires: Qt5Multimedia-devel
18BuildRequires: Qt5Network-devel >= 5.11.1
19BuildRequires: Qt5Positioning-devel >= 5.11.1
20BuildRequires: Qt5PrintSupport-devel >= 5.11.1
21BuildRequires: Qt5Qml-devel >= 5.11.1
22BuildRequires: Qt5Quick-devel >= 5.11.1
23BuildRequires: Qt5Svg-devel
24BuildRequires: Qt5Test-devel
25BuildRequires: Qt5WebChannel-devel >= 5.11.1
26BuildRequires: Qt5WebEngine-devel >= 5.11.1
27BuildRequires: Qt5Widgets-devel >= 5.11.1
28BuildRequires: cmake >= 2.8.12
29BuildRequires: gettext-devel
fd25bf4f
WF
30BuildRequires: ka5-libkeduvocdocument-devel >= %{kdeapssver}
31BuildRequires: kf5-extra-cmake-modules >= %{kframever}
32BuildRequires: kf5-kcmutils-devel >= %{kframever}
33BuildRequires: kf5-kconfig-devel >= %{kframever}
34BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
35BuildRequires: kf5-kcrash-devel >= %{kframever}
36BuildRequires: kf5-kdoctools-devel >= %{kframever}
37BuildRequires: kf5-ki18n-devel >= %{kframever}
38BuildRequires: kf5-kio-devel >= %{kframever}
39BuildRequires: kf5-knewstuff-devel >= %{kframever}
40BuildRequires: kf5-knotifications-devel >= %{kframever}
41BuildRequires: kf5-kross-devel >= %{kframever}
42BuildRequires: kf5-kxmlgui-devel >= %{kframever}
43BuildRequires: kf5-sonnet-devel >= %{kframever}
b4201b08 44BuildRequires: ninja
23a17d76
WF
45BuildRequires: qt5-build >= %{qtver}
46BuildRequires: rpmbuild(macros) >= 1.164
47BuildRequires: shared-mime-info
48BuildRequires: tar >= 1:1.22
49BuildRequires: xz
50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52%description
53Parley is a program to help you memorize things. Parley supports many
54language specific features but can be used for other learning tasks
55just as well. It uses the spaced repetition learning method, also
56known as flash cards.
57
58Creating new vocabulary collections with Parley is easy, but of course
59it is even better if you can use some of our premade files. Have a
60look at the store.kde.org page or use the "Download New Collections"
61feature directly in Parley.
62
63Features
64
65• Different test types • Mixed Letters (order the letters, anagram
66like) to get to know new words • Multiple choice • Written tests -
67type the words (including clever correction mechanisms) • Example
68sentences can be used to create 'fill in the gap' tests • Article
69training • Comparison forms (adjectives and/or adverbs) • Conjugations
70• Synonym/Antonym/Paraphrase
71
72• Fast test setup with all options in one dialog • More than two
73languages (for example English, Chinese Traditional and Chinese
74Simplified) • Find words (also by word type) quickly • Easy lesson
75management • Premade vocabulary files ready to use • Share and
76download vocabulary using Get Hot New Stuff • Open XML file format
77(shared with KWordQuiz, Kanagram and KHangMan) that can be edited by
78hand and is easily usable with scripts
79
80%prep
81%setup -q -n %{kaname}-%{version}
82
83%build
84install -d build
85cd build
86%cmake \
b4201b08 87 -G Ninja \
fd25bf4f 88 -DHTML_INSTALL_DIR=%{_kdedocdir} \
23a17d76
WF
89 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
90 ..
b4201b08 91%ninja_build
23a17d76
WF
92
93%install
94rm -rf $RPM_BUILD_ROOT
b4201b08 95%ninja_install -C build
23a17d76
WF
96
97%find_lang %{kaname} --all-name --with-kde
98
99%clean
100rm -rf $RPM_BUILD_ROOT
101
102%files -f %{kaname}.lang
103%defattr(644,root,root,755)
104/etc/xdg/parley-themes.knsrc
105/etc/xdg/parley.knsrc
106%attr(755,root,root) %{_bindir}/parley
107%{_desktopdir}/org.kde.parley.desktop
108%{_datadir}/config.kcfg/documentsettings.kcfg
109%{_datadir}/config.kcfg/languagesettings.kcfg
110%{_datadir}/config.kcfg/parley.kcfg
111%{_iconsdir}/hicolor/128x128/apps/parley.png
112%{_iconsdir}/hicolor/16x16/apps/parley.png
113%{_iconsdir}/hicolor/32x32/apps/parley.png
114%{_iconsdir}/hicolor/48x48/apps/parley.png
115%{_iconsdir}/hicolor/64x64/apps/parley.png
116%{_iconsdir}/hicolor/scalable/apps/parley-parley.svgz
117%{_iconsdir}/hicolor/scalable/apps/parley-simple.svgz
118%{_iconsdir}/hicolor/scalable/apps/parley.svgz
119%{_iconsdir}/oxygen/16x16/actions/cards-block.png
120%{_iconsdir}/oxygen/16x16/actions/edit-entry.png
121%{_iconsdir}/oxygen/16x16/actions/edit-table-row.png
122%{_iconsdir}/oxygen/16x16/actions/lesson-add.png
123%{_iconsdir}/oxygen/16x16/actions/lesson-remove.png
124%{_iconsdir}/oxygen/16x16/actions/list-add-card.png
125%{_iconsdir}/oxygen/16x16/actions/list-remove-card.png
126%{_iconsdir}/oxygen/16x16/actions/multiple-choice.png
127%{_iconsdir}/oxygen/16x16/actions/practice-setup.png
128%{_iconsdir}/oxygen/16x16/actions/practice-start.png
129%{_iconsdir}/oxygen/16x16/actions/practice-stop.png
130%{_iconsdir}/oxygen/16x16/actions/remove-duplicates.png
131%{_iconsdir}/oxygen/16x16/actions/set-language.png
132%{_iconsdir}/oxygen/16x16/actions/specific-setup.png
133%{_iconsdir}/oxygen/22x22/actions/cards-block.png
134%{_iconsdir}/oxygen/22x22/actions/edit-entry.png
135%{_iconsdir}/oxygen/22x22/actions/edit-table-row.png
136%{_iconsdir}/oxygen/22x22/actions/lesson-add.png
137%{_iconsdir}/oxygen/22x22/actions/lesson-remove.png
138%{_iconsdir}/oxygen/22x22/actions/list-add-card.png
139%{_iconsdir}/oxygen/22x22/actions/list-remove-card.png
140%{_iconsdir}/oxygen/22x22/actions/multiple-choice.png
141%{_iconsdir}/oxygen/22x22/actions/practice-setup.png
142%{_iconsdir}/oxygen/22x22/actions/practice-start.png
143%{_iconsdir}/oxygen/22x22/actions/practice-stop.png
144%{_iconsdir}/oxygen/22x22/actions/remove-duplicates.png
145%{_iconsdir}/oxygen/22x22/actions/set-language.png
146%{_iconsdir}/oxygen/22x22/actions/specific-setup.png
147%{_iconsdir}/oxygen/32x32/actions/cards-block.png
148%{_iconsdir}/oxygen/32x32/actions/edit-entry.png
149%{_iconsdir}/oxygen/32x32/actions/edit-table-row.png
150%{_iconsdir}/oxygen/32x32/actions/lesson-add.png
151%{_iconsdir}/oxygen/32x32/actions/lesson-remove.png
152%{_iconsdir}/oxygen/32x32/actions/list-add-card.png
153%{_iconsdir}/oxygen/32x32/actions/list-remove-card.png
154%{_iconsdir}/oxygen/32x32/actions/multiple-choice.png
155%{_iconsdir}/oxygen/32x32/actions/practice-setup.png
156%{_iconsdir}/oxygen/32x32/actions/practice-start.png
157%{_iconsdir}/oxygen/32x32/actions/practice-stop.png
158%{_iconsdir}/oxygen/32x32/actions/remove-duplicates.png
159%{_iconsdir}/oxygen/32x32/actions/set-language.png
160%{_iconsdir}/oxygen/32x32/actions/specific-setup.png
161%{_iconsdir}/oxygen/48x48/actions/cards-block.png
162%{_iconsdir}/oxygen/48x48/actions/edit-entry.png
163%{_iconsdir}/oxygen/48x48/actions/edit-table-row.png
164%{_iconsdir}/oxygen/48x48/actions/lesson-add.png
165%{_iconsdir}/oxygen/48x48/actions/lesson-remove.png
166%{_iconsdir}/oxygen/48x48/actions/list-add-card.png
167%{_iconsdir}/oxygen/48x48/actions/list-remove-card.png
168%{_iconsdir}/oxygen/48x48/actions/multiple-choice.png
169%{_iconsdir}/oxygen/48x48/actions/practice-setup.png
170%{_iconsdir}/oxygen/48x48/actions/practice-start.png
171%{_iconsdir}/oxygen/48x48/actions/practice-stop.png
172%{_iconsdir}/oxygen/48x48/actions/remove-duplicates.png
173%{_iconsdir}/oxygen/48x48/actions/set-language.png
174%{_iconsdir}/oxygen/48x48/actions/specific-setup.png
175%{_iconsdir}/oxygen/scalable/actions/cards-block.svgz
176%{_iconsdir}/oxygen/scalable/actions/edit-entry.svgz
177%{_iconsdir}/oxygen/scalable/actions/edit-table-row.svgz
178%{_iconsdir}/oxygen/scalable/actions/lesson-add.svgz
179%{_iconsdir}/oxygen/scalable/actions/lesson-remove.svgz
180%{_iconsdir}/oxygen/scalable/actions/list-add-card.svgz
181%{_iconsdir}/oxygen/scalable/actions/list-remove-card.svgz
182%{_iconsdir}/oxygen/scalable/actions/practice-setup.svgz
183%{_iconsdir}/oxygen/scalable/actions/practice-start.svgz
184%{_iconsdir}/oxygen/scalable/actions/remove-duplicates.svgz
185%{_iconsdir}/oxygen/scalable/actions/set-language.svgz
186%{_iconsdir}/oxygen/scalable/actions/specific-setup.svgz
187%dir %{_datadir}/kxmlgui5/parley
188%{_datadir}/kxmlgui5/parley/dashboardui.rc
189%{_datadir}/kxmlgui5/parley/editorui.rc
190%{_datadir}/kxmlgui5/parley/parleyui.rc
191%{_datadir}/kxmlgui5/parley/practicesummaryui.rc
192%{_datadir}/kxmlgui5/parley/practiceui.rc
193%{_datadir}/kxmlgui5/parley/statisticsui.rc
194%dir %{_datadir}/kxmlgui5/parley/themes
195%{_datadir}/kxmlgui5/parley/themes/bees_theme.desktop
196%{_datadir}/kxmlgui5/parley/themes/bees_theme.svgz
197%{_datadir}/kxmlgui5/parley/themes/bees_theme_preview.jpg
198%{_datadir}/kxmlgui5/parley/themes/theme_reference.desktop
199%{_datadir}/kxmlgui5/parley/themes/theme_reference.svgz
200%{_datadir}/kxmlgui5/parley/themes/theme_reference_preview.jpg
201%{_datadir}/metainfo/org.kde.parley.appdata.xml
202%dir %{_datadir}/parley
203%dir %{_datadir}/parley/plugins
204%{_datadir}/parley/plugins/example.desktop
205%{_datadir}/parley/plugins/example.py
206%{_datadir}/parley/plugins/google_dictionary.desktop
207%{_datadir}/parley/plugins/google_dictionary.py
208%{_datadir}/parley/plugins/leo-dict.desktop
209%{_datadir}/parley/plugins/leo-dict.py
210%dir %{_datadir}/parley/plugins/mwclient
211%{_datadir}/parley/plugins/mwclient/LICENSE.md
212%{_datadir}/parley/plugins/mwclient/README.rst
213%{_datadir}/parley/plugins/mwclient/__init__.py
214%{_datadir}/parley/plugins/mwclient/client.py
215%{_datadir}/parley/plugins/mwclient/errors.py
216%{_datadir}/parley/plugins/mwclient/ex.py
217%{_datadir}/parley/plugins/mwclient/image.py
218%{_datadir}/parley/plugins/mwclient/listing.py
219%{_datadir}/parley/plugins/mwclient/page.py
220%dir %{_datadir}/parley/plugins/mwclient/requests_oauthlib
221%{_datadir}/parley/plugins/mwclient/requests_oauthlib/__init__.py
222%dir %{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes
223%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/__init__.py
224%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/douban.py
225%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/facebook.py
226%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/fitbit.py
227%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/linkedin.py
228%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/mailchimp.py
229%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/slack.py
230%{_datadir}/parley/plugins/mwclient/requests_oauthlib/compliance_fixes/weibo.py
231%{_datadir}/parley/plugins/mwclient/requests_oauthlib/oauth1_auth.py
232%{_datadir}/parley/plugins/mwclient/requests_oauthlib/oauth1_session.py
233%{_datadir}/parley/plugins/mwclient/requests_oauthlib/oauth2_auth.py
234%{_datadir}/parley/plugins/mwclient/requests_oauthlib/oauth2_session.py
235%{_datadir}/parley/plugins/mwclient/six.LICENSE
236%{_datadir}/parley/plugins/mwclient/six.README
237%{_datadir}/parley/plugins/mwclient/six.py
238%{_datadir}/parley/plugins/mwclient/sleep.py
239%{_datadir}/parley/plugins/mwclient/util.py
240%{_datadir}/parley/plugins/wiktionary_sound.desktop
241%{_datadir}/parley/plugins/wiktionary_sound.py
242%dir %{_datadir}/parley/themes
243%{_datadir}/parley/themes/bees_theme.desktop
244%{_datadir}/parley/themes/bees_theme.svgz
245%{_datadir}/parley/themes/bees_theme_preview.jpg
246%{_datadir}/parley/themes/theme_reference.desktop
247%{_datadir}/parley/themes/theme_reference.svgz
248%{_datadir}/parley/themes/theme_reference_preview.jpg
249%{_datadir}/parley/tips
250%dir %{_datadir}/parley/xslt
251%{_datadir}/parley/xslt/flashcards.xsl
252%{_datadir}/parley/xslt/table.xsl
This page took 0.189736 seconds and 4 git commands to generate.