07fda3
Name:           cups-pk-helper
07fda3
Version:        0.2.6
07fda3
Release:        14%{?dist}
07fda3
Summary:        A helper that makes system-config-printer use PolicyKit
07fda3
07fda3
License:        GPLv2+
07fda3
URL:            http://www.freedesktop.org/wiki/Software/cups-pk-helper/
07fda3
Source0:        http://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-%{version}.tar.xz
07fda3
07fda3
Patch0:         polkit_result.patch
07fda3
07fda3
BuildRequires:  libtool >= 1.4.3
07fda3
BuildRequires:  cups-devel >= 1.2
07fda3
BuildRequires:  glib2-devel >= 2.29.8
07fda3
BuildRequires:  gtk2-devel >= 2.12.0
07fda3
BuildRequires:  dbus-glib-devel >= 0.74
07fda3
BuildRequires:  polkit-devel >= 0.97
07fda3
BuildRequires:  intltool >= 0.40.6
07fda3
BuildRequires:  gettext-devel >= 0.17
07fda3
BuildRequires:  gnome-common >= 2.26
07fda3
BuildRequires:  autoconf automake libtool
07fda3
BuildRequires:  make
07fda3
07fda3
Requires:       cups-libs >= 1.2
07fda3
Requires:       dbus >= 1.2
07fda3
Requires:       dbus-glib >= 0.74
07fda3
Requires:       glib2 >= 2.29.8
07fda3
07fda3
07fda3
%description
07fda3
cups-pk-helper is an application which makes cups configuration
07fda3
interfaces available under control of PolicyKit.
07fda3
07fda3
%prep
07fda3
%setup -q
07fda3
%patch0 -p1 -b .polkit-result
07fda3
07fda3
07fda3
%build
07fda3
%configure
07fda3
make %{?_smp_mflags}
07fda3
07fda3
07fda3
%install
07fda3
make install DESTDIR=$RPM_BUILD_ROOT
07fda3
07fda3
07fda3
%find_lang %{name}
07fda3
07fda3
%files -f %{name}.lang
07fda3
%{_libexecdir}/cups-pk-helper-mechanism
07fda3
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
07fda3
%{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
07fda3
%{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy
07fda3
%doc AUTHORS COPYING NEWS
07fda3
07fda3
07fda3
07fda3
%changelog
07fda3
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.6-14
07fda3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
07fda3
  Related: rhbz#1991688
07fda3
07fda3
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.6-13
07fda3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
07fda3
07fda3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-12
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
07fda3
07fda3
* Mon Jan 11 2021 Marek Kasik <mkasik@redhat.com> - 0.2.6-11
07fda3
- Remove redundant dependency on polkit-gnome
07fda3
07fda3
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-10
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
07fda3
07fda3
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-9
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
07fda3
07fda3
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-8
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
07fda3
07fda3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-7
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
07fda3
07fda3
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-6
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
07fda3
07fda3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-5
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
07fda3
07fda3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-4
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
07fda3
07fda3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
07fda3
07fda3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
07fda3
07fda3
* Thu Feb  4 2016 Marek Kasik <mkasik@redhat.com> - 0.2.6-1
07fda3
- Update to 0.2.6
07fda3
07fda3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-7
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
07fda3
07fda3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-6
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
07fda3
07fda3
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-5
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
07fda3
07fda3
* Fri Jun 27 2014 Marek Kasik <mkasik@redhat.com> - 0.2.5-4
07fda3
- Remove redundant requires
07fda3
07fda3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-3
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
07fda3
07fda3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
07fda3
07fda3
* Fri Jun  7 2013 Marek Kasik <mkasik@redhat.com> - 0.2.5-1
07fda3
- Update to 0.2.5
07fda3
- Change URL of cups-pk-helper project
07fda3
- Use tarballs with configure
07fda3
- Fix changelog's dates
07fda3
07fda3
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
07fda3
07fda3
* Wed Oct 17 2012 Marek Kasik <mkasik@redhat.com> - 0.2.4-1
07fda3
- Update to 0.2.4
07fda3
- Resolves CVE-2012-4510
07fda3
- Revert stricter validation of printer names
07fda3
07fda3
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
07fda3
07fda3
* Thu Mar 22 2012 Marek Kasik <mkasik@redhat.com> - 0.2.2-1
07fda3
- Update to 0.2.2
07fda3
- Remove upstreamed patches
07fda3
07fda3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
07fda3
07fda3
* Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-2
07fda3
- Fix configure.ac
07fda3
07fda3
* Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-1
07fda3
- Update to 0.2.1
07fda3
- Remove upstreamed patches
07fda3
- Actualize Requires
07fda3
07fda3
* Thu Oct 27 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-3
07fda3
- Set requesting-user-name for IPP_GET_JOB_ATTRIBUTES
07fda3
- Resolves: #743886
07fda3
07fda3
* Fri Sep  2 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-2
07fda3
- Make ppd-name parameter optional
07fda3
- Readd patch for allowing authentication for any and inactive users
07fda3
- Readd patch for check of result of polkit authorization check
07fda3
- Resolves: #724959
07fda3
07fda3
* Fri Aug  5 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-1
07fda3
- Update to 0.1.3
07fda3
- Fix #724959
07fda3
07fda3
* Wed Mar 23 2011 Marek Kasik <mkasik@redhat.com> - 0.1.2-1
07fda3
- Update to 0.1.2
07fda3
07fda3
* Thu Mar 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.1.1-1
07fda3
- Update to 0.1.1
07fda3
- Drop accumulated upstreamed patches
07fda3
07fda3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-14
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
07fda3
07fda3
* Mon Mar 22 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-13
07fda3
- Add JobCancelPurge method
07fda3
- Related: #548756
07fda3
07fda3
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-12
07fda3
- Avoid timeout on job-related methods for invalid jobs
07fda3
- Make sure to return an error via dbus in case of failure
07fda3
- Remove a small leak
07fda3
- Resolves: #548790
07fda3
07fda3
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-11
07fda3
- Make cph_cups_job_get_status() efficient
07fda3
- Resolves: #548771
07fda3
07fda3
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-10
07fda3
- Fix adding of printers without specification of ppd-name.
07fda3
- Patch by Tim Waugh.
07fda3
- Resolves: #545452
07fda3
07fda3
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-9
07fda3
- Allow inactive users and any user to authenticate
07fda3
- Resolves: #543085
07fda3
07fda3
* Wed Sep 30 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-8
07fda3
- Fix adding of printers without specification of device-uri.
07fda3
- Patch by Tim Waugh.
07fda3
- Resolves: #526442
07fda3
07fda3
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-7
07fda3
- Fix policies to check when editing a job.
07fda3
07fda3
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-6
07fda3
- Check result of polkit_authority_check_authorization_sync() for NULL.
07fda3
07fda3
* Thu Aug 13 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-5
07fda3
- Add parameters to DevicesGet method.
07fda3
07fda3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-4
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
07fda3
07fda3
* Thu Jul 16 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-3
07fda3
- Add devices_get() function.
07fda3
07fda3
* Thu Jun 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-2
07fda3
- Update to polkit-1
07fda3
07fda3
* Tue Mar 31 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-1
07fda3
- Update to 0.0.4
07fda3
07fda3
* Fri Feb 27 2009 Marek Kasik <mkasik@redhat.com> - 0.0.3-6
07fda3
- Replace job-cancel, job-restart and job-set-hold-until with job-edit
07fda3
- Replace job-cancel-another-owner, job-restart-another-owner
07fda3
  and job-set-hold-until-another-owner with job-not-owned-edit
07fda3
- Add cph_cups_job_get_status() function + some minor changes
07fda3
07fda3
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
07fda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
07fda3
07fda3
* Fri Feb 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-4
07fda3
- Add ability to reconnect to CUPS server after its reload
07fda3
  (caused by cupsAdminSetServerSettings() or cupsPutFile())
07fda3
07fda3
* Wed Jan 28 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-3
07fda3
- Add functions for handling jobs (JobRestart, JobCancel, JobSetHoldUntil)
07fda3
07fda3
* Mon Jan 26 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-2
07fda3
- Add handling of file:/ protocol
07fda3
- Change order of checked policies so the PolicyKit asks only for
07fda3
  "printer-enable" policy when enabling/disabling a printer
07fda3
- Change order of checked policies so the PolicyKit asks only for
07fda3
  "printer-set-default" policy when setting default printer
07fda3
07fda3
* Tue Jan 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-1
07fda3
- Initial spec file.