2009-01-20 12:30:21 +00:00
|
|
|
Name: cups-pk-helper
|
2009-03-31 13:11:35 +00:00
|
|
|
Version: 0.0.4
|
2009-07-16 12:35:46 +00:00
|
|
|
Release: 3%{?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
|
|
|
|
|
2009-06-18 13:26:49 +00:00
|
|
|
Patch0: polkit-1.patch
|
2009-07-16 12:35:46 +00:00
|
|
|
Patch1: get_devices.patch
|
2009-06-18 13:26:49 +00:00
|
|
|
|
2009-01-20 12:30:21 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2009-06-18 13:26:49 +00:00
|
|
|
BuildRequires: libtool >= 1.4.3
|
2009-01-20 12:30:21 +00:00
|
|
|
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
|
2009-06-18 13:26:49 +00:00
|
|
|
BuildRequires: polkit-devel >= 0.92
|
|
|
|
BuildRequires: polkit-gnome >= 0.92
|
2009-01-20 12:30:21 +00:00
|
|
|
BuildRequires: intltool >= 0.40.0
|
|
|
|
BuildRequires: gettext-devel >= 0.17
|
2009-06-18 13:26:49 +00:00
|
|
|
BuildRequires: gnome-common >= 2.26
|
2009-01-20 12:30:21 +00:00
|
|
|
|
|
|
|
Requires: python >= 2.4
|
2009-03-31 13:11:35 +00:00
|
|
|
Requires: cups-libs >= 1.2
|
|
|
|
Requires: dbus >= 1.2
|
|
|
|
Requires: dbus-glib >= 0.74
|
|
|
|
Requires: glib2 >= 2.14.0
|
2009-01-20 12:30:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
cups-pk-helper is an application which makes cups configuration
|
|
|
|
interfaces available under control of PolicyKit.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2009-06-18 13:26:49 +00:00
|
|
|
%patch0 -p1 -b .polkit-1
|
2009-07-16 12:35:46 +00:00
|
|
|
%patch1 -p1 -b .get-devices
|
2009-06-18 13:26:49 +00:00
|
|
|
|
2009-01-20 12:30:21 +00:00
|
|
|
%build
|
2009-06-18 13:26:49 +00:00
|
|
|
# Patch0 modifies configure.ac
|
|
|
|
gnome-autogen.sh
|
|
|
|
|
2009-01-20 12:30:21 +00:00
|
|
|
%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
|
2009-06-18 13:26:49 +00:00
|
|
|
%{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy
|
2009-01-20 12:30:21 +00:00
|
|
|
%doc AUTHORS COPYING NEWS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2009-07-16 12:35:46 +00:00
|
|
|
* Thu Jul 16 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-3
|
|
|
|
- Add devices_get() function.
|
|
|
|
|
2009-06-18 13:26:49 +00:00
|
|
|
* Thu Jun 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-2
|
|
|
|
- Update to polkit-1
|
|
|
|
|
2009-03-31 13:11:35 +00:00
|
|
|
* Tue Mar 31 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-1
|
|
|
|
- Update to 0.0.4
|
|
|
|
|
2009-02-27 14:35:23 +00:00
|
|
|
* Fri Feb 27 2009 Marek Kasik <mkasik@redhat.com> - 0.0.3-6
|
|
|
|
- Replace job-cancel, job-restart and job-set-hold-until with job-edit
|
|
|
|
- Replace job-cancel-another-owner, job-restart-another-owner
|
|
|
|
and job-set-hold-until-another-owner with job-not-owned-edit
|
|
|
|
- Add cph_cups_job_get_status() function + some minor changes
|
|
|
|
|
2009-02-24 10:18:52 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
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.
|