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