File plasma6-print-manager.spec of Package plasma6-print-manager
#
# spec file for package plasma6-print-manager
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 24.9.90 Raymond Wooninck <tittiatcoke@gmail.com>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define kf6_version 6.18.0
%define qt6_version 6.9.0
%define rname print-manager
# Full Plasma 6 version (e.g. 6.0.0)
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
%bcond_without released
Name: plasma6-print-manager
Version: 6.5.3
Release: kf.78.1
Summary: Tools for managing print jobs and printers
License: GPL-2.0-or-later
URL: https://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
BuildRequires: cups-devel >= 2.4
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: system-config-printer-dbus-service
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6KirigamiAddons)
BuildRequires: cmake(KF6KirigamiPlatform) >= %{kf6_version}
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
BuildRequires: cmake(Plasma) >= %{_plasma6_bugfix}
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
Requires: kf6-kirigami-imports >= %{kf6_version}
Requires: kirigami-addons6 >= 0.10
Requires: system-config-printer-dbus-service
Recommends: samba-client
Obsoletes: print-manager5 < %{version}
Provides: print-manager5 = %{version}
# 23.08.4 in factory, 24.04.70git(+date) in unstable repo
Provides: kde-print-manager = 24.05
Obsoletes: kde-print-manager < 24.05
Obsoletes: kde-print-manager-lang < 24.05
Provides: dbus(com.redhat.NewPrinterNotification)
%description
plasma6-print-manager provides tools for managing print jobs and printers.
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6 \
-DQT_QML_NO_CACHEGEN:BOOL=TRUE
%kf6_build
%install
%kf6_install
%find_lang %{name} --all-name
%ldconfig_scriptlets
%files
%license LICENSES/*
%doc README.md
%{_kf6_applicationsdir}/kcm_printer_manager.desktop
%{_kf6_applicationsdir}/org.kde.ConfigurePrinter.desktop
%{_kf6_applicationsdir}/org.kde.PrintQueue.desktop
%{_kf6_appstreamdir}/org.kde.print-manager.metainfo.xml
%{_kf6_bindir}/configure-printer
%{_kf6_bindir}/kde-print-queue
%{_kf6_debugdir}/pmlogs.categories
%{_kf6_libdir}/libkcups.so
%{_kf6_notificationsdir}/printmanager.notifyrc
%{_kf6_plugindir}/kf6/kded/printmanager.so
%{_kf6_plugindir}/plasma/applets/org.kde.plasma.printmanager.so
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_printer_manager.so
%{_kf6_qmldir}/org/kde/plasma/printmanager/
%files lang -f %{name}.lang
%changelog
* Tue Nov 18 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.5.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.5.3
- Changes since 6.5.2:
* Update version for new release 6.5.3
* Tue Nov 4 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.5.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.5.2
- Changes since 6.5.1:
* Update version for new release 6.5.2
* Tue Oct 28 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.5.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.5.1
- Changes since 6.5.0:
* Update version for new release 6.5.1
* Mon Oct 27 2025 Bernhard Wiedemann <bwiedemann@suse.com>
- Pass '-DQT_QML_NO_CACHEGEN:BOOL=TRUE' to CMake to make builds
reproducible (boo#1248369)
* Thu Oct 16 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.5.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.5.0
- Changes since 6.4.91:
* Update version for new release 6.5.0
* libkcups: Fix call to datetime create from CUPS (kde#427632)
* Thu Oct 2 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.91:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.4.91
- Changes since 6.4.90:
* Update version for new release 6.4.91
* kded: Refactor sanity check on the marker levels/boundaries
* Tue Sep 23 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.4.90
- Changes since 6.4.5:
* Update version for new release 6.4.90
* kded: Fix marker levels check when there is only one marker
* kcm: Don't try to set marker levels model for printer class (group)
* libkcups: Fix marker levels in printer model for a single marker (kde#509307)
* libkcups: Remove version and rename to "libkcups"
* kcm/qml: Use proper operators
* kded: Make marker level check work only on job-created
* kded,docs: Make the kded module description more accurate
* kded: Minor clean ups
* kded: Add marker levels checker class
* Drop reference to nonexistant BUILD_QT5 option in README
* kcm/qml: Modernize qml for qualified property access
* kcm/qml: Minor clean-up of "find printer" placeholder messages
* kcm/qml: Adapt modules to use FindPrinter module as a kcm page
* kcm/qml: Clean up device components formatting and sizing for kcm page
* kcm/qml: Port FindPrinter module from dialog to KCM page (kde#506630)
* libkcups/DeviceModel: Remove line breaks from device descriptions
* plasmoid: Use new "plasma_add_applet" infrastructure
* kcm: Handle the CUPS service being unavailable
* configure-printer: Fix dbus activate on helper dialog
* [libkcups/printqueue/config] Remove unneeded dependencies
* plasmoid: Make configure action use KCM configure
* Drop no longer necessary KF6IconThemes dependency
* RequestActivate on the printer manager helper dialog windows
* update version for new release
* Sat Sep 13 2025 Christophe Marin <christophe@krop.fr>
- Update file list after KDE Frameworks 6.18 release
* Tue Sep 9 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.4.5
- Changes since 6.4.4:
* Update version for new release 6.4.5
* Wed Aug 6 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.4.4
- Changes since 6.4.3:
* Update version for new release 6.4.4
* Tue Jul 15 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.4.3
- Changes since 6.4.2:
* Update version for new release 6.4.3
* Tue Jul 1 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.4.2
- Changes since 6.4.1:
* Update version for new release 6.4.2
* Tue Jun 24 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.4.1
- Changes since 6.4.0:
* Update version for new release 6.4.1
* configure-printer: Fix dbus activate on helper dialog
* [libkcups/printqueue/config] Remove unneeded dependencies
* plasmoid: Make configure action use KCM configure
* Thu Jun 12 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.4.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.4.0
- Changes since 6.3.91:
* Update version for new release 6.4.0
* Drop no longer necessary KF6IconThemes dependency
* Thu May 29 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.91:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.91
- Changes since 6.3.90:
* Update version for new release 6.3.91
* RequestActivate on the printer manager helper dialog windows
* Mon May 19 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.3.90
- Too many changes to list here
* Tue May 6 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.5
- Changes since 6.3.4:
* update version for new release
* kcm: When adding a printer/group, allow the ability to set as default
* Revert "kcm: don't assign undefined to component"
* update version for new release
* Wed Apr 2 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.3.4
* New bugfix release
* For more details please see:
* https://kde.org/announcements/plasma/6/6.3.4
- Changes since 6.3.3:
* libkcups/KCupsConnection: connect existing signal
* update version for new release
* Tue Mar 11 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.3
- Changes since 6.3.2:
* update version for new release
* kcm: don't assign undefined to component
* update version for new release
* Tue Feb 25 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.2
- Changes since 6.3.1:
* update version for new release
* Tue Feb 18 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.1
- Changes since 6.3.0:
* update version for new release
* Thu Feb 6 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.0
- Changes since 6.2.91:
* update version for new release
* kcm: Keep header "Add" action visible when space-limited
* Thu Jan 23 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.91:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.91
- Changes since 6.2.90:
* update version for new release
* Sat Jan 11 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.2.90
- Too many changes to list here
- Drop patch, cups >= 2.4 is now actually required:
* 0001-Revert-Require-CUPS-version-2.4.x.patch
* Tue Dec 31 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.5
- Changes since 6.2.4:
* update version for new release
* Tue Nov 26 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.4
- Changes since 6.2.3:
* update version for new release
* DevicesModel: Register QList of QStringList to DBus
* update version for new release
* Tue Nov 5 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.3
- Changes since 6.2.2:
* update version for new release
* Tue Oct 22 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.2
- Changes since 6.2.1:
* update version for new release
* Tue Oct 15 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.1
- Changes since 6.2.0:
* update version for new release
* Sat Oct 5 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.0
- Changes since 6.1.90:
* update version for new release
* JobModel: Fix total pages count
* Tue Sep 17 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.1.90
- Changes since 6.1.5:
* update version for new release
* Don't include quiet packages in feature_summary
* Remove virtual keyword when we use override
* plasmoid: Remove dead code (JobsModel)
* Make "Add Printer" button confirm to HIG
* appstream versions
* kcm/[core,qml]: Cleanup Manual Config/Remote printer search (kde#488097)
* kcm/qml: Fix return value for JS url
* kcm/[core/qml]: Fix manual PPD file add/change
* kcm/qml: Port header InlineMessage to frameless style
* update version for new release
* Tue Sep 10 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.5
- Changes since 6.1.4:
* update version for new release
* Tue Aug 6 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.4
- Changes since 6.1.3:
* update version for new release
* Tue Jul 16 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.3
- Changes since 6.1.2:
* update version for new release
* plasmoid: Remove dead code (JobsModel)
* update version for new release
* Tue Jul 2 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.2
- Changes since 6.1.1:
* update version for new release
* Tue Jun 25 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.1
- Changes since 6.1.0:
* update version for new release
* Thu Jun 13 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.0
- Changes since 6.0.90:
* update version for new release
* appstream versions
* update version for new release
* kcm/qml: Fix return value for JS url
* kcm/[core/qml]: Fix manual PPD file add/change
* Sat May 25 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.0.90
- Too many changes to list here
- Add patch to fix build with older CUPS, the newer version isn't
actually needed yet:
* 0001-Revert-Require-CUPS-version-2.4.x.patch
* Wed May 22 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.5
- Changes since 6.0.4:
* revert dup version
* update version for new release
* plasmoid: Use KItemModels SFPM
* Wed Apr 17 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.4
- Changes since 6.0.3:
* update version for new release
* kcm: Fix kcm shows a blank main display after removing a printer
* kcm/qml: Fix non-scrollable Printer Settings page
* libkcups/DeviceModel: Use better user-facing terminology
* kcm/FindPrinter: Fix for both types of manual printer setup
* kcm/FindPrinter: Fix manual driver selection for direct devices
* kcm/qml: Remove PlasmaComponents imports
* kcm/FindPrinter: Fix connection list highlight
* kcm/qml: Remove PlasmaComponents3
* kcm/MakeModel: Remove PlasmaComponents/PlasmaExtras
* kcm/Drivers: Fix double highlighted list item
* kcm/BaseDevice: Add Banner and uri helpers
* kcm: Fix constraint on make/model (driver) selection dialog
* kcm/FindPrinter: Fix double highlighted list item
* kcm: Add a debug; Use the CUPS printer-uri
* revert premature appstream update
* update version for new release
* kcm: Handle recommended drivers not found scenario (kde#482409)
* update version for new release
* Tue Mar 26 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.3
- Changes since 6.0.2:
* revert duplicate appstream update
* update version for new release
* Wed Mar 13 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.2
- Changes since 6.0.1:
* update version for new release
* Wed Mar 6 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.1
- Changes since 6.0.0:
* update version for new release
* Mon Mar 4 2024 Christophe Marin <christophe@krop.fr>
- Add Provides/Obsoletes to replace Plasma 5
* Wed Feb 21 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.0:
* New bugfix release
* Release announcement not available yet
- Changes since 5.93.0:
* update version for new release
* [applet] fix search field color in Breeze Twilight
* remove old releases to allow appstream test to pass, we know this is a renumbering
* update version for new release
* Wed Jan 31 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.93.0 (6.0 RC 2):
* New bugfix release
* See https://kde.org/announcements/megarelease/6/rc2/ for details
- Changes since 5.92.0:
* RC 1 version dep
* add a version for dependencies so it does not break CI https://invent.kde.org/plasma/bluedevil/-/merge_requests/156
* Drop kirigami-addons dependency
* Remove extraFooterTopPadding usage
* Wed Jan 17 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.92.0 (6.0 RC 1)
* For more details please see:
https://kde.org/announcements/megarelease/6/rc1/
* Mon Nov 6 2023 Christophe Marin <christophe@krop.fr>
- Init plasma6-print-manager