SonicDE-rpmspecs/kamera/kamera.spec

77 lines
1.8 KiB
RPMSpec
Raw Normal View History

Fix dnf upgrade --allowerasing errors with EPEL packages Fix 4 errors that occurred when running dnf upgrade --allowerasing on a system with EPEL KDE packages installed: 1. plasma-discover: Fix typo "sonic-desktop-interface)" -> "sonic-desktop-interface" in Requires (stray closing parenthesis in spec) 2. sonic-frameworks-sso: Remove Obsoletes for signon and signon-qt6. The SonicDE SSO package provides libsignon-qt6.so.0 while the EPEL signon-qt6 provides libsignon-qt6.so.1. Obsoleting signon-qt6 breaks accounts-qml-module-qt6 and signon-plugin-oauth2 which need .so.1. Both packages can coexist since they install different .so versions. 3. sonic-terminal-tools: Change kdesu dependency from strict version match (= 1:6.7.4-3) to >= 1:6.7.4 so it works with any kdesu 6.7.4 release. Also add Obsoletes for kdesu < 1:6.7.4-2.el10 in the kdesu subpackage so it properly replaces the old EPEL kdesu from kde-cli-tools. 4. kamera: Add kamera package with Requires changed from kde-cli-tools to sonic-terminal-tools. The EPEL kamera requires kde-cli-tools which is obsoleted by sonic-terminal-tools, causing a circular dependency resolution failure. 5. skanpage: Change Requires from kquickimageeditor-qt6 (obsoleted by sonic-quick-image-editor-qt6) to sonic-quick-image-editor-qt6. Result: dnf upgrade --allowerasing --best from standard EPEL KDE now completes with 0 errors and 0 package removals. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-27 17:49:20 +00:00
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
Name: kamera
Summary: Digital camera support for KDE
Version: 26.04.3
Release: 1%{?dist}
Fix dnf upgrade --allowerasing errors with EPEL packages Fix 4 errors that occurred when running dnf upgrade --allowerasing on a system with EPEL KDE packages installed: 1. plasma-discover: Fix typo "sonic-desktop-interface)" -> "sonic-desktop-interface" in Requires (stray closing parenthesis in spec) 2. sonic-frameworks-sso: Remove Obsoletes for signon and signon-qt6. The SonicDE SSO package provides libsignon-qt6.so.0 while the EPEL signon-qt6 provides libsignon-qt6.so.1. Obsoleting signon-qt6 breaks accounts-qml-module-qt6 and signon-plugin-oauth2 which need .so.1. Both packages can coexist since they install different .so versions. 3. sonic-terminal-tools: Change kdesu dependency from strict version match (= 1:6.7.4-3) to >= 1:6.7.4 so it works with any kdesu 6.7.4 release. Also add Obsoletes for kdesu < 1:6.7.4-2.el10 in the kdesu subpackage so it properly replaces the old EPEL kdesu from kde-cli-tools. 4. kamera: Add kamera package with Requires changed from kde-cli-tools to sonic-terminal-tools. The EPEL kamera requires kde-cli-tools which is obsoleted by sonic-terminal-tools, causing a circular dependency resolution failure. 5. skanpage: Change Requires from kquickimageeditor-qt6 (obsoleted by sonic-quick-image-editor-qt6) to sonic-quick-image-editor-qt6. Result: dnf upgrade --allowerasing --best from standard EPEL KDE now completes with 0 errors and 0 package removals. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-27 17:49:20 +00:00
# Automatically converted from old format: GPLv2 - review is highly recommended.
License: GPL-2.0-only
URL: https://www.kde.org/applications/graphics/
Source0: kamera-%{version}.tar.xz
BuildRequires: sonic-frameworks-cmake-modules
BuildRequires: sonic-rpm-macros
Fix dnf upgrade --allowerasing errors with EPEL packages Fix 4 errors that occurred when running dnf upgrade --allowerasing on a system with EPEL KDE packages installed: 1. plasma-discover: Fix typo "sonic-desktop-interface)" -> "sonic-desktop-interface" in Requires (stray closing parenthesis in spec) 2. sonic-frameworks-sso: Remove Obsoletes for signon and signon-qt6. The SonicDE SSO package provides libsignon-qt6.so.0 while the EPEL signon-qt6 provides libsignon-qt6.so.1. Obsoleting signon-qt6 breaks accounts-qml-module-qt6 and signon-plugin-oauth2 which need .so.1. Both packages can coexist since they install different .so versions. 3. sonic-terminal-tools: Change kdesu dependency from strict version match (= 1:6.7.4-3) to >= 1:6.7.4 so it works with any kdesu 6.7.4 release. Also add Obsoletes for kdesu < 1:6.7.4-2.el10 in the kdesu subpackage so it properly replaces the old EPEL kdesu from kde-cli-tools. 4. kamera: Add kamera package with Requires changed from kde-cli-tools to sonic-terminal-tools. The EPEL kamera requires kde-cli-tools which is obsoleted by sonic-terminal-tools, causing a circular dependency resolution failure. 5. skanpage: Change Requires from kquickimageeditor-qt6 (obsoleted by sonic-quick-image-editor-qt6) to sonic-quick-image-editor-qt6. Result: dnf upgrade --allowerasing --best from standard EPEL KDE now completes with 0 errors and 0 package removals. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-27 17:49:20 +00:00
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: cmake(KF6ConfigWidgets)
BuildRequires: cmake(KF6XmlGui)
BuildRequires: cmake(KF6KIO)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6Config)
BuildRequires: cmake(KF6KCMUtils)
BuildRequires: cmake(KF6DocTools)
BuildRequires: pkgconfig(libgphoto2)
Requires: sonic-terminal-tools
%description
%{summary}.
%prep
%autosetup -p1
%build
%cmake_kf6
%cmake_build
%install
%cmake_install
%find_lang %{name} --all-name --with-html
%check
desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/kcm_%{name}.desktop
appstream-util validate-relax --nonet %{buildroot}%{_kf6_metainfodir}/org.kde.%{name}.metainfo.xml
%files -f %{name}.lang
%doc AUTHORS README
%license LICENSES/*.txt
%{_kf6_datadir}/applications/kcm_%{name}.desktop
%{_kf6_datadir}/solid/actions/solid_camera.desktop
%{_kf6_datadir}/qlogging-categories6/%{name}.categories
%{_kf6_qtplugindir}/plasma/kcms/systemsettings_qwidgets/kcm_%{name}.so
%{_kf6_metainfodir}/org.kde.%{name}.metainfo.xml
%{_kf6_plugindir}/kio/kio_%{name}.so
%changelog
* Thu Aug 27 2026 SonicDE <dev@sonicde.org> - 26.04.3-1
- Update to 26.04.3
Fix dnf upgrade --allowerasing errors with EPEL packages Fix 4 errors that occurred when running dnf upgrade --allowerasing on a system with EPEL KDE packages installed: 1. plasma-discover: Fix typo "sonic-desktop-interface)" -> "sonic-desktop-interface" in Requires (stray closing parenthesis in spec) 2. sonic-frameworks-sso: Remove Obsoletes for signon and signon-qt6. The SonicDE SSO package provides libsignon-qt6.so.0 while the EPEL signon-qt6 provides libsignon-qt6.so.1. Obsoleting signon-qt6 breaks accounts-qml-module-qt6 and signon-plugin-oauth2 which need .so.1. Both packages can coexist since they install different .so versions. 3. sonic-terminal-tools: Change kdesu dependency from strict version match (= 1:6.7.4-3) to >= 1:6.7.4 so it works with any kdesu 6.7.4 release. Also add Obsoletes for kdesu < 1:6.7.4-2.el10 in the kdesu subpackage so it properly replaces the old EPEL kdesu from kde-cli-tools. 4. kamera: Add kamera package with Requires changed from kde-cli-tools to sonic-terminal-tools. The EPEL kamera requires kde-cli-tools which is obsoleted by sonic-terminal-tools, causing a circular dependency resolution failure. 5. skanpage: Change Requires from kquickimageeditor-qt6 (obsoleted by sonic-quick-image-editor-qt6) to sonic-quick-image-editor-qt6. Result: dnf upgrade --allowerasing --best from standard EPEL KDE now completes with 0 errors and 0 package removals. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-27 17:49:20 +00:00
- Change Requires from kde-cli-tools to sonic-terminal-tools
* Sun Mar 08 2026 Steve Cossette <farchord@gmail.com> - 25.12.3-1
- 25.12.3