]> git.pld-linux.org Git - packages/kf5-purpose.git/blobdiff - kf5-purpose.spec
- updated to 5.100.0
[packages/kf5-purpose.git] / kf5-purpose.spec
index 0f5b91e061624de6e00a8e87d2f2b09c0b20950f..9e99881c82062a0187c3a4c99358fbb1cafded5f 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.80
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.100
+%define                qtver           5.15.2
 %define                kfname          purpose
 
 Summary:       Offers available actions for a specific purpose
 Name:          kf5-%{kfname}
-Version:       5.80.0
+Version:       5.100.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 6fba6b9296a806badc9a6b871c027a60
+Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: d1db24150fe24f8294d91e0a7dde7eef
 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
@@ -99,6 +108,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/qt5/plugins/kf5/kfileitemaction
 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kfileitemaction/sharefileitemaction.so
 %dir %{_libdir}/qt5/plugins/kf5/purpose
+%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/barcodeplugin.so
 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/bluetoothplugin.so
 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/emailplugin.so
 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/imgurplugin.so
@@ -117,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
@@ -138,18 +147,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/32x32/actions/kipiplugin_youtube.png
 %{_iconsdir}/hicolor/48x48/actions/kipiplugin_youtube.png
 %{_iconsdir}/hicolor/64x64/actions/kipiplugin_youtube.png
-%dir %{_datadir}/purpose
-%{_datadir}/purpose/bluetoothplugin_config.qml
-%{_datadir}/purpose/kdeconnectplugin_config.qml
-%{_datadir}/purpose/nextcloudplugin_config.qml
-%{_datadir}/purpose/phabricatorplugin_config.qml
-%{_datadir}/purpose/reviewboardplugin_config.qml
-%{_datadir}/purpose/saveasplugin_config.qml
-%{_datadir}/purpose/youtubeplugin_config.qml
+%{_datadir}/purpose
 %{_datadir}/qlogging-categories5/purpose.renamecategories
-
-#%%files twitter
-#%%defattr(644,root,root,755)
+%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 1.097864 seconds and 4 git commands to generate.