]>
Commit | Line | Data |
---|---|---|
d9c6bb4b | 1 | %define kdeappsver 21.12.1 |
ab30f877 | 2 | %define kframever 5.56.0 |
b5cfb9d8 | 3 | %define qtver 5.9.0 |
1ae0a345 WF |
4 | %define kaname artikulate |
5 | Summary: Artikulate | |
6 | Name: ka5-%{kaname} | |
d9c6bb4b | 7 | Version: 21.12.1 |
1ae0a345 WF |
8 | Release: 1 |
9 | License: GPL v2+/LGPL v2.1+ | |
10 | Group: X11/Libraries | |
de45a717 | 11 | Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz |
d9c6bb4b | 12 | # Source0-md5: d5c17327d19bbf0c4e95eae3ce55c4b9 |
1ae0a345 WF |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
b5cfb9d8 WF |
15 | BuildRequires: Qt5Gui-devel >= 5.11.1 |
16 | BuildRequires: Qt5Multimedia-devel | |
17 | BuildRequires: Qt5Network-devel >= 5.11.1 | |
18 | BuildRequires: Qt5Qml-devel | |
19 | BuildRequires: Qt5Quick-devel | |
20 | BuildRequires: Qt5Sql-devel | |
21 | BuildRequires: Qt5Test-devel | |
22 | BuildRequires: Qt5Widgets-devel | |
23 | BuildRequires: Qt5XmlPatterns-devel | |
1ae0a345 | 24 | BuildRequires: cmake >= 2.8.12 |
b5cfb9d8 | 25 | BuildRequires: gettext-devel |
ab30f877 WF |
26 | BuildRequires: kf5-extra-cmake-modules >= %{kframever} |
27 | BuildRequires: kf5-karchive-devel >= %{kframever} | |
28 | BuildRequires: kf5-kconfig-devel >= %{kframever} | |
29 | BuildRequires: kf5-kcrash-devel >= %{kframever} | |
30 | BuildRequires: kf5-ki18n-devel >= %{kframever} | |
31 | BuildRequires: kf5-knewstuff-devel >= %{kframever} | |
32 | BuildRequires: kf5-kxmlgui-devel >= %{kframever} | |
31c3fbd5 | 33 | BuildRequires: ninja |
1ae0a345 WF |
34 | BuildRequires: qt5-build >= %{qtver} |
35 | BuildRequires: rpmbuild(macros) >= 1.164 | |
36 | BuildRequires: shared-mime-info | |
37 | BuildRequires: tar >= 1:1.22 | |
38 | BuildRequires: xz | |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
41 | %description | |
42 | Artikulate is a language learning application that helps improving | |
43 | pronunciation skills for various languages. This repository maintains | |
44 | the application and language specifications. All course files are | |
45 | maintained in a separate repository named "artikulate-data" and hosted | |
46 | on the KDE infrastructure. | |
47 | ||
136265fb WF |
48 | %description -l pl.UTF-8 |
49 | Artikulate jest programem wspomagającym naukę języków, który pomaga | |
50 | poprawić umiejętności wymowy dla wielu z nich. To repozytorium | |
51 | zawiera program i specyfikacje języków. Wszystkie plików kursów | |
52 | są utrzymywane w oddzielnym repozytorum nazwanym "artikulate-data" | |
53 | i hostowanym przez infrastrukturę KDE. | |
54 | ||
1ae0a345 WF |
55 | %prep |
56 | %setup -q -n %{kaname}-%{version} | |
57 | ||
58 | %build | |
59 | install -d build | |
60 | cd build | |
61 | %cmake \ | |
31c3fbd5 | 62 | -G Ninja \ |
ab30f877 | 63 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ |
1ae0a345 WF |
64 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
65 | .. | |
31c3fbd5 | 66 | %ninja_build |
1ae0a345 WF |
67 | |
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
31c3fbd5 | 70 | %ninja_install -C build |
1ae0a345 WF |
71 | |
72 | %find_lang %{kaname} --all-name --with-kde | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %post -p /sbin/ldconfig | |
78 | %postun -p /sbin/ldconfig | |
79 | ||
80 | %files -f %{kaname}.lang | |
81 | %defattr(644,root,root,755) | |
1ae0a345 WF |
82 | %attr(755,root,root) %{_bindir}/artikulate |
83 | %attr(755,root,root) %{_bindir}/artikulate_editor | |
1ae0a345 | 84 | %attr(755,root,root) %{_libdir}/libartikulatecore.so.0 |
1ae0a345 | 85 | %attr(755,root,root) %{_libdir}/libartikulatelearnerprofile.so.0 |
1ae0a345 WF |
86 | %attr(755,root,root) %{_libdir}/libartikulatesound.so.0 |
87 | %dir %{_libdir}/qt5/plugins/artikulate | |
88 | %dir %{_libdir}/qt5/plugins/artikulate/libsound | |
89 | %attr(755,root,root) %{_libdir}/qt5/plugins/artikulate/libsound/qtmultimediabackend.so | |
90 | %{_desktopdir}/org.kde.artikulate.desktop | |
1ae0a345 | 91 | %{_datadir}/config.kcfg/artikulate.kcfg |
de45a717 | 92 | %{_datadir}/metainfo/org.kde.artikulate.appdata.xml |
1ae0a345 | 93 | %{_iconsdir}/hicolor/16x16/apps/artikulate.png |
1ae0a345 | 94 | %{_iconsdir}/hicolor/32x32/apps/artikulate.png |
1ae0a345 | 95 | %{_iconsdir}/hicolor/48x48/apps/artikulate.png |
1ae0a345 | 96 | %{_iconsdir}/hicolor/64x64/apps/artikulate.png |
1ae0a345 | 97 | %{_iconsdir}/hicolor/scalable/apps/artikulate.svg |
de45a717 | 98 | %{_datadir}/knsrcfiles/artikulate.knsrc |