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