]> git.pld-linux.org Git - packages/ka5-spectacle.git/blobdiff - ka5-spectacle.spec
- updated to 22.04.0
[packages/ka5-spectacle.git] / ka5-spectacle.spec
index 9d8fd2675554aa206937515db0b196657b8af0b7..850a2e22609d0c1a429298a75030bbcaa5ed3de3 100644 (file)
@@ -1,16 +1,19 @@
-%define                kdeappsver      21.04.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeappsver      22.04.0
 %define                qtver           5.9.0
 %define                kaname          spectacle
 
 Summary:       Spectacle
 Summary(pl.UTF-8):     Spectacle
 Name:          ka5-%{kaname}
-Version:       21.04.0
+Version:       22.04.0
 Release:       1
 License:       GPL
 Group:         X11/Applications/Editors
 Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: d5895f4a2def9205b6a1602b686763f3
+# Source0-md5: 2689bf5dde461d5aec76eff63a780072
 URL:           http://www.kde.org/
 BuildRequires: Qt5Concurrent-devel
 BuildRequires: Qt5Core-devel
@@ -59,11 +62,17 @@ mogą być następnie zapisane w wielu formatach.
 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
@@ -87,6 +96,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/knotifications5/spectacle.notifyrc
 %{_datadir}/metainfo/org.kde.spectacle.appdata.xml
 %attr(755,root,root) %{_libdir}/kconf_update_bin/spectacle-migrate-shortcuts
+%attr(755,root,root) %{_libdir}/kconf_update_bin/spectacle-migrate-rememberregion
+%{_datadir}/kconf_update/spectacle_rememberregion.upd
+%attr(755,root,root) %{_datadir}/kconf_update/50-clipboard_settings_change.py
+%{_datadir}/kconf_update/spectacle_clipboard.upd
 %{_datadir}/kconf_update/spectacle_shortcuts.upd
 %dir %{_datadir}/kglobalaccel
 %{_datadir}/kglobalaccel/org.kde.spectacle.desktop
This page took 0.109061 seconds and 4 git commands to generate.