]> git.pld-linux.org Git - packages/ka5-artikulate.git/blobdiff - ka5-artikulate.spec
rebuild against QT 5.15.9
[packages/ka5-artikulate.git] / ka5-artikulate.spec
index 19e201b3eea89897bd414cd4c611d8c9a037368f..155f3424bc50f272946a0082ca2083d856eafefd 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeappsver      21.12.1
-%define                kframever       5.56.0
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeappsver      22.12.3
+%define                kframever       5.94.0
+%define                qtver           5.15.2
 %define                kaname          artikulate
 Summary:       Artikulate
 Name:          ka5-%{kaname}
-Version:       21.12.1
-Release:       1
+Version:       22.12.3
+Release:       2
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: d5c17327d19bbf0c4e95eae3ce55c4b9
+Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 10329874c3f705baaa381155ad57be86
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= 5.11.1
@@ -60,11 +63,17 @@ install -d build
 cd build
 %cmake \
        -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
@@ -84,9 +93,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libartikulatecore.so.0
 %attr(755,root,root) %{_libdir}/libartikulatelearnerprofile.so.0
 %attr(755,root,root) %{_libdir}/libartikulatesound.so.0
-%dir %{_libdir}/qt5/plugins/artikulate
-%dir %{_libdir}/qt5/plugins/artikulate/libsound
-%attr(755,root,root) %{_libdir}/qt5/plugins/artikulate/libsound/qtmultimediabackend.so
 %{_desktopdir}/org.kde.artikulate.desktop
 %{_datadir}/config.kcfg/artikulate.kcfg
 %{_datadir}/metainfo/org.kde.artikulate.appdata.xml
This page took 0.117964 seconds and 4 git commands to generate.