commit a5da86f52dcb973ec215dfa5ea07f2a26b312c5d
Author: Witold Filipczyk <[email protected]>
Date:   Thu Aug 24 17:53:48 2023 +0200

    - updated to 23.08.0; cmake -B build

 ka5-kdf.spec | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/ka5-kdf.spec b/ka5-kdf.spec
index 350a245..046706e 100644
--- a/ka5-kdf.spec
+++ b/ka5-kdf.spec
@@ -1,21 +1,21 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeappsver      23.04.3
+%define                kdeappsver      23.08.0
 %define                kframever       5.94.0
 %define                qtver           5.15.2
 %define                kaname          kdf
 Summary:       KDE free disk space utility
 Name:          ka5-%{kaname}
-Version:       23.04.3
+Version:       23.08.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications
 Source0:       
https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 6a28319b54534e907e27fa8a12d281d2
+# Source0-md5: 4dfac2540f0c9e9aa882ccbb40493c5a
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
 BuildRequires: gettext-devel
 BuildRequires: kf5-extra-cmake-modules >= %{kframever}
 BuildRequires: kf5-kcmutils-devel >= %{kframever}
@@ -46,18 +46,16 @@ Program użytkowy KDE do pokazywania zajętości dysku.
 %setup -q -n %{kaname}-%{version}
 
 %build
-install -d build
-cd build
 %cmake \
+       -B build \
        -G Ninja \
        %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       ..
-%ninja_build
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
 
 %if %{with tests}
-ctest
+ctest --test-dir build
 %endif
 
 
@@ -76,8 +74,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/kdf
 %attr(755,root,root) %{_bindir}/kwikdisk
 %ghost %{_libdir}/libkdfprivate.so.23
-%{_libdir}/libkdfprivate.so.*.*.*
-%{_libdir}/qt5/plugins/libkcm_kdf.so
+%attr(755,root,root) %{_libdir}/libkdfprivate.so.*.*.*
 %{_desktopdir}/org.kde.kdf.desktop
 %{_desktopdir}/org.kde.kwikdisk.desktop
 %{_iconsdir}/hicolor/128x128/apps/kdf.png
@@ -98,3 +95,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/kxmlgui5/kdf
 %{_datadir}/metainfo/org.kde.kdf.appdata.xml
 %{_datadir}/qlogging-categories5/kdf.categories
+%attr(755,root,root) 
%{_libdir}/qt5/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kdf.so
+%{_desktopdir}/kcm_kdf.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kdf.git/commitdiff/a5da86f52dcb973ec215dfa5ea07f2a26b312c5d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to