hplip-vl.spec 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917
  1. # %define python_platlib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
  2. Summary: HP printer drivers & utilities for Linux
  3. Summary(ja): HP プリンタの Linux 向けドライバとユーティリティ
  4. Name: hplip
  5. Version: 3.21.10
  6. Release: 1%{?_dist_release}
  7. Group: publishing
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: kazutaka
  11. License: GPLv2+, MIT and BSD
  12. URL: https://developers.hp.com/hp-linux-imaging-and-printing
  13. # Source0: http://downloads.sourceforge.net/sourceforge/hplip/hplip-%{version}.tar.gz
  14. # ./hplip-repack.sh <version>
  15. Source0: hplip-%{version}-repack.tar.gz
  16. #Source1: hpcups-update-ppds.sh
  17. Source2: copy-deviceids.py
  18. Source3: %{name}.metainfo.xml
  19. Source4: hp-laserjet_cp_1025nw.ppd.gz
  20. Source5: hp-laserjet_professional_p_1102w.ppd.gz
  21. Source6: hplip-repack.sh
  22. Source1000: hplip.desktop.vine
  23. Patch1: hplip-pstotiff-is-rubbish.patch
  24. Patch2: hplip-strstr-const.patch
  25. Patch3: hplip-ui-optional.patch
  26. Patch4: hplip-no-asm.patch
  27. Patch5: hplip-deviceIDs-drv.patch
  28. Patch6: hplip-udev-rules.patch
  29. Patch7: hplip-retry-open.patch
  30. Patch8: hplip-snmp-quirks.patch
  31. Patch9: hplip-hpijs-marker-supply.patch
  32. Patch10: hplip-clear-old-state-reasons.patch
  33. Patch11: hplip-hpcups-sigpipe.patch
  34. Patch12: hplip-logdir.patch
  35. Patch13: hplip-bad-low-ink-warning.patch
  36. Patch14: hplip-deviceIDs-ppd.patch
  37. Patch15: hplip-ppd-ImageableArea.patch
  38. Patch16: hplip-scan-tmp.patch
  39. Patch17: hplip-log-stderr.patch
  40. Patch18: hplip-avahi-parsing.patch
  41. Patch20: hplip-dj990c-margin.patch
  42. Patch21: hplip-strncpy.patch
  43. Patch22: hplip-no-write-bytecode.patch
  44. Patch23: hplip-silence-ioerror.patch
  45. Patch24: hplip-3165-sourceoption.patch
  46. Patch25: hplip-noernie.patch
  47. Patch26: hplip-appdata.patch
  48. Patch27: hplip-check-cups.patch
  49. Patch30: hplip-typo.patch
  50. # python3 - recent HP release removed encoding/decoding to utf-8 in fax/pmlfax.py -
  51. # that results in text string going into translate function in base/utils.py, which
  52. # expects binary string because of parameters. Remove this patch if base/utils.py
  53. # code gets fixed.
  54. Patch31: hplip-use-binary-str.patch
  55. # m278-m281 doesn't work correctly again
  56. Patch32: hplip-error-print.patch
  57. Patch33: hplip-hpfax-importerror-print.patch
  58. Patch34: hplip-wifisetup.patch
  59. # pgp.mit.edu keyserver got bad connection, so we need to have pool of keyservers
  60. # to choose (Bz#1641100, launchpad#1799212)
  61. Patch35: hplip-keyserver.patch
  62. # QMessagebox call was copy-pasted from Qt4 version, but Qt5 has different arguments,
  63. # This patch solves most of them
  64. Patch36: 0026-Call-QMessageBox-constructors-of-PyQT5-with-the-corr.patch
  65. # HP upstream introduced new binary blob, which is not open-source, so it violates
  66. # FPG by two ways - shipping binary blob and non open source code - so it needs to be removed.
  67. # Patch is taken from Debian.
  68. #Patch37: 0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
  69. # In hplip-3.18.10 some parts of UI code was commented out, which leaved hp-toolbox
  70. # unusable (crashed on the start). The patch removes usages of variables, which were
  71. # commented out.
  72. # The patch is taken from Debian.
  73. Patch38: 0027-Fixed-incomplete-removal-of-hp-toolbox-features-whic.patch
  74. # hp-setup crashed when user wanted to define a path to PPD file. It was due
  75. # byte + string variables incompatibility and it is fixed by decoding the
  76. # bytes-like variable
  77. # part of https://bugzilla.redhat.com/show_bug.cgi?id=1666076
  78. # reported upstream https://bugs.launchpad.net/hplip/+bug/1814272
  79. Patch39: hplip-add-ppd-crash.patch
  80. # external scripts, which are downloaded and run by hp-plugin, try to create links
  81. # in non-existing dirs. These scripts ignore errors, so plugin is installed fine
  82. # but then internal hp-plugin can check for plugin state, where links are checked too.
  83. # It results in corrupted plugin state, which breaks printer installation by GUI hp-setup.
  84. # Temporary workaround is to ignore these bad links and real fix should come from HP,
  85. # because their external scripts try to create links in non-existing dirs.
  86. # Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1671513
  87. # Reported upstream: https://bugs.launchpad.net/hplip/+bug/1814574
  88. Patch40: hplip-missing-links.patch
  89. # change in 3.18.9 in scanext.c caused broken scanning for HP LaserJet 3052. Since I cannot figure
  90. # it out what author wanted by the change (it sets option number 9 to true, but different handles
  91. # have different options, so I'm not sure what author wanted to set).
  92. # Remove the change for now, it works for user and me.
  93. Patch41: hplip-hplj-3052.patch
  94. # hpmud parses mdns txt record badly
  95. # upstream tickets: https://bugs.launchpad.net/hplip/+bug/1797501
  96. # https://bugs.launchpad.net/hplip/+bug/1817214
  97. # https://bugs.launchpad.net/hplip/+bug/1821932
  98. # with no response from upstream
  99. # Patch taken from Debian https://lists.debian.org/debian-printing/2018/11/msg00049.html
  100. Patch42: hplip-hpmud-string-parse.patch
  101. # Part of https://bugzilla.redhat.com/show_bug.cgi?id=1694663
  102. # It was found out that specific device needs plugin for scanning
  103. # Reported upstream as https://bugs.launchpad.net/hplip/+bug/1822762
  104. Patch43: hplip-m278-m281-needs-plugin.patch
  105. # hpcups crashes when a printer needs a plugin and does not have one installed
  106. # it crashes in destructor, because pointer is not initialized
  107. # bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1695716
  108. # reported upstream
  109. Patch44: hplip-hpcups-crash.patch
  110. # Fixing the issues found by coverity scan
  111. # reported upstream https://bugs.launchpad.net/hplip/+bug/1808145
  112. Patch45: hplip-covscan.patch
  113. # Segfault during logging to syslog because argument are switched
  114. # bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1727162
  115. # upstream https://bugs.launchpad.net/hplip/+bug/1837846
  116. Patch46: hplip-logging-segfault.patch
  117. # Traceback in hp-systray when there are no resource
  118. # wanted to report upstream, but launchpad ends with timeout error
  119. # bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1738321
  120. Patch47: hplip-systray-blockerror.patch
  121. # several printers were removed in 3.19.1, but actually someone still uses them
  122. # reported upstream https://bugs.launchpad.net/hplip/+bug/1843592
  123. # bugzillas 1742949, 1740132, 1739855
  124. Patch48: hplip-missing-drivers.patch
  125. # laserjet 2200 and other devices have different device id than HP expects...
  126. # https://bugzilla.redhat.com/show_bug.cgi?id=1772698
  127. # reported upstream https://bugs.launchpad.net/hplip/+bug/1853002
  128. Patch49: hplip-model-mismatch.patch
  129. # sixext has problems with python3 strings (bz#1573430)
  130. # reported https://bugs.launchpad.net/bugs/1480152
  131. Patch50: hplip-unicodeerror.patch
  132. # error with new gcc, already reported in upstream as
  133. # https://bugs.launchpad.net/hplip/+bug/1836735
  134. Patch51: hplip-fix-Wreturn-type-warning.patch
  135. # upstream check for python clears OS build system
  136. # CFLAGS
  137. # https://bugs.launchpad.net/hplip/+bug/1879445
  138. Patch52: hplip-configure-python.patch
  139. # taken from hplip upstream report - toolbox uses deprecated method
  140. # setMargin(), which generates an exception, resulting in a infinite loop
  141. # of request on cupsd
  142. # https://bugs.launchpad.net/hplip/+bug/1880275
  143. Patch53: hplip-dialog-infinite-loop.patch
  144. # searching algorithm did not expect '-' in model name and thought it is a new PDL
  145. # it resulted in incorrect PPD match, so e.g. hpijs driver was used instead of hpcups
  146. # bug: https://bugzilla.redhat.com/show_bug.cgi?id=1590014
  147. # reported upstream: https://bugs.launchpad.net/hplip/+bug/1881587
  148. Patch54: hplip-find-driver.patch
  149. # hp-clean didn't work for Photosmart C1410 because it was comparing
  150. # string length with buffer size for string object, which is different,
  151. # causing cleaning to fail - the fix is to make the object bytes-like,
  152. # then buffer size is the same as the length.
  153. # Thanks to Stefan Assmann we were able to fix level 1 cleaning
  154. # for the device, but there can be similar issues with other devices
  155. # bug https://bugzilla.redhat.com/show_bug.cgi?id=1833308
  156. # reported upstream https://bugs.launchpad.net/hplip/+bug/1882193
  157. Patch55: hplip-clean-ldl.patch
  158. # 3.20.6 turned off requirement for most devices which needed it
  159. # - it will cause malfunction of printing and scanning for them
  160. # https://bugs.launchpad.net/hplip/+bug/1883898
  161. Patch56: hplip-revert-plugins.patch
  162. # python3.9 removes threading.Thread.isAlive() and it is substituted
  163. # by threading.Thread.is_alive()
  164. # https://bugzilla.redhat.com/show_bug.cgi?id=1861055
  165. # reported upstream https://bugs.launchpad.net/fedora/+bug/1889280
  166. #Patch57: hplip-thread-isalive-removed.patch
  167. # glibc moved timeb.h into compat package and it will be removed in the future
  168. # the code doesn't use anything from timeb.h, so it is safe to remove it
  169. # reported upstream https://bugs.launchpad.net/hplip/+bug/1900977
  170. #Patch58: hplip-timeb-removed.patch
  171. # non-sudoers cannot authenticate
  172. # reported upstream https://bugs.launchpad.net/hplip/+bug/1904888
  173. Patch59: hplip-check-userperms.patch
  174. # 1919556 - hp-fab crashed: QFileDialog.getOpenFileName is not used correctly
  175. # getOpenFileName returns a tuple, but hp-fab expects a simple variable
  176. # reported upstream as https://bugs.launchpad.net/hplip/+bug/1914743
  177. Patch60: hplip-fab-import.patch
  178. # if an user tries to install scanner via hp-setup (printer/fax utility)
  179. # it fails further down - break out earlier with a message
  180. # reported upstream as https://bugs.launchpad.net/hplip/+bug/1916114
  181. Patch61: hplip-hpsetup-noscanjets.patch
  182. # 1951922 - hp-systray doesn't support a valid --qt5 option
  183. # reported upstream https://bugs.launchpad.net/hplip/+bug/1925480
  184. Patch62: hplip-systray-qt5.patch
  185. # 1963114 - patch for hplip firmware load timeout fix
  186. # reported upstream https://bugs.launchpad.net/hplip/+bug/1922404
  187. Patch63: hplip-hpfirmware-timeout.patch
  188. # 1976465 - [hplip] PY_SSIZE_T_CLEAN macro must be defined for '#' formats
  189. # reported upstream https://bugs.launchpad.net/hplip/+bug/1933973
  190. Patch64: hplip-pyssizet_clean.patch
  191. # 1985251 - Incorrect permission for gpg directory
  192. # reported upstream https://bugs.launchpad.net/hplip/+bug/1938442
  193. Patch65: hplip-gpgdir-perms.patch
  194. # 1987141 - hp-plugin installs malformed udev files
  195. # reported upstream https://bugs.launchpad.net/hplip/+bug/1847477
  196. Patch66: hplip-plugin-udevissues.patch
  197. # reported upstream https://bugs.launchpad.net/hplip/+bug/1938504
  198. Patch67: hplip-osname-mismatch.patch
  199. # 2015428 - python3.10 has Callable in collections.abc
  200. # reported as https://bugs.launchpad.net/hplip/+bug/1948801
  201. Patch68: hplip-py310-collections-abc.patch
  202. # 2015428 - python3.10 doesn't do an implicit conversion when passing decimals
  203. # fractions and others to an integer argument
  204. # reported as https://bugs.launchpad.net/hplip/+bug/1948801
  205. Patch69: hplip-qt5-convert2int.patch
  206. # Vine Patches
  207. Patch70: hplip-drop-imageProcessor.patch
  208. Patch80: hplip-3.16.5-hpijs.patch
  209. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  210. Requires: cups
  211. Requires: dbus
  212. Requires: dbus-python3
  213. Requires: foomatic
  214. Requires: ghostscript
  215. Requires: openssl
  216. Requires: %{name}-libs = %{version}-%{release}
  217. BuildRequires: avahi-devel
  218. BuildRequires: cups-devel
  219. BuildRequires: dbus-devel
  220. BuildRequires: desktop-file-utils
  221. BuildRequires: libusb1-devel
  222. BuildRequires: libjpeg-devel
  223. BuildRequires: net-snmp-devel
  224. BuildRequires: openssl-devel
  225. BuildRequires: python3-devel
  226. BuildRequires: python3-rpm-macros
  227. BuildRequires: python3-cups, cups
  228. BuildRequires: sane-devel
  229. BuildRequires: python3-qt5
  230. BuildRequires: libappstream-glib
  231. BuildRequires: gsettings-desktop-schemas
  232. # to force to use Qt5
  233. BuildConflicts: PyQt
  234. BuildConflicts: PyQt4
  235. Provides: hpijs = %{version}-%{release}
  236. Obsoletes: hpijs < %{version}-%{release}
  237. %description
  238. The Hewlett-Packard Linux Imaging and Printing Project provides
  239. drivers for HP printers and multi-function peripherals.
  240. It supports the DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000,
  241. Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900,
  242. PhotoSmart, DeskJet 990C, and PhotoSmart 100 series.
  243. %description -l ja
  244. Hewlett-Packard Linux Imaging and Printing Project は HP 製プリンタ及びプリンタ複合機用のドライバを提供します。
  245. これには DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000, Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900, PhotoSmart, DeskJet 990C, and PhotoSmart 100 シリーズ等が含まれます。
  246. #---------------------------------------------------------------------
  247. %package libs
  248. Summary: HPLIP libraries
  249. Summary(ja): HPLIP ライブラリ
  250. Group: system
  251. License: GPLv2+ and MIT
  252. Requires: python3
  253. %description libs
  254. Libraries needed by HPLIP.
  255. %description libs -l ja
  256. HPLIP 用のライブラリです。
  257. #---------------------------------------------------------------------
  258. %package gui
  259. Summary: HPLIP graphical tools
  260. Summary(ja): HPLIP 用 GUI ツール
  261. Group: publishing
  262. License: BSD
  263. Requires: %{name} = %{version}-%{release}
  264. Requires: python3-qt5
  265. #Requires: python3-reportlab
  266. Requires: python3-pygobject
  267. Requires: python3-pillow
  268. Requires: %{name}%{?_isa} = %{version}-%{release}
  269. Requires: libsane-hpaio%{?_isa} = %{version}-%{release}
  270. %description gui
  271. HP Device manager (toolbox) is a graphical utility including
  272. maintenance tools, supplies levels, and status information.
  273. %description gui -l ja
  274. HP デバイスマネージャ (toolbox) は、各種設定やインクや紙の残量確
  275. 認、ステータス情報の確認が行える HPLIP 用の GUI ユーティリティです。
  276. #---------------------------------------------------------------------
  277. %package -n libsane-hpaio
  278. Summary: SANE driver for scanners in HP's multi-function devices
  279. Summary(ja): HP 複合機のスキャナ用 SANE ドライバ
  280. Group: system
  281. License: GPLv2+
  282. Requires: %{name}-libs = %{version}-%{release}
  283. Requires: sane
  284. %description -n libsane-hpaio
  285. SANE driver for scanners in HP inkjet and laser based multi-function
  286. printers.
  287. %description -n libsane-hpaio -l ja
  288. HP インクジェット及びレーザープリンタ複合機のスキャナ機能を利用する
  289. 為の SANE ドライバです。
  290. #---------------------------------------------------------------------
  291. %debug_package
  292. #---------------------------------------------------------------------
  293. %prep
  294. %setup -q
  295. # The pstotiff filter is rubbish so replace it (launchpad #528394).
  296. %patch1 -p1 -b .pstotiff-is-rubbish
  297. # Fix compilation.
  298. %patch2 -p1 -b .strstr-const
  299. # Make utils.checkPyQtImport() look for the gui sub-package (bug #243273).
  300. %patch3 -p1 -b .ui-optional
  301. # Make sure to avoid handwritten asm.
  302. %patch4 -p1 -b .no-asm
  303. # Corrected several IEEE 1284 Device IDs using foomatic data.
  304. # Color LaserJet 2500 series (bug #659040)
  305. # LaserJet 4100 Series/2100 Series (bug #659039)
  306. %patch5 -p1 -b .deviceIDs-drv
  307. chmod +x %{SOURCE2}
  308. mv prnt/drv/hpijs.drv.in{,.deviceIDs-drv-hpijs}
  309. %{SOURCE2} prnt/drv/hpcups.drv.in \
  310. prnt/drv/hpijs.drv.in.deviceIDs-drv-hpijs \
  311. > prnt/drv/hpijs.drv.in
  312. # Move udev rules from /etc/ to /usr/lib/ (bug #748208).
  313. %patch6 -p1 -b .udev-rules
  314. # Retry when connecting to device fails (bug #532112).
  315. %patch7 -p1 -b .retry-open
  316. # Mark SNMP quirks in PPD for HP OfficeJet Pro 8500 (bug #581825).
  317. %patch8 -p1 -b .snmp-quirks
  318. # Fixed bogus low ink warnings from hpijs driver (bug #643643).
  319. %patch9 -p1 -b .hpijs-marker-supply
  320. # Clear old printer-state-reasons we used to manage (bug #510926).
  321. %patch10 -p1 -b .clear-old-state-reasons
  322. # Avoid busy loop in hpcups when backend has exited (bug #525944).
  323. %patch11 -p1 -b .hpcups-sigpipe
  324. # CUPS filters should use TMPDIR when available (bug #865603).
  325. %patch12 -p1 -b .logdir
  326. # Fixed Device ID parsing code in hpijs's dj9xxvip.c (bug #510926).
  327. %patch13 -p1 -b .bad-low-ink-warning
  328. # Add Device ID for
  329. # HP LaserJet Color M451dn (bug #1159380)
  330. for ppd_file in $(grep '^diff' %{PATCH14} | cut -d " " -f 4);
  331. do
  332. gunzip ${ppd_file#*/}.gz
  333. done
  334. %patch14 -p1 -b .deviceIDs-ppd
  335. for ppd_file in $(grep '^diff' %{PATCH14} | cut -d " " -f 4);
  336. do
  337. gzip -n ${ppd_file#*/}
  338. done
  339. # Fix ImageableArea for Laserjet 8150/9000 (bug #596298).
  340. for ppd_file in $(grep '^diff' %{PATCH15} | cut -d " " -f 4);
  341. do
  342. gunzip ${ppd_file#*/}.gz
  343. done
  344. %patch15 -p1 -b .ImageableArea
  345. for ppd_file in $(grep '^diff' %{PATCH15} | cut -d " " -f 4);
  346. do
  347. gzip -n ${ppd_file#*/}
  348. done
  349. # Scan to /var/tmp instead of /tmp (bug #1076954).
  350. %patch16 -p1 -b .scan-tmp
  351. # Treat logging before importing of logger module (bug #984699).
  352. %patch17 -p1 -b .log-stderr
  353. # Fix parsing of avahi-daemon output (bug #1096939).
  354. %patch18 -p1 -b .parsing
  355. # Fixed left/right margins for HP DeskJet 990C (LP #1405212).
  356. %patch20 -p1 -b .dj990c-margin
  357. # Fixed uses of strncpy throughout.
  358. %patch21 -p1 -b .strncpy
  359. # Don't try to write bytecode cache for hpfax backend (bug #1192761)
  360. # or hp-config_usb_printer (bug #1266903)
  361. # or hpps filter (bug #1241548).
  362. %patch22 -p1 -b .no-write-bytecode
  363. # Ignore IOError when logging output (bug #712537).
  364. %patch23 -p1 -b .silence-ioerror
  365. # [abrt] hplip: hp-scan:663:<module>:NameError: name 'source_option' is not defined (bug #1341304)
  366. %patch24 -p1 -b .sourceoption
  367. # hplip license problem (bug #1364711)
  368. %patch25 -p1 -b .no-ernie
  369. # hplip appdata
  370. %patch26 -p1 -b .appdata
  371. # hp-check shows 'CUPS incompatible or not running' even if CUPS is running (bug #1456467)
  372. %patch27 -p1 -b .check-cups
  373. # hp-firmware:NameError: name 'INTERACTIVE_MODE4' is not defined (bug #1533869)
  374. %patch30 -p1 -b .typo
  375. %patch31 -p1 -b .use-binary-str
  376. # TypeError: 'Error' object does not support indexing (bug #1564770)
  377. # upstream bug: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1718129
  378. # in python2 it was possible to acces Exception message by index [0].
  379. # in python3 this is no longer possible and it causes TypeError.
  380. %patch32 -p1 -b .error-print-fix
  381. # TypeError: not all arguments converted during string formatting (bug #1566938)
  382. # upstream bug: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/616450
  383. # bug caused by more arguments than argument specifiers in formatted string
  384. %patch33 -p1 -b .hpfax-import-error-print
  385. # 'WifiSetupDialog' object has no attribute 'wifiobj' (bug #1626877)
  386. # upstream bug: https://bugs.launchpad.net/hplip/+bug/1752060
  387. # bug caused by typo in wifisetupdialog wifiObj property call
  388. %patch34 -p1 -b .wifisetup-bad-call-fix
  389. # have pool of keyservers to choose
  390. %patch35 -p1 -b .keyserver
  391. # TypeError: argument 5 has unexpected type 'StandardButtons' (bug #1594602)
  392. # upstream bug: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1745383
  393. # bug caused by typo in QMessageBox constructor call
  394. # this patch fixes more of those typos - some fixed by tkorbar, some taken from ubuntu fix
  395. %patch36 -p1 -b .qmsgbox-typos-fix
  396. # removal of non open source code, taken from ubuntu
  397. #patch37 -p1 -b .libimageprocessor-removal
  398. %__rm prnt/hpcups/libImageProcessor-x86*
  399. %patch38 -p1 -b .toolbox-crash
  400. # part of https://bugzilla.redhat.com/show_bug.cgi?id=1666076
  401. %patch39 -p1 -b .add-ppd-crash
  402. # 1671513 - after 'successful' plugin installation it is not installed
  403. %patch40 -p1 -b .missing-links
  404. # 1684434 - Scanning broken for HP LaserJet 3052
  405. %patch41 -p1 -b .hp-laserjet-3052-broken-scanning
  406. # 1694663 - Cannot scan with M281fdw LaserJet - failed: Error during device I/O (part 1)
  407. %patch42 -p1 -b .hpmud-string-parse
  408. # 1694663 - Cannot scan with M281fdw LaserJet - failed: Error during device I/O (part 2)
  409. %patch43 -p1 -b .m278-m281-needs-plugin
  410. # 1695716 - hpcups crashes in Compressor destructor
  411. %patch44 -p1 -b .hpcups-crash
  412. # fixing issues found by coverity scan
  413. %patch45 -p1 -b .covscan
  414. # segfault during logging (1727162)
  415. %patch46 -p1 -b .logging-segfault
  416. # 1738321 - [abrt] hp-systray:BlockingIOError: [Errno 11] Resource temporarily unavailable
  417. %patch47 -p1 -b .systray-blockerror
  418. # 1742949, 1740132, 1739855 - missing drivers
  419. %patch48 -p1 -b .missing-drivers
  420. # 1772698 - Can't setup printer (HP LJ 2200): no attributes found in model.dat
  421. %patch49 -p1 -b .model-mismatch
  422. # 1573430 - sixext.py:to_string_utf8:UnicodeDecodeError: 'utf-8' codec can't decode bytes
  423. %patch50 -p1 -b .unicodeerror
  424. %patch51 -p1 -b .Wreturn-fix
  425. %patch52 -p1 -b .configure-python
  426. %patch53 -p1 -b .dialog-infinite-loop
  427. # 1590014 - hplip PPD search doesn't expect '-' in device name
  428. %patch54 -p1 -b .find-driver
  429. # 1833308 - hp-clean cannot clean HP PSC1410 - Device I/O error
  430. %patch55 -p1 -b .clean-ldl
  431. %patch56 -p1 -b .revert-plugins
  432. # 1861055 - hplip: remove threading.Thread.isAlive method calls - use threading.Thread.is_alive()
  433. #patch57 -p1 -b .thread-isalive-removed
  434. # timed.h is removed from glibc
  435. #patch58 -p1 -b .timed-removed
  436. # 1899410 - non-sudoers cannot authenticate because of bad username in prompt
  437. %patch59 -p1 -b .check-userperms
  438. # 1919556 - hp-fab crashed: QFileDialog.getOpenFileName is not used correctly
  439. %patch60 -p1 -b .fab-import
  440. # if an user tries to install scanner via hp-setup (printer/fax utility)
  441. # it fails further down - break out earlier with a message
  442. %patch61 -p1 -b .hpsetup-noscanjets
  443. # 1951922 - hp-systray doesn't support a valid --qt5 option
  444. %patch62 -p1 -b .systray-qt5
  445. # 1963114 - patch for hplip firmware load timeout fix
  446. %patch63 -p1 -b .hpfirmware-timeout
  447. # 1976465 - [hplip] PY_SSIZE_T_CLEAN macro must be defined for '#' formats
  448. %patch64 -p1 -b .pyssizet_clean
  449. # 1985251 - Incorrect permission for gpg directory
  450. %patch65 -p1 -b .gpgdir-perms
  451. # 1987141 - hp-plugin installs malformed udev files
  452. %patch66 -p1 -b .hpplugin-udevperms
  453. # upstream bug https://bugs.launchpad.net/hplip/+bug/1938504
  454. %patch67 -p1 -b .osname-mismatch
  455. # 2015428 - python3.10 has Callable in collections.abc
  456. %patch68 -p1 -b .abc
  457. # 2015428 - python3.10 doesn't do an implicit conversion when passing decimals
  458. # fractions and others to an integer argument
  459. %patch69 -p1 -b .qt5-convert2int.patch
  460. # vine
  461. %patch70 -p1
  462. %patch80 -p1 -b .hpijs
  463. sed -i.duplex-constraints \
  464. -e 's,\(UIConstraints.* \*Duplex\),//\1,' \
  465. prnt/drv/hpcups.drv.in
  466. # Change shebang /usr/bin/env python -> /usr/bin/python3 (bug #618351).
  467. find -name '*.py' -print0 | xargs -0 \
  468. sed -i.env-python -e 's,^#!/usr/bin/env python,#!%{__python3},'
  469. sed -i.env-python -e 's,^#!/usr/bin/env python,#!%{__python3},' \
  470. prnt/filters/hpps \
  471. fax/filters/pstotiff
  472. rm locatedriver
  473. cp -p %{SOURCE4} %{SOURCE5} ppd/hpcups
  474. %build
  475. # Work-around Makefile.am imperfections.
  476. sed -i 's|^AM_INIT_AUTOMAKE|AM_INIT_AUTOMAKE([foreign])|g' configure.in
  477. touch NEWS README AUTHORS ChangeLog
  478. autoreconf -fiv
  479. %configure \
  480. --disable-imageProcessor-build \
  481. --enable-scan-build --enable-gui-build --enable-fax-build \
  482. --disable-foomatic-rip-hplip-install --enable-pp-build \
  483. --disable-qt4 --enable-qt5 \
  484. --enable-hpcups-install --enable-cups-drv-install \
  485. --enable-foomatic-drv-install --enable-dbus-build \
  486. --enable-hpijs-install \
  487. --enable-policykit \
  488. --with-mimedir=%{_datadir}/cups/mime \
  489. --with-cupsbackenddir=%{_libdir}/cups/backend \
  490. --with-cupsfilterdir=%{_libdir}/cups/filter \
  491. --with-hpppddir=%{_datadir}/foomatic/db/source/PPD/HP \
  492. PYTHON=%{__python3}
  493. make %{?_smp_mflags}
  494. %install
  495. rm -rf $RPM_BUILD_ROOT
  496. make install DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3} rulesdir=/lib/udev/rules.d
  497. # Create /run/hplip & /var/lib/hp
  498. mkdir -p $RPM_BUILD_ROOT/run/hplip
  499. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/hp
  500. # install modified .desktop
  501. #{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/applications/hplip.desktop
  502. # install /usr/lib/tmpfiles.d/hplip.conf (bug #1015831)
  503. mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d
  504. cat > $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/hplip.conf <<EOF
  505. # See tmpfiles.d(5) for details
  506. d /run/hplip 0775 root lp -
  507. EOF
  508. # remove unpacked files.
  509. rm -rf %{buildroot}%{_sysconfdir}/sane.d \
  510. %{buildroot}%{_docdir} \
  511. %{buildroot}%{_datadir}/hal/fdi \
  512. %{buildroot}%{_datadir}/hplip/pkservice.py \
  513. %{buildroot}%{_bindir}/hp-pkservice \
  514. %{buildroot}%{_datadir}/hplip/locatedriver* \
  515. %{buildroot}%{_datadir}/hplip/dat2drv*
  516. rm -f %{buildroot}%{_bindir}/hp-logcapture \
  517. %{buildroot}%{_bindir}/hp-doctor \
  518. %{buildroot}%{_bindir}/hp-pqdiag \
  519. %{buildroot}%{_datadir}/hplip/logcapture.py \
  520. %{buildroot}%{_datadir}/hplip/doctor.py \
  521. %{buildroot}%{_datadir}/hplip/pqdiag.py
  522. rm -f %{buildroot}%{_bindir}/foomatic-rip \
  523. %{buildroot}%{_libdir}/cups/filter/foomatic-rip \
  524. %{buildroot}%{_libdir}/*.la \
  525. %{buildroot}%{python3_sitearch}/*.la \
  526. %{buildroot}%{_libdir}/libhpip.so \
  527. %{buildroot}%{_libdir}/libhpipp.so \
  528. %{buildroot}%{_libdir}/libhpdiscovery.so \
  529. %{buildroot}%{_libdir}/sane/*.la \
  530. %{buildroot}%{_datadir}/cups/model/foomatic-ppds \
  531. %{buildroot}%{_datadir}/applications/hplip.desktop \
  532. %{buildroot}%{_datadir}/ppd/HP/*.ppd
  533. mkdir -p %{buildroot}%{_datadir}/metainfo
  534. cp %{SOURCE3} %{buildroot}%{_datadir}/metainfo/
  535. mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{16x16,32x32,64x64}/apps
  536. install -p -m644 %{buildroot}%{_datadir}/hplip/data/images/16x16/hp_logo.png \
  537. %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/hp_logo.png
  538. install -p -m644 %{buildroot}%{_datadir}/hplip/data/images/32x32/hp_logo.png \
  539. %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/hp_logo.png
  540. install -p -m644 %{buildroot}%{_datadir}/hplip/data/images/64x64/hp_logo.png \
  541. %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/hp_logo.png
  542. mkdir -p %{buildroot}%{_datadir}/applications
  543. sed -i -e '/^Categories=/d' hplip.desktop
  544. # Encoding key is deprecated
  545. sed -i -e '/^Encoding=/d' hplip.desktop
  546. desktop-file-validate hplip.desktop
  547. desktop-file-install \
  548. --dir %{buildroot}/%{_datadir}/applications \
  549. --add-category System \
  550. --add-category Settings \
  551. --add-category HardwareSettings \
  552. hplip.desktop
  553. appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainfo.xml
  554. # install hp-uiscan desktop file
  555. sed -i 's/\/usr\/share\/icons\/Humanity\/devices\/48\/printer\.svg/hp_logo/' hp-uiscan.desktop
  556. # Regenerate hpcups PPDs on upgrade if necessary (bug #579355).
  557. #install -p -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/hpcups-update-ppds
  558. %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/sane.d/dll.d
  559. echo hpaio > $RPM_BUILD_ROOT%{_sysconfdir}/sane.d/dll.d/hpaio
  560. # Images in docdir should not be executable (bug #440552).
  561. find doc/images -type f -exec chmod 644 {} \;
  562. # Create an empty plugins directory to make sure it gets the right
  563. # SELinux file context (bug #564551).
  564. %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/hplip/prnt/plugins
  565. # Remove files we don't want to package.
  566. rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/hpaio.desc
  567. rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/hplip-install
  568. rm -rf $RPM_BUILD_ROOT%{_datadir}/hplip/install.*
  569. rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/uninstall.*
  570. rm -f $RPM_BUILD_ROOT%{_bindir}/hp-uninstall
  571. rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/upgrade.*
  572. rm -f $RPM_BUILD_ROOT%{_bindir}/hp-upgrade
  573. rm -f $RPM_BUILD_ROOT%{_bindir}/hp-config_usb_printer
  574. rm -f $RPM_BUILD_ROOT%{_unitdir}/hplip-printer@.service
  575. rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/config_usb_printer.*
  576. rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/hpijs.drv.in.template
  577. rm -f $RPM_BUILD_ROOT%{_datadir}/cups/mime/pstotiff.types
  578. rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/fax/pstotiff*
  579. rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/systemd
  580. # The systray applet doesn't work properly (displays icon as a
  581. # window), so don't ship the launcher yet.
  582. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
  583. %clean
  584. rm -rf $RPM_BUILD_ROOT
  585. %files
  586. %defattr(-,root,root)
  587. %doc COPYING doc/*
  588. #%doc %{_datadir}/doc/%{name}-%{version}
  589. %{_bindir}/hp-align
  590. %{_bindir}/hp-clean
  591. %{_bindir}/hp-colorcal
  592. %{_bindir}/hp-devicesettings
  593. %{_bindir}/hp-diagnose_plugin
  594. %{_bindir}/hp-diagnose_queues
  595. %{_bindir}/hp-fab
  596. %{_bindir}/hp-faxsetup
  597. %{_bindir}/hp-firmware
  598. %{_bindir}/hp-info
  599. %{_bindir}/hp-levels
  600. %{_bindir}/hp-linefeedcal
  601. %{_bindir}/hp-makecopies
  602. %{_bindir}/hp-makeuri
  603. %{_bindir}/hp-plugin
  604. %{_bindir}/hp-printsettings
  605. %{_bindir}/hp-probe
  606. %{_bindir}/hp-query
  607. %{_bindir}/hp-scan
  608. %{_bindir}/hp-sendfax
  609. %{_bindir}/hp-setup
  610. %{_bindir}/hp-testpage
  611. %{_bindir}/hp-timedate
  612. %{_bindir}/hp-unload
  613. %{_bindir}/hp-wificonfig
  614. %{_libdir}/cups/backend/hp
  615. %{_libdir}/cups/backend/hpfax
  616. %{_libdir}/cups/filter/hpcups
  617. %{_libdir}/cups/filter/hpcupsfax
  618. %{_libdir}/cups/filter/hpps
  619. %{_libdir}/cups/filter/pstotiff
  620. %{_datadir}/cups/mime/pstotiff.convs
  621. # Files
  622. %{_datadir}/hplip/align.py*
  623. %{_datadir}/hplip/check-plugin.py*
  624. %{_datadir}/hplip/clean.py*
  625. %{_datadir}/hplip/colorcal.py*
  626. %{_datadir}/hplip/devicesettings.py*
  627. %{_datadir}/hplip/diagnose_plugin.py*
  628. %{_datadir}/hplip/diagnose_queues.py*
  629. %{_datadir}/hplip/fab.py*
  630. %{_datadir}/hplip/fax
  631. %{_datadir}/hplip/faxsetup.py*
  632. %{_datadir}/hplip/firmware.py*
  633. %{_datadir}/hplip/hpdio.py*
  634. %{_datadir}/hplip/hplip_clean.sh
  635. %{_datadir}/hplip/hpssd*
  636. %{_datadir}/hplip/info.py*
  637. %{_datadir}/hplip/__init__.py*
  638. %{_datadir}/hplip/levels.py*
  639. %{_datadir}/hplip/linefeedcal.py*
  640. %{_datadir}/hplip/makecopies.py*
  641. %{_datadir}/hplip/makeuri.py*
  642. %{_datadir}/hplip/plugin.py*
  643. %{_datadir}/hplip/printsettings.py*
  644. %{_datadir}/hplip/probe.py*
  645. %{_datadir}/hplip/query.py*
  646. %{_datadir}/hplip/scan.py*
  647. %{_datadir}/hplip/sendfax.py*
  648. %{_datadir}/hplip/setup.py*
  649. %{_datadir}/hplip/testpage.py*
  650. %{_datadir}/hplip/timedate.py*
  651. %{_datadir}/hplip/unload.py*
  652. %{_datadir}/hplip/wificonfig.py*
  653. # Directories
  654. %{_datadir}/hplip/base
  655. %{_datadir}/hplip/copier
  656. %{_datadir}/hplip/data/ldl
  657. %{_datadir}/hplip/data/localization
  658. %{_datadir}/hplip/data/pcl
  659. %{_datadir}/hplip/data/ps
  660. %{_datadir}/hplip/installer
  661. %{_datadir}/hplip/pcard
  662. %{_datadir}/hplip/prnt
  663. %{_datadir}/hplip/scan
  664. %{_localstatedir}/lib/hp
  665. %dir %attr(0775,root,lp) /run/hplip
  666. %{_prefix}/lib/tmpfiles.d/hplip.conf
  667. %dir %{_sysconfdir}/hp
  668. %config(noreplace) %{_sysconfdir}/hp/hplip.conf
  669. /lib/udev/rules.d/56-hpmud.rules
  670. %dir %{_datadir}/hplip
  671. %dir %{_datadir}/hplip/data
  672. %{_datadir}/hplip/data/models
  673. %{_bindir}/hpijs
  674. #{_bindir}/hpcups-update-ppds
  675. %{_datadir}/cups/drv/*
  676. %dir %{_datadir}/foomatic/db/source/PPD/HP
  677. %{_datadir}/foomatic/db/source/PPD/HP/*
  678. %{_sysconfdir}/dbus-1/system.d/com.hp.hplip.conf
  679. %{_datadir}/dbus-1/system-services/com.hp.hplip.service
  680. %{_datadir}/polkit-1/actions/com.hp.hplip.policy
  681. %files libs
  682. %defattr(-,root,root)
  683. %{_libdir}/libhpip.so.*
  684. # The so symlink is required here (see bug #489059).
  685. %{_libdir}/libhpmud.so*
  686. %{_libdir}/libhpdiscovery.so*
  687. %{_libdir}/libhpipp.so*
  688. # Python extension
  689. %{python3_sitearch}/*
  690. %files gui
  691. %defattr(-,root,root)
  692. %{_bindir}/hp-check
  693. %{_bindir}/hp-print
  694. %{_bindir}/hp-systray
  695. %{_bindir}/hp-toolbox
  696. %{_bindir}/hp-uiscan
  697. %{_datadir}/applications/*.desktop
  698. %{_datadir}/metainfo/hplip.metainfo.xml
  699. # Files
  700. %{_datadir}/icons/hicolor/*/apps/*
  701. %{_datadir}/hplip/check.py*
  702. %{_datadir}/hplip/print.py*
  703. %{_datadir}/hplip/systray.py*
  704. %{_datadir}/hplip/toolbox.py*
  705. %{_datadir}/hplip/uiscan.py*
  706. # Directories
  707. %{_datadir}/hplip/data/images
  708. %{_datadir}/hplip/ui5
  709. %{_datadir}/hplip/uiscan.py*
  710. %files -n libsane-hpaio
  711. %defattr(-,root,root)
  712. %{_libdir}/sane/libsane-hpaio*
  713. %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
  714. %changelog
  715. * Wed Nov 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.21.10-1
  716. - new upstream release.
  717. - dropped Patch37 and 57: fixed in upstream.
  718. - imported Patch59-69 from rawhide.
  719. - dropped ldconfig scriptlets.
  720. * Tue Sep 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.20.6-2
  721. - rebuilt with net-snmp-5.9.
  722. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.20.6-1
  723. - new upstream release.
  724. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.18.12-1
  725. - dropped R:gksu.
  726. - imported Patche36-47 from rawhide.
  727. - switched to python3.
  728. - switched gui to Qt5.
  729. * Wed Nov 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.18.10-1
  730. - new upstream release.
  731. - updated Patch12.
  732. - imported Patche24-35 from rawhide.
  733. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.16.5-1
  734. - new upstream release.
  735. - dropped all patches.
  736. - imported all patches from rawhide.
  737. - added Patch80 to fix error in building hpijs.
  738. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.15.2-2
  739. - rebuild with openssl-1.0.2
  740. * Thu Mar 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.15.2-1
  741. - updated to 3.15.2
  742. - updated Source1
  743. - renumbered former Patch 0 and 1 to Patch 70 and 6
  744. - built with libusb1
  745. - added BR: desktop-file-utils
  746. * Wed Mar 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.11.5-5
  747. - rebuild with net-snmp-5.7.1
  748. * Wed Mar 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.11.5-5
  749. - rebuild with net-snmp-5.7.1
  750. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.11.5-4
  751. - rebuild with python-2.7.2
  752. * Mon Jun 13 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 3.11.5-3
  753. - add Obsoletes: hpijs < 3.10
  754. * Sun Jun 12 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 3.11.5-2
  755. - change configure option to --enable-hpijs-install
  756. - add Provides: hpijs
  757. - change ppd installation path to %{_datadir}/foomatic/db/source/PPD/HP
  758. - update Source1 (hplip.desktop.vine)
  759. - update Patch0 (hplip-3.11.5-gksu.patch)
  760. - add Patch1 to fix udev old syntax (hplip-udev-rules.patch)
  761. * Tue Mar 15 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 3.11.5-1
  762. - new upstream release
  763. - change configure option: disable qt3 and enable qt4
  764. - add configure option: --enable-foomatic-drv-install
  765. - add BuildRequires: openssl-devel
  766. - add Requires: dbus-python
  767. - add Requires: notify-python (gui)
  768. - change Requires: PyQt to PyQt4 (gui)
  769. - add BuildConflicts: PyQt
  770. - add ppds below %{_datadir}/cups/model/foomatic/hp-*
  771. because foomatic (>= 4.0.3) drop PPDs for HP printers.
  772. * Fri Jul 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.4b-3
  773. - add Patch0 to require root privilege (via gksu) when adding printer
  774. - add Requires: gksu
  775. * Mon Jun 08 2009 Shu KONNO <owa@bg.wakwak.com> 3.9.4b-2
  776. - added --with-cupsfilterdir to configure option
  777. - use python_sitearch macro instead of python_platlib
  778. * Sun Jun 07 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.4b-1
  779. - new upstream release
  780. - split libraries to -libs sub package
  781. - update configure option
  782. add --enable-dbus-build, --enable-qt3, --disable-qt4
  783. * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.12-1vl5
  784. - rebuilt with python-2.5.2
  785. - added python_platlib macro
  786. - applied new versioning policy and spec in utf-8
  787. * Sun Jan 6 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.12-0vl2
  788. - added --with-cupsbackenddir=%%{_libdir}/cups/backend to configure
  789. * Thu Jan 3 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.7.12-0vl1
  790. - new upstream release
  791. - build with net-snmp-5.4.1
  792. * Thu Jun 28 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.7.6-0vl1
  793. - initial build for Vine Linux