File cups-pk-helper.spec of Package cups-pk-helper

# spec file for package cups-pk-helper
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

Name:           cups-pk-helper
Version:        0.2.6
Release:        0
Summary:        PolicyKit helper to configure cups with fine-grained privileges
License:        GPL-2.0+
Group:          Hardware/Printing
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  cups-devel
# For directory ownership
BuildRequires:  dbus-1
BuildRequires:  glib2-devel
BuildRequires:  intltool
BuildRequires:  polkit-devel
# Without cups installed, the cups-pk-helper-mechanism gives error: CRITICAL **: Failed to connect to cupsd
Requires:       cups
Recommends:     %{name}-lang

This package provides a PolicyKit helper to configure cups with
fine-grained privileges. For example, it's possible to let users
enable/disable printers without requiring a password, while still
requiring a password for editing printer settings.

%setup -q

make %{?_smp_mflags}

%find_lang %{name}


%files lang -f %{name}.lang

openSUSE Build Service is sponsored by