]> git.pld-linux.org Git - packages/kp5-plasma-workspace-wallpapers.git/blobdiff - kp5-plasma-workspace-wallpapers.spec
- updated to 5.27.11
[packages/kp5-plasma-workspace-wallpapers.git] / kp5-plasma-workspace-wallpapers.spec
index 1b6bfd546cc87b6a294cc32b641d591a91b98d3c..15438095d0842bbec62ec60cbe2cc4ef6ebed6fb 100644 (file)
@@ -1,17 +1,20 @@
-%define                kdeplasmaver    5.24.3
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeplasmaver    5.27.11
+%define                qtver           5.15.2
 %define                kpname          plasma-workspace-wallpapers
 
 Summary:       KDE Plasma Workspace Wallpapers
 Name:          kp5-%{kpname}
-Version:       5.24.3
+Version:       5.27.11
 Release:       1
 License:       LGPL v2.1+
 Group:         X11
-Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: a534712532a642fbbe6e7aae0db8250f
+Source0:       https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: a5045854dd3733f0d03857f2f065de0e
 URL:           http://www.kde.org/
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16.0
 BuildRequires: ninja
 BuildRequires: rpmbuild(macros) >= 1.164
 BuildRequires: xz
@@ -25,13 +28,16 @@ KDE Plasma Workspace Wallpapers.
 %setup -q -n %{kpname}-%{version}
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build \
+       -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       -DHTML_INSTALL_DIR=%{_kdedocdir} \
-       ../
-%ninja_build
+       -DHTML_INSTALL_DIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -62,7 +68,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/wallpapers/summer_1am
 %{_datadir}/wallpapers/Cluster
 %{_datadir}/wallpapers/Elarun
-%{_datadir}/wallpapers/SafeLanding
 %{_datadir}/wallpapers/Flow
 %{_datadir}/wallpapers/IceCold
 %{_datadir}/wallpapers/Shell
@@ -70,3 +75,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/wallpapers/MilkyWay
 %{_datadir}/wallpapers/Altai
 %{_datadir}/wallpapers/Patak
+%{_datadir}/wallpapers/Honeywave
+%{_datadir}/wallpapers/SafeLanding
+%{_datadir}/wallpapers/Kay
This page took 0.07388 seconds and 4 git commands to generate.