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