hal-cups-utils-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. Summary: Halified CUPS utilities
  2. Name: hal-cups-utils
  3. Version: 0.6.19
  4. Release: 4%{?_dist_release}
  5. License: GPLv2
  6. Group: Applications/System
  7. URL: https://fedorahosted.org/hal-cups-utils
  8. # Add "?format=raw" to the following URL to download file:
  9. Source: https://fedorahosted.org/hal-cups-utils/attachment/wiki/ProjectReleases/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: dbus-devel >= 0.60
  13. BuildRequires: hal-devel >= 0.5.0
  14. BuildRequires: dbus-devel >= 0.90
  15. BuildRequires: dbus-glib-devel >= 0.70
  16. BuildRequires: cups-devel
  17. Requires: hal >= 0.5.0
  18. Requires: dbus >= 0.90
  19. Requires: cups
  20. Requires: system-config-printer-libs >= 1.0.3
  21. %description
  22. Halified utilities for CUPS:
  23. - hal_lpadmin
  24. - hal CUPS backend
  25. %prep
  26. %setup -q
  27. %build
  28. %configure
  29. make CFLAGS="$RPM_OPT_FLAGS"
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-, root, root)
  37. %doc AUTHORS COPYING ChangeLog NEWS README
  38. %{_libexecdir}/hal_lpadmin
  39. /usr/lib/cups/backend/hal
  40. %{_datadir}/hal/fdi/policy/10osvendor/10-hal_lpadmin.fdi
  41. %changelog
  42. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6.19-4
  43. - Initial build for Vine Linux
  44. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.19-3
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  46. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.19-2
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  48. * Tue Jan 13 2009 Tim Waugh <twaugh@redhat.com> 0.6.19-1
  49. - 0.6.19.
  50. * Fri Oct 24 2008 Tim Waugh <twaugh@redhat.com> 0.6.17-4
  51. - Don't fail due to missing usb Python module (bug #468408).
  52. * Wed Oct 22 2008 Tim Waugh <twaugh@redhat.com> 0.6.17-3
  53. - Added patch from git to prevent traceback (bug #468010).
  54. * Thu Oct 16 2008 Tim Waugh <twaugh@redhat.com> 0.6.17-2
  55. - Don't log a traceback if sys.exit() is called (bug #466485).
  56. * Mon Jul 7 2008 Tim Waugh <twaugh@redhat.com> 0.6.17-1
  57. - 0.6.17. Requires system-config-printer-libs >= 1.0.3.
  58. * Fri Apr 4 2008 Tim Waugh <twaugh@redhat.com> 0.6.16-3
  59. - Applied patch from upstream to use only the device URI to see if the
  60. printer has been configured already, and to make the queue name unique.
  61. * Tue Mar 25 2008 Tim Waugh <twaugh@redhat.com> 0.6.16-1
  62. - 0.6.16:
  63. - Some bugs concerning automatic printer enabling/disabling have been
  64. fixed.
  65. * Thu Mar 20 2008 Tim Waugh <twaugh@redhat.com> 0.6.15-2
  66. - Use RPM_OPT_FLAGS.
  67. * Wed Feb 27 2008 Tim Waugh <twaugh@redhat.com> 0.6.15-1
  68. - 0.6.15:
  69. - CUPS backend improvements, mainly for the sake of being a better
  70. example external CUPS backend.
  71. * Tue Feb 12 2008 Tim Waugh <twaugh@redhat.com> 0.6.14-1
  72. - 0.6.14:
  73. - Build command lines more carefully.
  74. - Only provide one notification for multi-function devices.
  75. - Better support for HP printers.
  76. * Fri Sep 14 2007 Tim Waugh <twaugh@redhat.com> 0.6.13-1
  77. - 0.6.13:
  78. - Enable/disable fix.
  79. - Speed improvements.
  80. * Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 0.6.12-3
  81. - More specific license tag.
  82. - Better buildroot tag.
  83. * Mon Aug 6 2007 Tim Waugh <twaugh@redhat.com> 0.6.12-2
  84. - Don't use IEEE 1284 DES field for device description: make/model strings
  85. are better.
  86. * Fri Aug 3 2007 Tim Waugh <twaugh@redhat.com> 0.6.12-1
  87. - 0.6.12:
  88. - Improvements from Till Kamppeter:
  89. o Updated configure method to use CUPS directly
  90. o Don't use full path in fdi file
  91. o Disable disconnected printers
  92. o Set up fax queues for multi-function devices
  93. o Use HPLIP even for HP devices with no serial number
  94. o Fixed generation of usb: URIs
  95. * Thu Jun 14 2007 Tim Waugh <twaugh@redhat.com> 0.6.11-2
  96. - Bumped system-config-printer-libs requirement to make sure that the PPDs
  97. class is available.
  98. - Removed explicit build dependency on cups; it's cups-devel we need.
  99. * Thu Jun 14 2007 Tim Waugh <twaugh@redhat.com> 0.6.11-1
  100. - 0.6.11:
  101. - Fixed libhal API usage (bug #243165).
  102. - Use new PPDs class from system-config-printer to match Device IDs.
  103. * Wed May 30 2007 Tim Waugh <twaugh@redhat.com> 0.6.10-1
  104. - 0.6.10:
  105. - Use new D-Bus interface, NewPrinterNotification.
  106. * Thu May 3 2007 Tim Waugh <twaugh@redhat.com> 0.6.9-1
  107. - 0.6.9:
  108. - Reverted hal backend printer state management and paper-out detection
  109. for the moment.
  110. * Thu Apr 26 2007 Tim Waugh <twaugh@redhat.com> 0.6.8-1
  111. - 0.6.8:
  112. - Several hal backend fixes (retry when device not connected,
  113. printer state management, paper-out detection).
  114. - Small hal_lpadmin fix for traceback.
  115. * Wed Apr 25 2007 Tim Waugh <twaugh@redhat.com> 0.6.7-1
  116. - 0.6.7:
  117. - Use usb: URI scheme when possible (bug #236720).
  118. * Wed Apr 4 2007 Tim Waugh <twaugh@redhat.com> 0.6.6-1
  119. - Prevent a traceback in hal_lpadmin (bug #232733).
  120. * Mon Jan 8 2007 Tim Waugh <twaugh@redhat.com> 0.6.5-1
  121. - Requires system-config-printer >= 0.7.46.
  122. - 0.6.5:
  123. - Set PPD page size before adding printer (bug #221841).
  124. * Thu Jan 4 2007 Tim Waugh <twaugh@redhat.com> 0.6.4-1
  125. - 0.6.4:
  126. - Don't enable/disable existing printers.
  127. * Tue Jan 2 2007 Tim Waugh <twaugh@redhat.com> 0.6.3-1
  128. - 0.6.3:
  129. - Put PPD NickName in info line instead of just 'Added by HAL'.
  130. - Don't add/remove new printer if one already exists with a matching URI.
  131. * Sun Dec 17 2006 Tim Waugh <twaugh@redhat.com>
  132. - Use 'hp:' URIs when appropriate (bug #175555).
  133. - Added syslogging to hal_lpadmin.
  134. * Thu Nov 9 2006 Tim Waugh <twaugh@redhat.com> - 0.6.2-7
  135. - IEEE 1284 Device ID in CUPS backend (bug #214755).
  136. * Wed Nov 8 2006 Tim Waugh <twaugh@redhat.com> - 0.6.2-6
  137. - Use printer.commandset when matching printers (bug #214180).
  138. - Fixed HAL printer interface API name (bug #214598).
  139. * Mon Sep 11 2006 Florian Festi <ffesti@redhat.com> - 0.6.2-4
  140. - changed dbus URI from org/freedesktop/ to com/redhat/ to fit eggcups
  141. * Tue Aug 1 2006 Tim Waugh <twaugh@redhat.com> - 0.6.2-3
  142. - Fixed hal_lpadmin's CUPS URI (bug #200682).
  143. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.6.2-2
  144. - rebuild
  145. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.2-1.1
  146. - rebuild
  147. * Mon Jun 19 2006 Florian Festi <ffesti@redhat.com> - 0.6.2-1
  148. - bump to 0.6.2 (move hal_lpadmin to /usr/libexec to cope with hal weirdness)
  149. * Fri Jun 09 2006 Florian Festi <ffesti@redhat.com> - 0.6.1-1
  150. - bump to 0.6.1 (fixed hal policy file)
  151. - added dummy init script for cups-config-daemon to fix the postun
  152. script of the 0.5.5 version
  153. * Fri Jun 06 2006 Florian Festi <ffesti@redhat.com> - 0.6.0-1
  154. - new implementation which obsoletes the cups-config-daemon
  155. * Tue Mar 28 2006 John (J5) Palmieri <johnp@redhat.com> - 0.5.5-2
  156. - Make sure backends install into /usr/lib and not /usr/lib64
  157. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.5-1.2
  158. - bump again for double-long bug on ppc(64)
  159. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.5-1.1
  160. - rebuilt for new gcc4.1 snapshot and glibc changes
  161. * Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 0.5.5-1
  162. - New version, which makes sure we build the daemon with PIE
  163. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0.5.4-2.1
  164. - rebuilt
  165. * Tue Dec 01 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5.4-2
  166. - rebuild for new dbus
  167. * Tue Nov 29 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5.4-1
  168. - New version that fixes a couple of crashes and makes sure we
  169. HUP cupsd
  170. * Fri Mar 18 2005 Warren Togami <wtogami@redhat.com. - 0.5.3-3
  171. - minor spec tweaks
  172. * Mon Mar 07 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5.3-1
  173. - Add a build reqiures and requires for dbus >= 0.31
  174. - Rebuild with HAL 0.5.0 and D-BUS 0.31
  175. - Add hal fdi file to match printers to the hal_lpadmin callout
  176. * Fri Mar 04 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5.3-1
  177. - Integrate patches and make 0.5.3 release
  178. * Fri Mar 04 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5.2-11
  179. - Added get_udi_from_env patch which gets the UDI of the printer
  180. from the UDI env variable set by hal if the UDI is not given on
  181. the command line
  182. - Made sure fdi file installs in correct place and executes hal_lpadmin
  183. correctly
  184. - changed the check if printer code to check string lists now
  185. * Tue Mar 1 2005 Ray Strode <rstrode@redhat.com> - 0.5.2-10.newdbusapi.1
  186. - install fdi file instead of hal callout files
  187. * Fri Feb 25 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5.2-10
  188. - Added hal api and dbus api patch
  189. - Don't restart if not already running in post
  190. * Tue Feb 22 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5.2-9
  191. - For some reason -8 was never built into rawhide. Bumping the
  192. release to 9 and rebuilding for smooth upgrade from fc3
  193. * Fri Oct 22 2004 John (J5) Palmieri <johnp@redhat.com> - 0.5.2-8
  194. - use_usb_if_null patch makes sure that the make and model of the
  195. printer is never null even if hal does not populate the
  196. printer.vendor and info.product fields. (Bug #136666)
  197. - (printer_update.hal, printer_remove.hal): Use $UDI instead of
  198. $HAL_PROP_INFO_UDI which in some instances may not be populated
  199. * Tue Oct 12 2004 John (J5) Palmieri <johnp@redhat.com> - 0.5.2-7
  200. - Add MatchDriver DBUS method call patch so we can check if the printer has a driver
  201. * Wed Oct 06 2004 John (J5) Palmieri <johnp@redhat.com> - 0.5.2-6
  202. - Add Colin Walter's daemon patch
  203. - Add BuildRequires for glib
  204. - Add patch to take out gdk from configure.in
  205. - Restart cups-config-daemon in the post
  206. * Tue Oct 04 2004 John (J5) Palmieri <johnp@redhat.com>
  207. - Patch now calls killall -SIGHUP cupsd if pid file is wrong or does not exist.
  208. This is mainly for older cups versions which do not output a pid file.
  209. * Fri Oct 01 2004 John (J5) Palmieri <johnp@redhat.com>
  210. - Fixed sighup to check for sbin instead of bin for cupsd pid check
  211. * Thu Sep 30 2004 John (J5) Palmieri <johnp@redhat.com>
  212. - Patch to use sighup on cups instead of restarting it
  213. * Tue Sep 01 2004 John (J5) Palmieri <johnp@redhat.com>
  214. - Update to 0.5.2
  215. * Tue Sep 01 2004 John (J5) Palmieri <johnp@redhat.com>
  216. - Chaned the hal callout srcipts to have a .hal extention
  217. * Tue Aug 31 2004 John (J5) Palmieri <johnp@redhat.com>
  218. - Add build requirement on dbus-devel and system-config-printer
  219. * Tue Aug 31 2004 John (J5) Palmieri <johnp@redhat.com>
  220. - Update to 0.5.1
  221. * Fri Aug 27 2004 John (J5) Palmieri <johnp@redhat.com>
  222. - Update to 0.5.0
  223. * Wed Aug 18 2004 John (J5) Palmieri <johnp@redhat.com>
  224. - Updated to 0.4.0
  225. * Thu Aug 11 2004 John (J5) Palmieri <johnp@redhat.com>
  226. - Added the --enable-printconf flag to configure so that we autodetect drivers
  227. * Thu Aug 11 2004 John (J5) Palmieri <johnp@redhat.com>
  228. - Upgrade to version 0.3.1
  229. - Add update-printer.sh and remove-printer.sh HAL callouts
  230. * Wed Jul 28 2004 John (J5) Palmieri <johnp@redhat.com>
  231. - Initial checkin to package repository