Blame SPECS/cups-pk-helper.spec

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