]> git.pld-linux.org Git - packages/kf5-kded.git/blobdiff - kf5-kded.spec
- updated to 5.96.0
[packages/kf5-kded.git] / kf5-kded.spec
index 528256ff561543ddfc18098dea9a31397cb354da..9ea91a460b8447a80e9d19df68cb5e471cf20398 100644 (file)
@@ -1,16 +1,20 @@
-%define                kdeframever     5.91
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.96
 %define                qtver           5.15.2
 %define                kfname          kded
 
 Summary:       Central daemon of KDE work spaces
+Summary(pl.UTF-8):     Centralny demon przestrzeni roboczych KDE
 Name:          kf5-%{kfname}
-Version:       5.91.0
+Version:       5.96.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: a272d2e425e1bcda33151c89d68b806b
-URL:           http://www.kde.org/
+# Source0-md5: 4a05b7730c760d8367b4210f63189eb2
+URL:           https://kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
 BuildRequires: Qt5Widgets-devel >= %{qtver}
@@ -26,7 +30,7 @@ BuildRequires:        ninja
 BuildRequires: rpmbuild(macros) >= 2.011
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
-Requires(post,preun):  systemd-units >= 250.1
+Requires(post,preun):  systemd-units >= 1:250.1
 Requires:      Qt5DBus >= %{qtver}
 Requires:      Qt5Widgets >= %{qtver}
 Requires:      kf5-dirs
@@ -35,7 +39,7 @@ Requires:     kf5-kcoreaddons >= %{version}
 Requires:      kf5-kcrash >= %{version}
 Requires:      kf5-kdbusaddons >= %{version}
 Requires:      kf5-kservice >= %{version}
-Requires:      systemd-units >= 250.1
+Requires:      systemd-units >= 1:250.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                qt5dir          %{_libdir}/qt5
@@ -45,6 +49,11 @@ KDED stands for KDE Daemon which isn't very descriptive. KDED runs in
 the background and performs a number of small tasks. Some of these
 tasks are built in, others are started on demand.
 
+%description -l pl.UTF-8
+KDED to skrót od KDE Daemon, co nie mówi zbyt wiele. KDED działa w tle
+i wykonuje wiele małych zadań. Niektóre są wbudowane, inne uruchamiane
+w razie potrzeby.
+
 %package devel
 Summary:       Header files for %{kfname} development
 Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{kfname}
@@ -64,12 +73,19 @@ 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
 
 %clean
This page took 0.029025 seconds and 4 git commands to generate.