]> git.pld-linux.org Git - packages/kf5-purpose.git/blobdiff - kf5-purpose.spec
rebuild against QT 5.15.9
[packages/kf5-purpose.git] / kf5-purpose.spec
index 8293cc44c5305101a117fc4af506934008528285..e8b0b1353f0419c859ba3025022f4bfa2bde14eb 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.91
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.104
+%define                qtver           5.15.2
 %define                kfname          purpose
 
 Summary:       Offers available actions for a specific purpose
 Name:          kf5-%{kfname}
-Version:       5.91.0
-Release:       1
+Version:       5.104.0
+Release:       2
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: dbf82286cc4bd94226c1f587ae97ecf2
+# Source0-md5: 4fe3e8e03a87c2084d1ec29ac5cba55c
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Test-devel >= %{qtver}
@@ -70,10 +73,16 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 install -d build
 cd build
 %cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ../
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
@@ -118,7 +127,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/qt5/qml/org/kde/purpose/phabricator
 %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/purpose/phabricator/libphabricatorquickplugin.so
 %{_libdir}/qt5/qml/org/kde/purpose/phabricator/qmldir
-%{_libdir}/qt5/qml/org/kde/purpose/plugins.qmltypes
 %{_libdir}/qt5/qml/org/kde/purpose/qmldir
 %dir %{_libdir}/qt5/qml/org/kde/purpose/reviewboard
 %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/purpose/reviewboard/librbpurposequickplugin.so
@@ -141,7 +149,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/64x64/actions/kipiplugin_youtube.png
 %{_datadir}/purpose
 %{_datadir}/qlogging-categories5/purpose.renamecategories
-%{_libdir}/qt5/plugins/kf5/purpose/twitterplugin.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/twitterplugin.so
+%{_libdir}/qt5/qml/org/kde/purpose/AlternativesView.qml
+%{_libdir}/qt5/qml/org/kde/purpose/JobView.qml
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.202322 seconds and 4 git commands to generate.