]> git.pld-linux.org Git - packages/kf5-frameworkintegration.git/blobdiff - kf5-frameworkintegration.spec
- updated to 5.115.0
[packages/kf5-frameworkintegration.git] / kf5-frameworkintegration.spec
index e49904a09d6fab1ae4273cd5d42e2d0e42a481be..d856fd5033cb0ca0ff813912de637690481fea54 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.67
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.115
+%define                qtver           5.15.2
 %define                kfname          frameworkintegration
 
 Summary:       HTML rendering engine
 Name:          kf5-%{kfname}
-Version:       5.67.0
+Version:       5.115.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 6dc5c1e55e8ca4cc19e6faa8719b9cc4
+Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: c1cc6f7cb0b35ec6e1ef691ec4b1943b
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -18,7 +21,7 @@ BuildRequires:        Qt5Network-devel >= %{qtver}
 BuildRequires: Qt5Widgets-devel >= %{qtver}
 BuildRequires: Qt5X11Extras-devel >= %{qtver}
 BuildRequires: Qt5Xml-devel >= %{qtver}
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16
 BuildRequires: fonts-TTF-KDE-Oxygen-devel
 BuildRequires: gettext-devel
 BuildRequires: kf5-attica-devel >= %{version}
@@ -38,6 +41,7 @@ BuildRequires:        kf5-kiconthemes-devel >= %{version}
 BuildRequires: kf5-kio-devel >= %{version}
 BuildRequires: kf5-kitemviews-devel >= %{version}
 BuildRequires: kf5-kjobwidgets-devel >= %{version}
+BuildRequires: kf5-knewstuff-devel >= %{version}
 BuildRequires: kf5-knotifications-devel >= %{version}
 BuildRequires: kf5-kservice-devel >= %{version}
 BuildRequires: kf5-ktextwidgets-devel >= %{version}
@@ -78,12 +82,17 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 %setup -q -n %{kfname}-%{version}
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       ../
-%ninja_build
+%cmake -B build \
+       -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
+
+%if %{with tests}
+%ninja_build -C build test
+%endif
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -98,13 +107,10 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.md
-%attr(755,root,root) %ghost %{_libdir}/libKF5Style.so.5
+%ghost %{_libdir}/libKF5Style.so.5
 %attr(755,root,root) %{_libdir}/libKF5Style.so.*.*
 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/FrameworkIntegrationPlugin.so
-#%%attr(755,root,root) %{_libdir}/qt5/plugins/platformthemes/KDEPlatformTheme.so
 %{_datadir}/knotifications5/plasma_workspace.notifyrc
-#%%{_datadir}/kconf_update/frameworksintegration-5.16-font.sh
-#%%{_datadir}/kconf_update/frameworksintegration-5.16-font.upd
 %dir %{_prefix}/libexec/kf5/kpackagehandlers
 %attr(755,root,root) %{_prefix}/libexec/kf5/kpackagehandlers/knshandler
 %dir %{_datadir}/kf5/infopage
@@ -133,6 +139,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
-%attr(755,root,root) %{_libdir}/libKF5Style.so
+%{_libdir}/libKF5Style.so
This page took 0.059335 seconds and 4 git commands to generate.