2009-01-20 12:30:21 +00:00
|
|
|
Name: cups-pk-helper
|
|
|
|
Version: 0.0.3
|
2009-02-13 11:37:16 +00:00
|
|
|
Release: 4%{?dist}
|
2009-01-20 12:30:21 +00:00
|
|
|
Summary: A helper that makes system-config-printer use PolicyKit
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.vuntz.net/download/cups-pk-helper/
|
|
|
|
Source0: http://www.vuntz.net/download/cups-pk-helper/cups-pk-helper-%{version}.tar.bz2
|
|
|
|
|
|
|
|
Patch0: dependencies.patch
|
2009-01-26 13:24:30 +00:00
|
|
|
Patch1: pk_order.patch
|
2009-01-28 12:08:31 +00:00
|
|
|
Patch2: pk_jobs.patch
|
2009-02-13 11:37:16 +00:00
|
|
|
Patch3: cph_reconnect.patch
|
2009-01-20 12:30:21 +00:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: cups-devel >= 1.2
|
|
|
|
BuildRequires: python-devel >= 2.4
|
|
|
|
BuildRequires: glib2-devel >= 2.14.0
|
|
|
|
BuildRequires: gtk2-devel >= 2.12.0
|
|
|
|
BuildRequires: dbus-glib-devel >= 0.74
|
|
|
|
BuildRequires: PolicyKit-devel >= 0.8
|
|
|
|
BuildRequires: intltool >= 0.40.0
|
|
|
|
BuildRequires: gettext-devel >= 0.17
|
|
|
|
|
|
|
|
Requires: python >= 2.4
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
cups-pk-helper is an application which makes cups configuration
|
|
|
|
interfaces available under control of PolicyKit.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%patch0 -p0 -b .dependencies
|
2009-01-26 13:24:30 +00:00
|
|
|
%patch1 -p0 -b .pk-order
|
2009-01-28 12:08:31 +00:00
|
|
|
%patch2 -p0 -b .pk-jobs
|
2009-02-13 11:37:16 +00:00
|
|
|
%patch3 -p0 -b .cph-reconnect
|
2009-01-20 12:30:21 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libexecdir}/cups-pk-helper-mechanism
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
|
|
|
|
%{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
|
|
|
|
%{_datadir}/PolicyKit/policy/org.opensuse.cupspkhelper.mechanism.policy
|
|
|
|
%doc AUTHORS COPYING NEWS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2009-02-13 11:37:16 +00:00
|
|
|
* Fri Feb 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-4
|
|
|
|
- Add ability to reconnect to CUPS server after its reload
|
|
|
|
(caused by cupsAdminSetServerSettings() or cupsPutFile())
|
|
|
|
|
2009-01-28 12:08:31 +00:00
|
|
|
* Tue Jan 28 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-3
|
|
|
|
- Add functions for handling jobs (JobRestart, JobCancel, JobSetHoldUntil)
|
|
|
|
|
2009-01-26 13:24:30 +00:00
|
|
|
* Tue Jan 26 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-2
|
|
|
|
- Add handling of file:/ protocol
|
|
|
|
- Change order of checked policies so the PolicyKit asks only for
|
|
|
|
"printer-enable" policy when enabling/disabling a printer
|
|
|
|
- Change order of checked policies so the PolicyKit asks only for
|
|
|
|
"printer-set-default" policy when setting default printer
|
2009-01-20 12:30:21 +00:00
|
|
|
|
|
|
|
* Tue Jan 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-1
|
|
|
|
- Initial spec file.
|