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

#
# spec file for package cups-pk-helper (Version 0.0.4)
#
# Copyright (c) 2009 SUSE LINUX Products 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           cups-pk-helper
License:        GPL v2 or later
Group:          Hardware/Printing
Version:        0.0.4
Release:        1
Summary:        PolicyKit helper to configure cups with fine-grained privileges
Url:            http://www.vuntz.net/download/cups-pk-helper/
Source0:        http://www.vuntz.net/download/cups-pk-helper/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  PolicyKit-devel
BuildRequires:  cups-devel
# For directory ownership
BuildRequires:  dbus-1
BuildRequires:  dbus-1-glib-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool

%description
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.



Authors:
--------
    Vincent Untz <vuntz@novell.com>

%prep
%setup -q

%build
%configure --libexecdir=%{_libdir}/cups-pk-helper
%__make %{?jobs:-j%jobs}

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS
%{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
%{_libdir}/cups-pk-helper
%{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
%{_datadir}/PolicyKit/policy/org.opensuse.cupspkhelper.mechanism.policy

%changelog
* Wed Mar 04 2009 vuntz@novell.com
- Update to version 0.0.4:
  + Remove bare send_interface lines in the DBus rules.
  + Add job related functions.
  + Reconnect to the cups server if necessary.
  + Accept file: URI as local.
  + Change default policy for job-edit to yes (jobs are owned by
  the user).
  + Add more checks for the new job-related functions.
  + Code cleanups.
- Drop cups-pk-helper-bnc468389-dbus-send-dest.patch: fixed
  upstream.
* Sat Feb 21 2009 vuntz@novell.com
- Split from system-config-printer.
openSUSE Build Service is sponsored by