2009-01-20 12:30:21 +00:00
|
|
|
Name: cups-pk-helper
|
2013-06-07 14:19:27 +00:00
|
|
|
Version: 0.2.5
|
2014-08-16 01:55:18 +00:00
|
|
|
Release: 5%{?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+
|
2013-06-07 14:19:27 +00:00
|
|
|
URL: http://www.freedesktop.org/wiki/Software/cups-pk-helper/
|
|
|
|
Source0: http://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-%{version}.tar.xz
|
2009-01-20 12:30:21 +00:00
|
|
|
|
2011-11-22 12:43:56 +00:00
|
|
|
Patch0: polkit_result.patch
|
2011-08-05 14:26:40 +00:00
|
|
|
|
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
|
2011-11-22 12:43:56 +00:00
|
|
|
BuildRequires: glib2-devel >= 2.29.8
|
2009-01-20 12:30:21 +00:00
|
|
|
BuildRequires: gtk2-devel >= 2.12.0
|
|
|
|
BuildRequires: dbus-glib-devel >= 0.74
|
2011-11-22 12:43:56 +00:00
|
|
|
BuildRequires: polkit-devel >= 0.97
|
|
|
|
BuildRequires: polkit-gnome >= 0.97
|
|
|
|
BuildRequires: intltool >= 0.40.6
|
2009-01-20 12:30:21 +00:00
|
|
|
BuildRequires: gettext-devel >= 0.17
|
2009-06-18 13:26:49 +00:00
|
|
|
BuildRequires: gnome-common >= 2.26
|
2011-03-11 00:43:44 +00:00
|
|
|
BuildRequires: autoconf automake libtool
|
2009-01-20 12:30:21 +00:00
|
|
|
|
2009-03-31 13:11:35 +00:00
|
|
|
Requires: cups-libs >= 1.2
|
|
|
|
Requires: dbus >= 1.2
|
|
|
|
Requires: dbus-glib >= 0.74
|
2011-11-22 12:43:56 +00:00
|
|
|
Requires: glib2 >= 2.29.8
|
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
|
2011-11-22 12:43:56 +00:00
|
|
|
%patch0 -p1 -b .polkit-result
|
2011-09-02 10:10:34 +00:00
|
|
|
|
2011-08-05 14:26:40 +00:00
|
|
|
|
2009-01-20 12:30:21 +00:00
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
2011-03-11 00:43:44 +00:00
|
|
|
%find_lang %{name}
|
2009-01-20 12:30:21 +00:00
|
|
|
|
2011-03-11 00:43:44 +00:00
|
|
|
%files -f %{name}.lang
|
2009-01-20 12:30:21 +00:00
|
|
|
%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
|
2014-08-16 01:55:18 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-27 10:59:04 +00:00
|
|
|
* Fri Jun 27 2014 Marek Kasik <mkasik@redhat.com> - 0.2.5-4
|
|
|
|
- Remove redundant requires
|
|
|
|
|
2014-06-07 06:29:06 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 06:24:11 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-07 14:19:27 +00:00
|
|
|
* Fri Jun 7 2013 Marek Kasik <mkasik@redhat.com> - 0.2.5-1
|
|
|
|
- Update to 0.2.5
|
|
|
|
- Change URL of cups-pk-helper project
|
|
|
|
- Use tarballs with configure
|
|
|
|
- Fix changelog's dates
|
|
|
|
|
2013-02-13 19:19:31 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-17 09:08:47 +00:00
|
|
|
* Wed Oct 17 2012 Marek Kasik <mkasik@redhat.com> - 0.2.4-1
|
|
|
|
- Update to 0.2.4
|
|
|
|
- Resolves CVE-2012-4510
|
|
|
|
- Revert stricter validation of printer names
|
|
|
|
|
2012-07-18 20:05:38 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-22 09:50:38 +00:00
|
|
|
* Thu Mar 22 2012 Marek Kasik <mkasik@redhat.com> - 0.2.2-1
|
|
|
|
- Update to 0.2.2
|
|
|
|
- Remove upstreamed patches
|
|
|
|
|
2012-01-13 00:09:33 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-22 12:52:47 +00:00
|
|
|
* Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-2
|
|
|
|
- Fix configure.ac
|
|
|
|
|
2011-11-22 12:43:56 +00:00
|
|
|
* Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-1
|
|
|
|
- Update to 0.2.1
|
|
|
|
- Remove upstreamed patches
|
|
|
|
- Actualize Requires
|
|
|
|
|
2011-10-27 14:11:07 +00:00
|
|
|
* Thu Oct 27 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-3
|
|
|
|
- Set requesting-user-name for IPP_GET_JOB_ATTRIBUTES
|
|
|
|
- Resolves: #743886
|
|
|
|
|
2011-09-02 10:10:34 +00:00
|
|
|
* Fri Sep 2 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-2
|
|
|
|
- Make ppd-name parameter optional
|
|
|
|
- Readd patch for allowing authentication for any and inactive users
|
|
|
|
- Readd patch for check of result of polkit authorization check
|
|
|
|
- Resolves: #724959
|
|
|
|
|
2011-08-05 14:26:40 +00:00
|
|
|
* Fri Aug 5 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-1
|
|
|
|
- Update to 0.1.3
|
|
|
|
- Fix #724959
|
|
|
|
|
2011-03-23 12:26:00 +00:00
|
|
|
* Wed Mar 23 2011 Marek Kasik <mkasik@redhat.com> - 0.1.2-1
|
|
|
|
- Update to 0.1.2
|
|
|
|
|
2011-03-11 00:43:44 +00:00
|
|
|
* Thu Mar 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.1.1-1
|
|
|
|
- Update to 0.1.1
|
|
|
|
- Drop accumulated upstreamed patches
|
|
|
|
|
2011-02-08 12:20:30 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-03-22 15:40:45 +00:00
|
|
|
* Mon Mar 22 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-13
|
|
|
|
- Add JobCancelPurge method
|
|
|
|
- Related: #548756
|
|
|
|
|
2010-02-23 13:28:08 +00:00
|
|
|
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-12
|
|
|
|
- Avoid timeout on job-related methods for invalid jobs
|
|
|
|
- Make sure to return an error via dbus in case of failure
|
|
|
|
- Remove a small leak
|
|
|
|
- Resolves: #548790
|
|
|
|
|
2010-02-23 13:24:32 +00:00
|
|
|
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-11
|
|
|
|
- Make cph_cups_job_get_status() efficient
|
|
|
|
- Resolves: #548771
|
|
|
|
|
2010-02-23 13:20:12 +00:00
|
|
|
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-10
|
|
|
|
- Fix adding of printers without specification of ppd-name.
|
|
|
|
- Patch by Tim Waugh.
|
|
|
|
- Resolves: #545452
|
|
|
|
|
2010-02-23 13:17:34 +00:00
|
|
|
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-9
|
|
|
|
- Allow inactive users and any user to authenticate
|
|
|
|
- Resolves: #543085
|
|
|
|
|
2009-09-30 14:49:22 +00:00
|
|
|
* Wed Sep 30 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-8
|
|
|
|
- Fix adding of printers without specification of device-uri.
|
|
|
|
- Patch by Tim Waugh.
|
|
|
|
- Resolves: #526442
|
|
|
|
|
2009-08-18 17:06:39 +00:00
|
|
|
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-7
|
|
|
|
- Fix policies to check when editing a job.
|
|
|
|
|
2009-08-18 14:23:25 +00:00
|
|
|
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-6
|
|
|
|
- Check result of polkit_authority_check_authorization_sync() for NULL.
|
|
|
|
|
2009-08-13 14:02:25 +00:00
|
|
|
* Thu Aug 13 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-5
|
|
|
|
- Add parameters to DevicesGet method.
|
|
|
|
|
2009-07-24 19:49:26 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
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())
|
|
|
|
|
2013-06-07 14:19:27 +00:00
|
|
|
* Wed Jan 28 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-3
|
2009-01-28 12:08:31 +00:00
|
|
|
- Add functions for handling jobs (JobRestart, JobCancel, JobSetHoldUntil)
|
|
|
|
|
2013-06-07 14:19:27 +00:00
|
|
|
* Mon Jan 26 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-2
|
2009-01-26 13:24:30 +00:00
|
|
|
- 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.
|