]> git.pld-linux.org Git - packages/kf5-frameworkintegration.git/blobdiff - kf5-frameworkintegration.spec
- updated to 5.94.0
[packages/kf5-frameworkintegration.git] / kf5-frameworkintegration.spec
index e5b84adbcbf27a2431ad7448d0a53032c4ba3fe9..48511f916bd85bdf7cf1e86062479de3a63f053b 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.88
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.94
 %define                qtver           5.9.0
 %define                kfname          frameworkintegration
 
 Summary:       HTML rendering engine
 Name:          kf5-%{kfname}
-Version:       5.88.0
+Version:       5.94.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: edf1496e4237fd371a18a3afd695450f
+# Source0-md5: e1234f34020f69e96029159b985a90fe
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -82,10 +85,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
@@ -131,6 +140,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/KF5/KStyle
-%{_includedir}/KF5/frameworkintegration_version.h
+%{_includedir}/KF5/FrameworkIntegration
 %{_libdir}/cmake/KF5FrameworkIntegration
 %{_libdir}/libKF5Style.so
This page took 0.048892 seconds and 4 git commands to generate.