]> git.pld-linux.org Git - packages/kf5-kcoreaddons.git/blobdiff - kf5-kcoreaddons.spec
- updated to 5.115.0
[packages/kf5-kcoreaddons.git] / kf5-kcoreaddons.spec
index 96659f836a34a2072f984011296e868110984b48..5ad10b2bba29f521918dd69feb94e5e049f67c8d 100644 (file)
@@ -5,17 +5,17 @@
 # TODO:
 # - runtime Requires if any
 
-%define                kdeframever     5.92
+%define                kdeframever     5.115
 %define                qtver           5.15.2
 %define                kfname          kcoreaddons
 Summary:       Utilities for core application functionality and accessing the OS
 Name:          kf5-%{kfname}
-Version:       5.92.0
+Version:       5.115.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 0cbeb3e8ece398e3645a82d28fe29a85
+# Source0-md5: 159559a9fcc0812b4145acdd073a73d7
 Patch0:                flaky-tests.patch
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
@@ -61,19 +61,23 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 #%patch0 -p1
 
 %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
+
+%{?with_tests:%ninja_build -C build test}
 
-%{?with_tests:%ninja_build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
 
+# not supported by glibc yet
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ie,tok}
+
 %find_lang %{kfname}5_qt --with-qm --all-name --with-kde
 
 %clean
@@ -88,9 +92,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/mime/packages/kde5.xml
 %attr(755,root,root) %{_libdir}/libKF5CoreAddons.so.*.*.*
 %ghost %{_libdir}/libKF5CoreAddons.so.5
-%dir %{_libdir}/qt5/plugins/namespace
-%attr(755,root,root) %{_libdir}/qt5/plugins/namespace/jsonplugin_cmake_macro.so
-%attr(755,root,root) %{_libdir}/qt5/plugins/namespace/pluginwithoutmetadata.so
+##%dir %{_libdir}/qt5/plugins/namespace
+##%attr(755,root,root) %{_libdir}/qt5/plugins/namespace/jsonplugin_cmake_macro.so
+##%attr(755,root,root) %{_libdir}/qt5/plugins/namespace/pluginwithoutmetadata.so
 %{_datadir}/qlogging-categories5/kcoreaddons.categories
 %dir %{_datadir}/kf5/licenses
 %{_datadir}/kf5/licenses/ARTISTIC
This page took 0.095805 seconds and 4 git commands to generate.