|
|
7d8483 |
Name: cups-pk-helper
|
|
|
7d8483 |
Version: 0.2.6
|
|
|
7d8483 |
Release: 2%{?dist}
|
|
|
7d8483 |
Summary: A helper that makes system-config-printer use PolicyKit
|
|
|
7d8483 |
|
|
|
7d8483 |
Group: System Environment/Base
|
|
|
7d8483 |
License: GPLv2+
|
|
|
7d8483 |
URL: http://www.vuntz.net/download/cups-pk-helper/
|
|
|
7d8483 |
Source0: http://cgit.freedesktop.org/cups-pk-helper/snapshot/cups-pk-helper-%{version}.tar.xz
|
|
|
7d8483 |
|
|
|
7d8483 |
Patch0: polkit_result.patch
|
|
|
7d8483 |
Patch1: cups-pk-helper-0.2.6-ipp-jstate.patch
|
|
|
7d8483 |
|
|
|
7d8483 |
BuildRequires: libtool >= 1.4.3
|
|
|
7d8483 |
BuildRequires: cups-devel >= 1.2
|
|
|
7d8483 |
BuildRequires: python-devel >= 2.4
|
|
|
7d8483 |
BuildRequires: glib2-devel >= 2.29.8
|
|
|
7d8483 |
BuildRequires: gtk2-devel >= 2.12.0
|
|
|
7d8483 |
BuildRequires: dbus-glib-devel >= 0.74
|
|
|
7d8483 |
BuildRequires: polkit-devel >= 0.97
|
|
|
7d8483 |
BuildRequires: intltool >= 0.40.6
|
|
|
7d8483 |
BuildRequires: gettext-devel >= 0.17
|
|
|
7d8483 |
BuildRequires: gnome-common >= 2.26
|
|
|
7d8483 |
BuildRequires: autoconf automake libtool
|
|
|
7d8483 |
|
|
|
7d8483 |
Requires: python >= 2.4
|
|
|
7d8483 |
Requires: cups-libs >= 1.2
|
|
|
7d8483 |
Requires: dbus >= 1.2
|
|
|
7d8483 |
Requires: dbus-glib >= 0.74
|
|
|
7d8483 |
Requires: glib2 >= 2.29.8
|
|
|
7d8483 |
|
|
|
7d8483 |
|
|
|
7d8483 |
%description
|
|
|
7d8483 |
cups-pk-helper is an application which makes cups configuration
|
|
|
7d8483 |
interfaces available under control of PolicyKit.
|
|
|
7d8483 |
|
|
|
7d8483 |
%prep
|
|
|
7d8483 |
%setup -q
|
|
|
7d8483 |
%patch0 -p1 -b .polkit-result
|
|
|
7d8483 |
%patch1 -p1 -b .ipp-jstate
|
|
|
7d8483 |
|
|
|
7d8483 |
|
|
|
7d8483 |
%build
|
|
|
7d8483 |
%configure
|
|
|
7d8483 |
make %{?_smp_mflags}
|
|
|
7d8483 |
|
|
|
7d8483 |
|
|
|
7d8483 |
%install
|
|
|
7d8483 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
7d8483 |
|
|
|
7d8483 |
|
|
|
7d8483 |
%find_lang %{name}
|
|
|
7d8483 |
|
|
|
7d8483 |
%files -f %{name}.lang
|
|
|
7d8483 |
%defattr(-,root,root,-)
|
|
|
7d8483 |
%{_libexecdir}/cups-pk-helper-mechanism
|
|
|
7d8483 |
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
|
|
|
7d8483 |
%{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
|
|
|
7d8483 |
%{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy
|
|
|
7d8483 |
%doc AUTHORS COPYING NEWS
|
|
|
7d8483 |
|
|
|
7d8483 |
|
|
|
7d8483 |
|
|
|
7d8483 |
%changelog
|
|
|
7d8483 |
* Fri Feb 10 2017 Marek Kasik <mkasik@redhat.com> - 0.2.6-2
|
|
|
7d8483 |
- Define IPP jstate constants if they are not defined
|
|
|
7d8483 |
- Related: #1384967
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Feb 10 2017 Marek Kasik <mkasik@redhat.com> - 0.2.6-1
|
|
|
7d8483 |
- Update to 0.2.6
|
|
|
7d8483 |
- Resolves: #1384967
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.2.4-5
|
|
|
7d8483 |
- Mass rebuild 2014-01-24
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.4-4
|
|
|
7d8483 |
- Mass rebuild 2013-12-27
|
|
|
7d8483 |
|
|
|
7d8483 |
* Thu Dec 5 2013 Marek Kasik <mkasik@redhat.com> - 0.2.4-3
|
|
|
7d8483 |
- Remove build requirement of polkit-gnome
|
|
|
7d8483 |
- Resolves: #1037826
|
|
|
7d8483 |
|
|
|
7d8483 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
|
|
|
7d8483 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7d8483 |
|
|
|
7d8483 |
* Wed Oct 17 2012 Marek Kasik <mkasik@redhat.com> - 0.2.4-1
|
|
|
7d8483 |
- Update to 0.2.4
|
|
|
7d8483 |
- Resolves CVE-2012-4510
|
|
|
7d8483 |
- Revert stricter validation of printer names
|
|
|
7d8483 |
|
|
|
7d8483 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
|
|
|
7d8483 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7d8483 |
|
|
|
7d8483 |
* Thu Mar 22 2012 Marek Kasik <mkasik@redhat.com> - 0.2.2-1
|
|
|
7d8483 |
- Update to 0.2.2
|
|
|
7d8483 |
- Remove upstreamed patches
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
|
|
|
7d8483 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-2
|
|
|
7d8483 |
- Fix configure.ac
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-1
|
|
|
7d8483 |
- Update to 0.2.1
|
|
|
7d8483 |
- Remove upstreamed patches
|
|
|
7d8483 |
- Actualize Requires
|
|
|
7d8483 |
|
|
|
7d8483 |
* Thu Oct 27 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-3
|
|
|
7d8483 |
- Set requesting-user-name for IPP_GET_JOB_ATTRIBUTES
|
|
|
7d8483 |
- Resolves: #743886
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Sep 2 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-2
|
|
|
7d8483 |
- Make ppd-name parameter optional
|
|
|
7d8483 |
- Readd patch for allowing authentication for any and inactive users
|
|
|
7d8483 |
- Readd patch for check of result of polkit authorization check
|
|
|
7d8483 |
- Resolves: #724959
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Aug 5 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-1
|
|
|
7d8483 |
- Update to 0.1.3
|
|
|
7d8483 |
- Fix #724959
|
|
|
7d8483 |
|
|
|
7d8483 |
* Wed Mar 23 2011 Marek Kasik <mkasik@redhat.com> - 0.1.2-1
|
|
|
7d8483 |
- Update to 0.1.2
|
|
|
7d8483 |
|
|
|
7d8483 |
* Thu Mar 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.1.1-1
|
|
|
7d8483 |
- Update to 0.1.1
|
|
|
7d8483 |
- Drop accumulated upstreamed patches
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-14
|
|
|
7d8483 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7d8483 |
|
|
|
7d8483 |
* Mon Mar 22 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-13
|
|
|
7d8483 |
- Add JobCancelPurge method
|
|
|
7d8483 |
- Related: #548756
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-12
|
|
|
7d8483 |
- Avoid timeout on job-related methods for invalid jobs
|
|
|
7d8483 |
- Make sure to return an error via dbus in case of failure
|
|
|
7d8483 |
- Remove a small leak
|
|
|
7d8483 |
- Resolves: #548790
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-11
|
|
|
7d8483 |
- Make cph_cups_job_get_status() efficient
|
|
|
7d8483 |
- Resolves: #548771
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-10
|
|
|
7d8483 |
- Fix adding of printers without specification of ppd-name.
|
|
|
7d8483 |
- Patch by Tim Waugh.
|
|
|
7d8483 |
- Resolves: #545452
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-9
|
|
|
7d8483 |
- Allow inactive users and any user to authenticate
|
|
|
7d8483 |
- Resolves: #543085
|
|
|
7d8483 |
|
|
|
7d8483 |
* Wed Sep 30 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-8
|
|
|
7d8483 |
- Fix adding of printers without specification of device-uri.
|
|
|
7d8483 |
- Patch by Tim Waugh.
|
|
|
7d8483 |
- Resolves: #526442
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-7
|
|
|
7d8483 |
- Fix policies to check when editing a job.
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-6
|
|
|
7d8483 |
- Check result of polkit_authority_check_authorization_sync() for NULL.
|
|
|
7d8483 |
|
|
|
7d8483 |
* Thu Aug 13 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-5
|
|
|
7d8483 |
- Add parameters to DevicesGet method.
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-4
|
|
|
7d8483 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7d8483 |
|
|
|
7d8483 |
* Thu Jul 16 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-3
|
|
|
7d8483 |
- Add devices_get() function.
|
|
|
7d8483 |
|
|
|
7d8483 |
* Thu Jun 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-2
|
|
|
7d8483 |
- Update to polkit-1
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Mar 31 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-1
|
|
|
7d8483 |
- Update to 0.0.4
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Feb 27 2009 Marek Kasik <mkasik@redhat.com> - 0.0.3-6
|
|
|
7d8483 |
- Replace job-cancel, job-restart and job-set-hold-until with job-edit
|
|
|
7d8483 |
- Replace job-cancel-another-owner, job-restart-another-owner
|
|
|
7d8483 |
and job-set-hold-until-another-owner with job-not-owned-edit
|
|
|
7d8483 |
- Add cph_cups_job_get_status() function + some minor changes
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
|
|
|
7d8483 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
7d8483 |
|
|
|
7d8483 |
* Fri Feb 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-4
|
|
|
7d8483 |
- Add ability to reconnect to CUPS server after its reload
|
|
|
7d8483 |
(caused by cupsAdminSetServerSettings() or cupsPutFile())
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Jan 28 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-3
|
|
|
7d8483 |
- Add functions for handling jobs (JobRestart, JobCancel, JobSetHoldUntil)
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Jan 26 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-2
|
|
|
7d8483 |
- Add handling of file:/ protocol
|
|
|
7d8483 |
- Change order of checked policies so the PolicyKit asks only for
|
|
|
7d8483 |
"printer-enable" policy when enabling/disabling a printer
|
|
|
7d8483 |
- Change order of checked policies so the PolicyKit asks only for
|
|
|
7d8483 |
"printer-set-default" policy when setting default printer
|
|
|
7d8483 |
|
|
|
7d8483 |
* Tue Jan 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-1
|
|
|
7d8483 |
- Initial spec file.
|