Some checks failed
Build RPMs / build (push) Has been cancelled
Add 8 new packages built from upstream KDE sources at versions matching the rest of SonicDE (Gear 26.04.3, Plasma 6.7.4): - colord-kde 26.04.3 - dolphin-plugins 26.04.3 - filelight 26.04.3 - kde-gtk-config 6.7.4 - kde-inotify-survey 26.04.3 - ksanecore 26.04.3 (dependency for skanpage) - plasma-discover 6.7.4 (with snap backend disabled) - skanpage 26.04.3 These packages replace the EPEL versions and use SonicDE dependencies instead of kf6-*/plasma-* packages, ensuring they are upgraded (not removed) when SonicDE is installed alongside EPEL KDE. Fix EPEL dependencies in existing SonicDE packages that caused packages to be removed during dnf upgrade --allowerasing: - sonic-desktop-interface: kde-cli-tools -> sonic-terminal-tools, kmenuedit -> sonic-launcher-menu-edit, kwrited -> sonic-write-daemon, signon-plugin-oauth2 and plasma-systemsettings changed to Recommends - sonic-workspace: kio-fuse -> sonic-frameworks-io-fuse, polkit-kde -> sonic-polkit-agent, xdg-desktop-portal-kde -> xdg-desktop-portal-sonicde, plasma-keyboard and kde-settings-plasma changed to Recommends - sonic-workspace-addons: kf6-plasma -> sonic-interface-libraries - kde-gtk-config: breeze-gtk-common -> sonic-silver-gtk-common - sonic-login-manager: kde-settings-plasma changed to Recommends - kcm-soniclogin: plasma-systemsettings changed to Recommends - sonic-rpm-macros: kde-qdoc-common changed to Recommends - sonic-welcome-center: add Obsoletes for plasma-welcome Also includes Obsoletes/Provides fixes across all spec files for proper EPEL package replacement, and Conflicts tag removal from spec files. Result: dnf upgrade --allowerasing from standard EPEL KDE removes 0 packages. dnf install of SonicDE packages installs 195 packages with 0 removals. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
109 lines
3.8 KiB
RPMSpec
109 lines
3.8 KiB
RPMSpec
# Generated for SonicDE from Fedora's kde-partitionmanager.spec.
|
|
# SonicDE is a hard fork of KDE Plasma; the sources come from the
|
|
# https://github.com/Sonic-DE/sonic-partition-manager fork, not from download.kde.org.
|
|
%define _disable_source_fetch 0
|
|
%define debug_package %{nil}
|
|
%global reponame sonic-partition-manager
|
|
# Upstream KDE project: partitionmanager
|
|
%global oldname kde-partitionmanager
|
|
|
|
%global base_name partitionmanager
|
|
|
|
%global kf6min 5.240.0
|
|
%global qt6min 6.5.0
|
|
%global kpmcoremin 24.01
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
|
ExcludeArch: %{ix86}
|
|
|
|
#Name: kde-partitionmanager
|
|
Name: sonic-partition-manager
|
|
Version: 26.04.3
|
|
Release: 3%{?dist}
|
|
Summary: KDE Partition Manager
|
|
|
|
License: GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND CC-BY-4.0 AND CC0-1.0 AND GFDL-1.2-or-later
|
|
#URL: https://apps.kde.org/partitionmanager/
|
|
URL: https://github.com/Sonic-DE/%{reponame}
|
|
#Source0: https://download.kde.org/%%{stable_kf6}/release-service/%%{version}/src/partitionmanager-%%{version}.tar.xz
|
|
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{reponame}-%{version}.tar.gz
|
|
|
|
BuildRequires: cmake >= 3.16
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: sonic-frameworks-cmake-modules
|
|
BuildRequires: gettext
|
|
BuildRequires: sonic-rpm-macros
|
|
BuildRequires: libappstream-glib
|
|
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6min}
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6min}
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6min}
|
|
|
|
BuildRequires: cmake(KF6Config) >= %{kf6min}
|
|
BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6min}
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6min}
|
|
BuildRequires: cmake(KF6Crash) >= %{kf6min}
|
|
BuildRequires: cmake(KF6DBusAddons) >= %{kf6min}
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6min}
|
|
BuildRequires: cmake(KF6JobWidgets) >= %{kf6min}
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6min}
|
|
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6min}
|
|
BuildRequires: cmake(KF6WindowSystem) >= %{kf6min}
|
|
BuildRequires: cmake(KF6XmlGui) >= %{kf6min}
|
|
BuildRequires: cmake(KF6DocTools) >= %{kf6min}
|
|
|
|
BuildRequires: cmake(PolkitQt6-1)
|
|
BuildRequires: cmake(KPMcore) >= %{kpmcoremin}
|
|
|
|
Requires: kf6-filesystem
|
|
|
|
Provides: kde-partitionmanager%{?_isa} = %{version}-%{release}
|
|
Obsoletes: kde-partitionmanager < %{version}-%{release}
|
|
|
|
%description
|
|
KDE Partition Manager is a utility program to help you manage the disk devices,
|
|
partitions and file systems on your computer. It allows you to easily create,
|
|
copy, move, delete, resize without losing data, backup and restore partitions.
|
|
|
|
KDE Partition Manager supports a large number of file systems,
|
|
including ext2/3/4, reiserfs, NTFS, FAT16/32, jfs, xfs and more.
|
|
|
|
Starting from version 1.9.50 KDE Partition Manager has become the GUI part of
|
|
KPMcore (KDE PartitionManager core) which contain the libraries used to
|
|
manipulate filesystems.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{reponame}-%{version}
|
|
sed -i 's/set(KPMCORE_MIN_VERSION.*/set(KPMCORE_MIN_VERSION "25.12")/' CMakeLists.txt
|
|
|
|
|
|
%build
|
|
%cmake_kf6
|
|
%cmake_build
|
|
|
|
|
|
%install
|
|
%cmake_install
|
|
%find_lang partitionmanager --with-kde --with-html
|
|
|
|
%check
|
|
# Validate .desktop file
|
|
desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/*partitionmanager.desktop
|
|
# Validate appdata file
|
|
appstream-util validate-relax --nonet %{buildroot}%{_kf6_metainfodir}/*.appdata.xml
|
|
|
|
|
|
%files -f partitionmanager.lang
|
|
%license LICENSES/*
|
|
%{_kf6_bindir}/partitionmanager
|
|
%{_kf6_datadir}/applications/*partitionmanager.desktop
|
|
%{_kf6_datadir}/solid/actions/open_in_partitionmanager.desktop
|
|
%{_kf6_datadir}/config.kcfg/partitionmanager.kcfg
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
%{_kf6_metainfodir}/*partitionmanager.appdata.xml
|
|
|
|
%changelog
|
|
* Mon Aug 24 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 26.04.3-1
|
|
- SonicDE hard fork build for Enterprise Linux 10 and Fedora
|