cups-pk-helper-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. Summary: A helper that makes system-config-printer use PolicyKit
  2. Name: cups-pk-helper
  3. Version: 0.2.6
  4. Release: 11%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv2+
  9. URL: https://www.freedesktop.org/wiki/Software/cups-pk-helper/
  10. Source0: https://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-%{version}.tar.xz
  11. Patch0: polkit_result.patch
  12. BuildRequires: libtool >= 1.4.3
  13. BuildRequires: cups-devel >= 1.2
  14. BuildRequires: glib2-devel >= 2.29.8
  15. BuildRequires: gtk2-devel >= 2.12.0
  16. BuildRequires: dbus-glib-devel >= 0.74
  17. BuildRequires: polkit-devel >= 0.97
  18. BuildRequires: polkit-gnome >= 0.97
  19. BuildRequires: intltool >= 0.40.6
  20. BuildRequires: gettext-devel >= 0.17
  21. BuildRequires: gnome-common >= 2.26
  22. BuildRequires: autoconf automake libtool
  23. Requires: cups-libs >= 1.2
  24. Requires: dbus >= 1.2
  25. Requires: dbus-glib >= 0.74
  26. Requires: glib2 >= 2.29.8
  27. %description
  28. cups-pk-helper is an application which makes cups configuration
  29. interfaces available under control of PolicyKit.
  30. %prep
  31. %setup -q
  32. %patch0 -p1 -b .polkit-result
  33. %build
  34. %configure
  35. make %{?_smp_mflags}
  36. %install
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. %find_lang %{name}
  39. %files -f %{name}.lang
  40. %license COPYING
  41. %doc AUTHORS NEWS
  42. %{_libexecdir}/cups-pk-helper-mechanism
  43. %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
  44. %{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
  45. %{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy
  46. %changelog
  47. * Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.2.6-11
  48. - initial build for Vine Linux.
  49. * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-10
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  51. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-9
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  53. * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-8
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  55. * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-7
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  57. * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-6
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  59. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-5
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  61. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-4
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  63. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  65. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  67. * Thu Feb 4 2016 Marek Kasik <mkasik@redhat.com> - 0.2.6-1
  68. - Update to 0.2.6
  69. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-7
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  71. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-6
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  73. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-5
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  75. * Fri Jun 27 2014 Marek Kasik <mkasik@redhat.com> - 0.2.5-4
  76. - Remove redundant requires
  77. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  79. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  81. * Fri Jun 7 2013 Marek Kasik <mkasik@redhat.com> - 0.2.5-1
  82. - Update to 0.2.5
  83. - Change URL of cups-pk-helper project
  84. - Use tarballs with configure
  85. - Fix changelog's dates
  86. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  88. * Wed Oct 17 2012 Marek Kasik <mkasik@redhat.com> - 0.2.4-1
  89. - Update to 0.2.4
  90. - Resolves CVE-2012-4510
  91. - Revert stricter validation of printer names
  92. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  94. * Thu Mar 22 2012 Marek Kasik <mkasik@redhat.com> - 0.2.2-1
  95. - Update to 0.2.2
  96. - Remove upstreamed patches
  97. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  99. * Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-2
  100. - Fix configure.ac
  101. * Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-1
  102. - Update to 0.2.1
  103. - Remove upstreamed patches
  104. - Actualize Requires
  105. * Thu Oct 27 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-3
  106. - Set requesting-user-name for IPP_GET_JOB_ATTRIBUTES
  107. - Resolves: #743886
  108. * Fri Sep 2 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-2
  109. - Make ppd-name parameter optional
  110. - Readd patch for allowing authentication for any and inactive users
  111. - Readd patch for check of result of polkit authorization check
  112. - Resolves: #724959
  113. * Fri Aug 5 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-1
  114. - Update to 0.1.3
  115. - Fix #724959
  116. * Wed Mar 23 2011 Marek Kasik <mkasik@redhat.com> - 0.1.2-1
  117. - Update to 0.1.2
  118. * Thu Mar 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.1.1-1
  119. - Update to 0.1.1
  120. - Drop accumulated upstreamed patches
  121. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-14
  122. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  123. * Mon Mar 22 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-13
  124. - Add JobCancelPurge method
  125. - Related: #548756
  126. * Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-12
  127. - Avoid timeout on job-related methods for invalid jobs
  128. - Make sure to return an error via dbus in case of failure
  129. - Remove a small leak
  130. - Resolves: #548790
  131. * Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-11
  132. - Make cph_cups_job_get_status() efficient
  133. - Resolves: #548771
  134. * Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-10
  135. - Fix adding of printers without specification of ppd-name.
  136. - Patch by Tim Waugh.
  137. - Resolves: #545452
  138. * Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-9
  139. - Allow inactive users and any user to authenticate
  140. - Resolves: #543085
  141. * Wed Sep 30 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-8
  142. - Fix adding of printers without specification of device-uri.
  143. - Patch by Tim Waugh.
  144. - Resolves: #526442
  145. * Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-7
  146. - Fix policies to check when editing a job.
  147. * Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-6
  148. - Check result of polkit_authority_check_authorization_sync() for NULL.
  149. * Thu Aug 13 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-5
  150. - Add parameters to DevicesGet method.
  151. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-4
  152. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  153. * Thu Jul 16 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-3
  154. - Add devices_get() function.
  155. * Thu Jun 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-2
  156. - Update to polkit-1
  157. * Tue Mar 31 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-1
  158. - Update to 0.0.4
  159. * Fri Feb 27 2009 Marek Kasik <mkasik@redhat.com> - 0.0.3-6
  160. - Replace job-cancel, job-restart and job-set-hold-until with job-edit
  161. - Replace job-cancel-another-owner, job-restart-another-owner
  162. and job-set-hold-until-another-owner with job-not-owned-edit
  163. - Add cph_cups_job_get_status() function + some minor changes
  164. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
  165. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  166. * Fri Feb 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-4
  167. - Add ability to reconnect to CUPS server after its reload
  168. (caused by cupsAdminSetServerSettings() or cupsPutFile())
  169. * Wed Jan 28 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-3
  170. - Add functions for handling jobs (JobRestart, JobCancel, JobSetHoldUntil)
  171. * Mon Jan 26 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-2
  172. - Add handling of file:/ protocol
  173. - Change order of checked policies so the PolicyKit asks only for
  174. "printer-enable" policy when enabling/disabling a printer
  175. - Change order of checked policies so the PolicyKit asks only for
  176. "printer-set-default" policy when setting default printer
  177. * Tue Jan 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-1
  178. - Initial spec file.