]> git.pld-linux.org Git - packages/kp5-bluedevil.git/blobdiff - kp5-bluedevil.spec
rebuild against QT 5.15.10
[packages/kp5-bluedevil.git] / kp5-bluedevil.spec
index 64189ebee8530a1b06d2c4d83ac6bfd2b2a9005e..62a7fed1e4b0b41eed4407c026f9ea778aeeabd6 100644 (file)
@@ -1,14 +1,17 @@
-%define                kdeplasmaver    5.24.0
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeplasmaver    5.27.5
+%define                qtver           5.15.2
 %define                kpname          bluedevil
 Summary:       Integrate the Bluetooth technology within KDE workspace and applications
 Name:          kp5-%{kpname}
-Version:       5.24.0
-Release:       1
+Version:       5.27.5
+Release:       2
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 6b7e9f27503c829924048bf65a0c4763
+Source0:       https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: ff679b3b315c98baeae249a09c060a86
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Quick-devel >= %{qtver}
@@ -16,10 +19,12 @@ BuildRequires:      Qt5Widgets-devel >= %{qtver}
 BuildRequires: cmake >= 2.8.12
 BuildRequires: kf5-bluez-qt-devel
 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: kf5-kcmutils-devel
 BuildRequires: kf5-kconfigwidgets-devel
 BuildRequires: kf5-kdbusaddons-devel
 BuildRequires: kf5-kdeclarative-devel
 BuildRequires: kf5-kded-devel
+BuildRequires: kf5-ki18n-devel
 BuildRequires: kf5-kio-devel
 BuildRequires: kf5-kirigami2-devel
 BuildRequires: kf5-knotifications-devel
@@ -44,15 +49,23 @@ applications.
 install -d build
 cd build
 %cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        ..
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
 
+# not supported by glibc yet
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
+
 %find_lang bluedevil --all-name --with-kde
 
 %clean
This page took 0.034644 seconds and 4 git commands to generate.