public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/atlantik] epel10: Migrate to KF6
@ 2026-08-04 17:37 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-04 17:37 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/atlantik
            Branch : epel10
            Commit : 25117e3c8f7fa5d6ce5047181f01b74069ba8d99
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2023-11-16T08:44:14-05:00
            Stats  : +39/-43 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/atlantik/c/25117e3c8f7fa5d6ce5047181f01b74069ba8d99?branch=epel10

            Log:
            Migrate to KF6

Resolves: rhbz#2249999

---
diff --git a/atlantik.spec b/atlantik.spec
index 549dcbe..afb98e3 100644
--- a/atlantik.spec
+++ b/atlantik.spec
@@ -1,6 +1,6 @@
-%global commit 688c8fcc65d36e9698b7662b4c0610d1a79c8188
+%global commit 9bf030650b62f919f01247973132a081d209c029
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global gitdate 20230916
+%global gitdate 20231116
 
 %global app_id  org.kde.atlantik
 
@@ -13,46 +13,42 @@ URL:            https://apps.kde.org/atlantik/
 %if 0%{?gitdate:1}
 Source:         https://invent.kde.org/games/atlantik/-/archive/%{commit}/atlantik-%{commit}.tar.bz2
 %else
-%global revision %(echo %{version} | cut -d. -f3)
-%if %{revision} >= 50
-%global stable unstable
-%else
-%global stable stable
-%endif
-Source:         https://download.kde.org/%{stable}/%{name}/%{version}/%{name}-%{version}.tar.xz
+Source:         https://download.kde.org/%{stable_kf6}/%{name}/%{version}/%{name}-%{version}.tar.xz
 %endif
 
 BuildRequires:  extra-cmake-modules
 BuildRequires:  gcc-c++
 BuildRequires:  gettext
-BuildRequires:  cmake(Qt5Core)
-BuildRequires:  cmake(Qt5Gui)
-BuildRequires:  cmake(Qt5Network)
-BuildRequires:  cmake(Qt5Xml)
-BuildRequires:  cmake(Qt5Widgets)
-BuildRequires:  cmake(KF5Config)
-BuildRequires:  cmake(KF5ConfigWidgets)
-BuildRequires:  cmake(KF5CoreAddons)
-BuildRequires:  cmake(KF5Crash)
-BuildRequires:  cmake(KF5I18n)
-BuildRequires:  cmake(KF5IconThemes)
-BuildRequires:  cmake(KF5Notifications)
-BuildRequires:  cmake(KF5NotifyConfig)
-BuildRequires:  cmake(KF5XmlGui)
-BuildRequires:  cmake(KF5WidgetsAddons)
-BuildRequires:  cmake(KF5DocTools)
-BuildRequires:  cmake(KF5KDEGames)
+BuildRequires:  cmake(Qt6Core)
+BuildRequires:  cmake(Qt6Core5Compat)
+BuildRequires:  cmake(Qt6Gui)
+BuildRequires:  cmake(Qt6Network)
+BuildRequires:  cmake(Qt6Xml)
+BuildRequires:  cmake(Qt6Widgets)
+BuildRequires:  cmake(KF6Config)
+BuildRequires:  cmake(KF6ConfigWidgets)
+BuildRequires:  cmake(KF6CoreAddons)
+BuildRequires:  cmake(KF6Crash)
+BuildRequires:  cmake(KF6I18n)
+BuildRequires:  cmake(KF6IconThemes)
+BuildRequires:  cmake(KF6Notifications)
+BuildRequires:  cmake(KF6NotifyConfig)
+BuildRequires:  cmake(KF6XmlGui)
+BuildRequires:  cmake(KF6WidgetsAddons)
+BuildRequires:  cmake(KF6DocTools)
+BuildRequires:  cmake(KDEGames6)
 BuildRequires:  desktop-file-utils
 BuildRequires:  libappstream-glib
 
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
 Requires:       hicolor-icon-theme
-# https://pagure.io/fedora-kde/SIG/issue/378
-Requires:       kde-filesystem
 
 # no KDE4 port, was last built for KDE3
 Conflicts:      kdegames3 < 3.5.10-47
 
+# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
+ExcludeArch:    %{ix86}
+
 %description
 Purpose of the Atlantic board game is to acquire land in major cities in
 North America and Europe while being a transatlantic traveller. One of the
@@ -83,7 +79,7 @@ Obsoletes:      kdegames3-devel < 3.5.10-47
 
 
 %build
-%cmake_kf5
+%cmake_kf6
 %cmake_build
 
 
@@ -94,30 +90,30 @@ Obsoletes:      kdegames3-devel < 3.5.10-47
 
 
 %check
-desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/%{app_id}.desktop
-appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/%{app_id}.appdata.xml
+desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/%{app_id}.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_kf6_metainfodir}/%{app_id}.appdata.xml
 
 
 %files -f %{name}.lang
 %license COPYING
 %doc ChangeLog README.md TODO
-%{_kf5_bindir}/atlantik
-%{_kf5_datadir}/%{name}/
-%{_kf5_datadir}/applications/%{app_id}.desktop
-%{_kf5_datadir}/icons/hicolor/*/apps/atlantik.*
-%{_kf5_datadir}/knotifications5/atlantik.notifyrc
-%{_kf5_datadir}/qlogging-categories5/atlantik.categories
-%{_kf5_mandir}/man6/atlantik.6*
-%{_kf5_metainfodir}/%{app_id}.appdata.xml
+%{_kf6_bindir}/atlantik
+%{_kf6_datadir}/%{name}/
+%{_kf6_datadir}/applications/%{app_id}.desktop
+%{_kf6_datadir}/icons/hicolor/*/apps/atlantik.*
+%{_kf6_datadir}/knotifications6/atlantik.notifyrc
+%{_kf6_datadir}/qlogging-categories6/atlantik.categories
+%{_kf6_mandir}/man6/atlantik.6*
+%{_kf6_metainfodir}/%{app_id}.appdata.xml
 
 %files libs
 %license COPYING.LIB
-%{_kf5_libdir}/libatlanti[ck]*.so.5{,.*}
+%{_kf6_libdir}/libatlanti[ck]*.so.5{,.*}
 
 %files devel
 %{_includedir}/atlanti[ck]/
-%{_kf5_libdir}/cmake/Atlantik/
-%{_kf5_libdir}/libatlanti[ck]*.so
+%{_kf6_libdir}/cmake/Atlantik/
+%{_kf6_libdir}/libatlanti[ck]*.so
 
 
 %changelog

diff --git a/sources b/sources
index dee621a..f8bef12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (atlantik-688c8fcc65d36e9698b7662b4c0610d1a79c8188.tar.bz2) = 85ccd24ae3cbcc3aa1450a3de2afbc3a94e310c732a8391e77d45fecbd6dd05ee0c86be8d9050b4cc47a5463ca6ddcd21ae80a1692440ee48092ebba2f953f72
+SHA512 (atlantik-9bf030650b62f919f01247973132a081d209c029.tar.bz2) = 0794d339185bf71628e60fbaf25c2ce7f9cfde76d84f7a147619e539cde56d5b3628b8078b77d75a56d60157bd0a7cbef82ad3dac182146c440492243213ff86

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-04 17:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-04 17:37 [rpms/atlantik] epel10: Migrate to KF6 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox