]> git.pld-linux.org Git - packages/kf5-plasma-framework.git/blobdiff - kf5-plasma-framework.spec
- updated to 5.96.0
[packages/kf5-plasma-framework.git] / kf5-plasma-framework.spec
index e13f926e2a4599e5c3aba3d43ae3b6895669c91b..c1ef4382edcb80a4b83c7709e991796e4b84089c 100644 (file)
@@ -1,16 +1,18 @@
-%define                kdeframever     5.90
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.96
+%define                qtver           5.15.2
 %define                kfname          plasma-framework
 
 Summary:       The foundations that can be used to build a primary user interface
 Name:          kf5-%{kfname}
-Version:       5.90.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: f95f84b9935ce9f6727094519721f855
-Patch0:                egl.patch
+# Source0-md5: 4ddcf5724874d1999ee73e1c93422f2b
 URL:           http://www.kde.org/
 BuildRequires: EGL-devel
 BuildRequires: OpenGL-devel
@@ -101,16 +103,21 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 
 %prep
 %setup -q -n %{kfname}-%{version}
-%patch0 -p1
 
 %build
 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
@@ -218,7 +225,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/qt5/qml/org/kde/plasma/platformcomponents
 %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/plasma/platformcomponents/libplatformcomponentsplugin.so
 %{_libdir}/qt5/qml/org/kde/plasma/platformcomponents/qmldir
-%{_datadir}/kservices5/plasma-scriptengine-applet-declarative.desktop
 %{_datadir}/kservicetypes5/plasma-applet.desktop
 %{_datadir}/kservicetypes5/plasma-containment.desktop
 %{_datadir}/kservicetypes5/plasma-containmentactions.desktop
@@ -426,13 +432,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/qt5/qml/QtQuick/Controls.2/Plasma/private/IconLabel.qml
 %{_libdir}/qt5/qml/org/kde/plasma/components.3/private/IconLabel.qml
 
+%{_libdir}/qt5/qml/org/kde/plasma/extras/ActionTextField.qml
+%{_libdir}/qt5/qml/org/kde/plasma/extras/Highlight.qml
+%{_libdir}/qt5/qml/org/kde/plasma/extras/PasswordField.qml
+%{_libdir}/qt5/qml/org/kde/plasma/extras/SearchField.qml
+
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/KF5/Plasma
 %{_includedir}/KF5/plasma
 %{_includedir}/KF5/PlasmaQuick
 %{_includedir}/KF5/plasmaquick
-%{_includedir}/KF5/plasma_version.h
 %{_libdir}/cmake/KF5Plasma
 %{_libdir}/cmake/KF5PlasmaQuick
 %{_libdir}/libKF5Plasma.so
This page took 0.038237 seconds and 4 git commands to generate.