2015-03-21 15:47:14 +00:00
|
|
|
#
|
|
|
|
# spec file for package kde-print-manager
|
|
|
|
#
|
2023-03-02 14:20:57 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-03-21 15:47:14 +00:00
|
|
|
# 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.
|
|
|
|
|
2018-10-12 08:44:51 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-03-21 15:47:14 +00:00
|
|
|
#
|
|
|
|
|
2019-09-06 10:14:05 +00:00
|
|
|
|
2019-08-15 14:00:31 +00:00
|
|
|
%define rname print-manager
|
2022-01-06 12:44:35 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:44:32 +00:00
|
|
|
Name: kde-print-manager
|
2023-04-03 10:26:12 +00:00
|
|
|
Version: 23.03.90
|
2018-11-24 23:44:32 +00:00
|
|
|
Release: 0
|
2021-04-19 13:30:54 +00:00
|
|
|
Summary: Tools for managing print jobs and printers
|
2018-03-10 12:10:40 +00:00
|
|
|
License: GPL-2.0-or-later
|
2019-08-15 14:00:31 +00:00
|
|
|
URL: https://www.kde.org
|
2023-03-20 08:51:41 +00:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 12:44:35 +00:00
|
|
|
%if %{with released}
|
2023-03-20 08:51:41 +00:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 13:30:54 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2015-03-21 15:47:14 +00:00
|
|
|
BuildRequires: cups
|
|
|
|
BuildRequires: cups-backends
|
|
|
|
BuildRequires: cups-client
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: cups-pk-helper
|
|
|
|
BuildRequires: extra-cmake-modules
|
2015-05-21 18:49:13 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 11:39:21 +00:00
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5Plasma)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Designer)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2015-05-30 13:40:35 +00:00
|
|
|
Conflicts: kde4-print-manager
|
2016-12-03 14:36:31 +00:00
|
|
|
Obsoletes: kde4-print-manager < %{version}
|
2015-04-27 10:55:29 +00:00
|
|
|
Obsoletes: print-manager5 < %{version}
|
|
|
|
Provides: print-manager5 = %{version}
|
2017-08-16 13:07:38 +00:00
|
|
|
Provides: dbus(com.redhat.NewPrinterNotification)
|
2015-03-21 15:47:14 +00:00
|
|
|
|
|
|
|
%description
|
2021-04-19 13:30:54 +00:00
|
|
|
kde-print-manager provides tools for managing print jobs and printers.
|
2015-03-21 15:47:14 +00:00
|
|
|
|
2017-04-15 13:28:11 +00:00
|
|
|
%lang_package
|
|
|
|
|
2015-03-21 15:47:14 +00:00
|
|
|
%prep
|
2021-04-19 13:30:54 +00:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2015-03-21 15:47:14 +00:00
|
|
|
|
2016-12-03 14:36:31 +00:00
|
|
|
%build
|
2022-11-17 22:58:14 +00:00
|
|
|
%cmake_kf5 -d build -- -DCUPS_INCLUDE_DIR=%{_includedir}/cups
|
|
|
|
%cmake_build
|
2015-03-21 15:47:14 +00:00
|
|
|
|
|
|
|
%install
|
2022-11-17 22:58:14 +00:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
|
|
|
|
%suse_update_desktop_file -r org.kde.PrintQueue Utility DesktopUtility
|
|
|
|
%suse_update_desktop_file -r org.kde.kde-add-printer Utility DesktopUtility
|
2015-03-21 15:47:14 +00:00
|
|
|
|
2023-03-02 14:20:57 +00:00
|
|
|
%ldconfig_scriptlets
|
2015-03-21 15:47:14 +00:00
|
|
|
|
|
|
|
%files
|
2021-07-27 09:35:43 +00:00
|
|
|
%license LICENSES/*
|
2018-11-24 23:44:32 +00:00
|
|
|
%doc README
|
2017-08-11 22:55:28 +00:00
|
|
|
%dir %{_kf5_plasmadir}/plasmoids
|
2020-03-28 13:57:17 +00:00
|
|
|
%dir %{_kf5_plugindir}/kf5
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kded
|
2022-03-29 06:44:28 +00:00
|
|
|
%dir %{_kf5_plugindir}/plasma
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets
|
|
|
|
%{_kf5_applicationsdir}/kcm_printer_manager.desktop
|
2017-08-11 22:55:28 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.ConfigurePrinter.desktop
|
|
|
|
%{_kf5_applicationsdir}/org.kde.PrintQueue.desktop
|
2020-03-28 13:57:17 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kde-add-printer.desktop
|
2017-08-11 22:55:28 +00:00
|
|
|
%{_kf5_appstreamdir}/org.kde.plasma.printmanager.appdata.xml
|
2019-11-29 11:39:21 +00:00
|
|
|
%{_kf5_appstreamdir}/org.kde.print-manager.metainfo.xml
|
2015-03-21 15:47:14 +00:00
|
|
|
%{_kf5_bindir}/configure-printer
|
|
|
|
%{_kf5_bindir}/kde-add-printer
|
2017-08-11 22:55:28 +00:00
|
|
|
%{_kf5_bindir}/kde-print-queue
|
2015-03-21 15:47:14 +00:00
|
|
|
%{_kf5_libdir}/libkcupslib.so*
|
2017-08-11 22:55:28 +00:00
|
|
|
%{_kf5_notifydir}/printmanager.notifyrc
|
|
|
|
%{_kf5_plasmadir}/plasmoids/org.kde.plasma.printmanager/
|
2020-03-28 13:57:17 +00:00
|
|
|
%{_kf5_plugindir}/kf5/kded/printmanager.so
|
2022-03-29 06:44:28 +00:00
|
|
|
%{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_printer_manager.so
|
2015-03-21 15:47:14 +00:00
|
|
|
%{_kf5_qmldir}/org/kde/plasma/printmanager/
|
|
|
|
|
2017-04-15 13:28:11 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2015-03-21 15:47:14 +00:00
|
|
|
%changelog
|