]> git.pld-linux.org Git - packages/kf5-kdeclarative.git/blobdiff - kf5-kdeclarative.spec
- updated to 5.101.0
[packages/kf5-kdeclarative.git] / kf5-kdeclarative.spec
index 4e6926ed1a9ce112b259a4d53992b809a1fd563e..84525510c80da386456e2a8aa125cf28e87b33e5 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.86
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.101
+%define                qtver           5.15.2
 %define                kfname          kdeclarative
 
 Summary:       Integration of QML and KDE work spaces
 Name:          kf5-%{kfname}
-Version:       5.86.0
+Version:       5.101.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 2c781b7a1930e660c287823f3ece3e8c
+# Source0-md5: d9d37abe187906604b1c07d4019042ea
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -81,10 +84,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
@@ -150,7 +159,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/KF5/KDeclarative
-%{_includedir}/KF5/kdeclarative_version.h
 %{_libdir}/cmake/KF5Declarative
 %{_libdir}/libKF5CalendarEvents.so
 %{_libdir}/libKF5Declarative.so
This page took 0.035316 seconds and 4 git commands to generate.