[packages/ka5-kdiamond] - 24.01.95

witekfl witekfl at pld-linux.org
Wed Feb 21 17:43:21 CET 2024


commit 8515699754e4554c289829ec03f83f8981beddea
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Feb 21 17:11:34 2024 +0100

    - 24.01.95

 ka5-kdiamond.spec | 58 ++++++++++++++++++++++++++-----------------------------
 1 file changed, 27 insertions(+), 31 deletions(-)
---
diff --git a/ka5-kdiamond.spec b/ka5-kdiamond.spec
index 5847984..b747e07 100644
--- a/ka5-kdiamond.spec
+++ b/ka5-kdiamond.spec
@@ -1,41 +1,41 @@
 #
 # Conditional build:
 %bcond_with	tests		# build with tests
-%define		kdeappsver	23.08.4
+%define		kdeappsver	24.01.95
 %define		kframever	5.94.0
 %define		qtver		5.15.2
 %define		kaname		kdiamond
 Summary:	kdiamond
 Name:		ka5-%{kaname}
-Version:	23.08.4
-Release:	1
+Version:	24.01.95
+Release:	0.1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Applications/Games
-Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	688974e3d5dd4c5c41481de5f55dea95
+Source0:	https://download.kde.org/unstable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	07407d66e59470e2d74a84d211fb485f
 URL:		http://www.kde.org/
-BuildRequires:	Qt5Core-devel >= %{qtver}
-BuildRequires:	Qt5Gui-devel >= 5.11.1
-BuildRequires:	Qt5Qml-devel >= 5.11.1
-BuildRequires:	Qt5Quick-devel >= 5.11.1
-BuildRequires:	Qt5Widgets-devel
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Gui-devel >= 5.11.1
+BuildRequires:	Qt6Qml-devel >= 5.11.1
+BuildRequires:	Qt6Quick-devel >= 5.11.1
+BuildRequires:	Qt6Widgets-devel
 BuildRequires:	cmake >= 3.20
 BuildRequires:	gettext-devel
 BuildRequires:	ka5-libkdegames-devel >= %{kdeappsver}
-BuildRequires:	kf5-extra-cmake-modules >= %{kframever}
-BuildRequires:	kf5-kconfig-devel >= %{kframever}
-BuildRequires:	kf5-kconfigwidgets-devel >= %{kframever}
-BuildRequires:	kf5-kcoreaddons-devel >= %{kframever}
-BuildRequires:	kf5-kcrash-devel >= %{kframever}
-BuildRequires:	kf5-kdbusaddons-devel >= %{kframever}
-BuildRequires:	kf5-kdoctools-devel >= %{kframever}
-BuildRequires:	kf5-ki18n-devel >= %{kframever}
-BuildRequires:	kf5-knotifications-devel >= %{kframever}
-BuildRequires:	kf5-knotifyconfig-devel >= %{kframever}
-BuildRequires:	kf5-kwidgetsaddons-devel >= %{kframever}
-BuildRequires:	kf5-kxmlgui-devel >= %{kframever}
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-kconfig-devel >= %{kframever}
+BuildRequires:	kf6-kconfigwidgets-devel >= %{kframever}
+BuildRequires:	kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires:	kf6-kcrash-devel >= %{kframever}
+BuildRequires:	kf6-kdbusaddons-devel >= %{kframever}
+BuildRequires:	kf6-kdoctools-devel >= %{kframever}
+BuildRequires:	kf6-ki18n-devel >= %{kframever}
+BuildRequires:	kf6-knotifications-devel >= %{kframever}
+BuildRequires:	kf6-knotifyconfig-devel >= %{kframever}
+BuildRequires:	kf6-kwidgetsaddons-devel >= %{kframever}
+BuildRequires:	kf6-kxmlgui-devel >= %{kframever}
 BuildRequires:	ninja
-BuildRequires:	qt5-build >= %{qtver}
+BuildRequires:	qt6-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	shared-mime-info
 BuildRequires:	tar >= 1:1.22
@@ -59,7 +59,8 @@ z trzech podobnych diamentów.
 	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
 	-DHTML_INSTALL_DIR=%{_kdedocdir} \
-	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DQT_MAJOR_VERSION=6
 %ninja_build -C build
 
 %if %{with tests}
@@ -82,14 +83,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kdiamond
 %{_desktopdir}/org.kde.kdiamond.desktop
-%{_iconsdir}/hicolor/128x128/apps/kdiamond.png
-%{_iconsdir}/hicolor/16x16/apps/kdiamond.png
-%{_iconsdir}/hicolor/22x22/apps/kdiamond.png
-%{_iconsdir}/hicolor/32x32/apps/kdiamond.png
-%{_iconsdir}/hicolor/48x48/apps/kdiamond.png
-%{_iconsdir}/hicolor/64x64/apps/kdiamond.png
+%{_iconsdir}/hicolor/*x*/apps/*.png
 %{_datadir}/kdiamond
-%{_datadir}/knotifications5/kdiamond.notifyrc
+%{_datadir}/knotifications6/kdiamond.notifyrc
 %{_datadir}/sounds/KDiamond-Stone-Drop.ogg
 %{_datadir}/sounds/KDiamond-Stone-Swap.ogg
 %{_datadir}/sounds/KDiamond-Stone-Touch.ogg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kdiamond.git/commitdiff/8515699754e4554c289829ec03f83f8981beddea



More information about the pld-cvs-commit mailing list