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.15.2 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | |
---|
8 | License: GPLv2+, MIT and BSD |
---|
9 | Group: Applications/Publishing |
---|
10 | URL: http://hplip.sourceforge.net/ |
---|
11 | |
---|
12 | Source0: http://downloads.sourceforge.net/sourceforge/hplip/hplip-%{version}.tar.gz |
---|
13 | #Source1: hpcups-update-ppds.sh |
---|
14 | Source1: hplip.desktop.vine |
---|
15 | Source2: copy-deviceids.py |
---|
16 | |
---|
17 | Patch1: hplip-pstotiff-is-rubbish.patch |
---|
18 | Patch2: hplip-strstr-const.patch |
---|
19 | Patch3: hplip-ui-optional.patch |
---|
20 | Patch4: hplip-no-asm.patch |
---|
21 | Patch5: hplip-deviceIDs-drv.patch |
---|
22 | Patch6: hplip-udev-rules.patch |
---|
23 | Patch7: hplip-retry-open.patch |
---|
24 | Patch8: hplip-snmp-quirks.patch |
---|
25 | Patch9: hplip-hpijs-marker-supply.patch |
---|
26 | Patch10: hplip-clear-old-state-reasons.patch |
---|
27 | Patch11: hplip-hpcups-sigpipe.patch |
---|
28 | Patch12: hplip-logdir.patch |
---|
29 | Patch13: hplip-bad-low-ink-warning.patch |
---|
30 | Patch14: hplip-deviceIDs-ppd.patch |
---|
31 | Patch15: hplip-ppd-ImageableArea.patch |
---|
32 | Patch16: hplip-scan-tmp.patch |
---|
33 | Patch17: hplip-log-stderr.patch |
---|
34 | Patch18: hplip-avahi-parsing.patch |
---|
35 | Patch19: hplip-reportlab.patch |
---|
36 | Patch20: hplip-dj990c-margin.patch |
---|
37 | Patch21: hplip-strncpy.patch |
---|
38 | Patch22: hplip-no-write-bytecode.patch |
---|
39 | Patch23: hplip-silence-ioerror.patch |
---|
40 | |
---|
41 | # Vine Patches |
---|
42 | Patch70: hplip-3.11.5-gksu.patch |
---|
43 | #Patch1: hplip-udev-rules.patch |
---|
44 | |
---|
45 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
46 | Requires: cups |
---|
47 | Requires: dbus |
---|
48 | Requires: dbus-python |
---|
49 | Requires: foomatic |
---|
50 | Requires: ghostscript |
---|
51 | Requires: openssl |
---|
52 | Requires: python-imaging |
---|
53 | Requires: %{name}-libs = %{version}-%{release} |
---|
54 | Requires: gksu |
---|
55 | BuildRequires: cups-devel |
---|
56 | BuildRequires: dbus-devel |
---|
57 | BuildRequires: desktop-file-utils |
---|
58 | BuildRequires: libusb1-devel |
---|
59 | BuildRequires: libjpeg-devel |
---|
60 | BuildRequires: net-snmp-devel |
---|
61 | BuildRequires: openssl-devel |
---|
62 | BuildRequires: python-devel >= 2.3 |
---|
63 | BuildRequires: python-cups, cups |
---|
64 | BuildRequires: sane-devel |
---|
65 | BuildRequires: PyQt4-devel |
---|
66 | # to force to use PyQt4 |
---|
67 | BuildConflicts: PyQt |
---|
68 | |
---|
69 | Provides: hpijs = %{version}-%{release} |
---|
70 | Obsoletes: hpijs < %{version}-%{release} |
---|
71 | |
---|
72 | |
---|
73 | Vendor: Project Vine |
---|
74 | Distribution: Vine Linux |
---|
75 | Packager: kazutaka |
---|
76 | |
---|
77 | %description |
---|
78 | The Hewlett-Packard Linux Imaging and Printing Project provides |
---|
79 | drivers for HP printers and multi-function peripherals. |
---|
80 | |
---|
81 | It supports the DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000, |
---|
82 | Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900, |
---|
83 | PhotoSmart, DeskJet 990C, and PhotoSmart 100 series. |
---|
84 | |
---|
85 | %description -l ja |
---|
86 | Hewlett-Packard Linux Imaging and Printing Project は HP 製プリンタ及びプリンタ複合機用のドライバを提供します。 |
---|
87 | |
---|
88 | これには DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000, Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900, PhotoSmart, DeskJet 990C, and PhotoSmart 100 シリーズ等が含まれます。 |
---|
89 | |
---|
90 | #--------------------------------------------------------------------- |
---|
91 | |
---|
92 | %package libs |
---|
93 | Summary: HPLIP libraries |
---|
94 | Summary(ja): HPLIP ライブラリ |
---|
95 | Group: System Environment/Libraries |
---|
96 | License: GPLv2+ and MIT |
---|
97 | Requires: python3 |
---|
98 | |
---|
99 | %description libs |
---|
100 | Libraries needed by HPLIP. |
---|
101 | |
---|
102 | %description libs -l ja |
---|
103 | HPLIP 用のライブラリです。 |
---|
104 | |
---|
105 | #--------------------------------------------------------------------- |
---|
106 | |
---|
107 | %package gui |
---|
108 | Summary: HPLIP graphical tools |
---|
109 | Summary(ja): HPLIP 用 GUI ツール |
---|
110 | Group: Applications/System |
---|
111 | License: BSD |
---|
112 | Requires: %{name} = %{version}-%{release} |
---|
113 | Requires: PyQt4 |
---|
114 | Requires: notify-python |
---|
115 | |
---|
116 | %description gui |
---|
117 | HP Device manager (toolbox) is a graphical utility including |
---|
118 | maintenance tools, supplies levels, and status information. |
---|
119 | |
---|
120 | %description gui -l ja |
---|
121 | HP デバイスマネージャ (toolbox) は、各種設定やインクや紙の残量確 |
---|
122 | 認、ステータス情報の確認が行える HPLIP 用の GUI ユーティリティです。 |
---|
123 | |
---|
124 | #--------------------------------------------------------------------- |
---|
125 | |
---|
126 | %package -n libsane-hpaio |
---|
127 | Summary: SANE driver for scanners in HP's multi-function devices |
---|
128 | Summary(ja): HP 複合機のスキャナ用 SANE ドライバ |
---|
129 | Group: System Environment/Libraries |
---|
130 | License: GPLv2+ |
---|
131 | Requires: %{name}-libs = %{version}-%{release} |
---|
132 | Requires: sane |
---|
133 | |
---|
134 | %description -n libsane-hpaio |
---|
135 | SANE driver for scanners in HP inkjet and laser based multi-function |
---|
136 | printers. |
---|
137 | |
---|
138 | %description -n libsane-hpaio -l ja |
---|
139 | HP インクジェット及びレーザープリンタ複合機のスキャナ機能を利用する |
---|
140 | 為の SANE ドライバです。 |
---|
141 | |
---|
142 | #--------------------------------------------------------------------- |
---|
143 | |
---|
144 | %prep |
---|
145 | %setup -q |
---|
146 | #patch1 -p1 -b .udev-rules |
---|
147 | |
---|
148 | # The pstotiff filter is rubbish so replace it (launchpad #528394). |
---|
149 | %patch1 -p1 -b .pstotiff-is-rubbish |
---|
150 | |
---|
151 | # Fix compilation. |
---|
152 | %patch2 -p1 -b .strstr-const |
---|
153 | |
---|
154 | # Make utils.checkPyQtImport() look for the gui sub-package (bug #243273). |
---|
155 | %patch3 -p1 -b .ui-optional |
---|
156 | |
---|
157 | # Make sure to avoid handwritten asm. |
---|
158 | %patch4 -p1 -b .no-asm |
---|
159 | |
---|
160 | # Corrected several IEEE 1284 Device IDs using foomatic data. |
---|
161 | # Color LaserJet 2500 series (bug #659040) |
---|
162 | # LaserJet 4100 Series/2100 Series (bug #659039) |
---|
163 | %patch5 -p1 -b .deviceIDs-drv |
---|
164 | chmod +x %{SOURCE2} |
---|
165 | mv prnt/drv/hpijs.drv.in{,.deviceIDs-drv-hpijs} |
---|
166 | %{SOURCE2} prnt/drv/hpcups.drv.in \ |
---|
167 | prnt/drv/hpijs.drv.in.deviceIDs-drv-hpijs \ |
---|
168 | > prnt/drv/hpijs.drv.in |
---|
169 | |
---|
170 | # Don't add printer queue, just check plugin. |
---|
171 | # Move udev rules from /etc/ to /usr/lib/ (bug #748208). |
---|
172 | %patch6 -p1 -b .udev-rules |
---|
173 | |
---|
174 | # Retry when connecting to device fails (bug #532112). |
---|
175 | %patch7 -p1 -b .retry-open |
---|
176 | |
---|
177 | # Mark SNMP quirks in PPD for HP OfficeJet Pro 8500 (bug #581825). |
---|
178 | %patch8 -p1 -b .snmp-quirks |
---|
179 | |
---|
180 | # Fixed bogus low ink warnings from hpijs driver (bug #643643). |
---|
181 | %patch9 -p1 -b .hpijs-marker-supply |
---|
182 | |
---|
183 | # Clear old printer-state-reasons we used to manage (bug #510926). |
---|
184 | %patch10 -p1 -b .clear-old-state-reasons |
---|
185 | |
---|
186 | # Avoid busy loop in hpcups when backend has exited (bug #525944). |
---|
187 | %patch11 -p1 -b .hpcups-sigpipe |
---|
188 | |
---|
189 | # CUPS filters should use TMPDIR when available (bug #865603). |
---|
190 | %patch12 -p1 -b .logdir |
---|
191 | |
---|
192 | # Fixed Device ID parsing code in hpijs's dj9xxvip.c (bug #510926). |
---|
193 | %patch13 -p1 -b .bad-low-ink-warning |
---|
194 | |
---|
195 | # Add Device ID for |
---|
196 | # HP LaserJet Color M451dn (bug #1159380) |
---|
197 | for ppd_file in $(grep '^diff' %{PATCH14} | cut -d " " -f 4); |
---|
198 | do |
---|
199 | gunzip ${ppd_file#*/}.gz |
---|
200 | done |
---|
201 | %patch14 -p1 -b .deviceIDs-ppd |
---|
202 | for ppd_file in $(grep '^diff' %{PATCH14} | cut -d " " -f 4); |
---|
203 | do |
---|
204 | gzip -n ${ppd_file#*/} |
---|
205 | done |
---|
206 | |
---|
207 | # Fix ImageableArea for Laserjet 8150/9000 (bug #596298). |
---|
208 | for ppd_file in $(grep '^diff' %{PATCH15} | cut -d " " -f 4); |
---|
209 | do |
---|
210 | gunzip ${ppd_file#*/}.gz |
---|
211 | done |
---|
212 | %patch15 -p1 -b .ImageableArea |
---|
213 | for ppd_file in $(grep '^diff' %{PATCH15} | cut -d " " -f 4); |
---|
214 | do |
---|
215 | gzip -n ${ppd_file#*/} |
---|
216 | done |
---|
217 | |
---|
218 | # Scan to /var/tmp instead of /tmp (bug #1076954). |
---|
219 | %patch16 -p1 -b .scan-tmp |
---|
220 | |
---|
221 | # Treat logging before importing of logger module (bug #984699). |
---|
222 | %patch17 -p1 -b .log-stderr |
---|
223 | |
---|
224 | # Fix parsing of avahi-daemon output (bug #1096939). |
---|
225 | %patch18 -p1 -b .parsing |
---|
226 | |
---|
227 | # Fixed version comparisons for x.y.z-style versions such as |
---|
228 | # reportlab (bug #1121433). |
---|
229 | %patch19 -p1 -b .reportlab |
---|
230 | |
---|
231 | # Fixed left/right margins for HP DeskJet 990C (LP #1405212). |
---|
232 | %patch20 -p1 -b .dj990c-margin |
---|
233 | |
---|
234 | # Fixed uses of strncpy throughout. |
---|
235 | %patch21 -p1 -b .strncpy |
---|
236 | |
---|
237 | # Don't try to write bytecode cache for hpfax backend (bug #1192761). |
---|
238 | %patch22 -p1 -b .no-write-bytecode |
---|
239 | |
---|
240 | # Ignore IOError when logging output (bug #712537). |
---|
241 | %patch23 -p1 -b .silence-ioerror |
---|
242 | |
---|
243 | %patch70 -p1 -b .gksu |
---|
244 | |
---|
245 | sed -i.duplex-constraints \ |
---|
246 | -e 's,\(UIConstraints.* \*Duplex\),//\1,' \ |
---|
247 | prnt/drv/hpcups.drv.in |
---|
248 | |
---|
249 | # Change shebang /usr/bin/env python -> /usr/bin/python3 (bug #618351). |
---|
250 | #find -name '*.py' -print0 | xargs -0 \ |
---|
251 | # sed -i.env-python -e 's,^#!/usr/bin/env python,#!%{__python3},' |
---|
252 | |
---|
253 | %build |
---|
254 | %configure \ |
---|
255 | --enable-scan-build --enable-gui-build --enable-fax-build \ |
---|
256 | --disable-foomatic-rip-hplip-install --enable-pp-build \ |
---|
257 | --enable-qt4 --enable-hpcups-install --enable-cups-drv-install \ |
---|
258 | --enable-foomatic-drv-install --enable-dbus-build \ |
---|
259 | --enable-hpijs-install \ |
---|
260 | --disable-policykit \ |
---|
261 | --with-mimedir=%{_datadir}/cups/mime \ |
---|
262 | --with-cupsbackenddir=%{_libdir}/cups/backend \ |
---|
263 | --with-cupsfilterdir=%{_libdir}/cups/filter \ |
---|
264 | --with-hpppddir=%{_datadir}/foomatic/db/source/PPD/HP |
---|
265 | |
---|
266 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
267 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
268 | |
---|
269 | make |
---|
270 | |
---|
271 | |
---|
272 | %install |
---|
273 | rm -rf $RPM_BUILD_ROOT |
---|
274 | make install DESTDIR=$RPM_BUILD_ROOT rulesdir=/lib/udev/rules.d |
---|
275 | |
---|
276 | # Create /run/hplip |
---|
277 | mkdir -p $RPM_BUILD_ROOT/run/hplip |
---|
278 | |
---|
279 | # install modified .desktop |
---|
280 | #{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/applications/hplip.desktop |
---|
281 | |
---|
282 | # install /usr/lib/tmpfiles.d/hplip.conf (bug #1015831) |
---|
283 | mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d |
---|
284 | cat > $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/hplip.conf <<EOF |
---|
285 | # See tmpfiles.d(5) for details |
---|
286 | |
---|
287 | d /run/hplip 0775 root lp - |
---|
288 | EOF |
---|
289 | |
---|
290 | # remove unpacked files. |
---|
291 | rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/sane.d \ |
---|
292 | $RPM_BUILD_ROOT%{_docdir} \ |
---|
293 | $RPM_BUILD_ROOT%{_datadir}/hal/fdi \ |
---|
294 | $RPM_BUILD_ROOT%{_datadir}/hplip/pkservice.py \ |
---|
295 | $RPM_BUILD_ROOT%{_bindir}/hp-pkservice |
---|
296 | rm -f $RPM_BUILD_ROOT%{_bindir}/hp-logcapture \ |
---|
297 | $RPM_BUILD_ROOT%{_bindir}/hp-doctor \ |
---|
298 | $RPM_BUILD_ROOT%{_datadir}/hplip/logcapture.py \ |
---|
299 | $RPM_BUILD_ROOT%{_datadir}/hplip/doctor.py |
---|
300 | |
---|
301 | rm -f $RPM_BUILD_ROOT%{_bindir}/foomatic-rip \ |
---|
302 | $RPM_BUILD_ROOT%{_libdir}/cups/filter/foomatic-rip \ |
---|
303 | $RPM_BUILD_ROOT%{_libdir}/*.la \ |
---|
304 | $RPM_BUILD_ROOT%{python_sitearch}/*.la \ |
---|
305 | $RPM_BUILD_ROOT%{_libdir}/libhpip.so \ |
---|
306 | $RPM_BUILD_ROOT%{_libdir}/sane/*.la \ |
---|
307 | $RPM_BUILD_ROOT%{_datadir}/cups/model/foomatic-ppds \ |
---|
308 | $RPM_BUILD_ROOT%{_datadir}/applications/hplip.desktop \ |
---|
309 | $RPM_BUILD_ROOT%{_datadir}/ppd/HP/*.ppd |
---|
310 | |
---|
311 | |
---|
312 | cp -p %{SOURCE1} hplip.desktop |
---|
313 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications |
---|
314 | sed -i -e '/^Categories=/d' hplip.desktop |
---|
315 | # Encoding key is deprecated |
---|
316 | sed -i -e '/^Encoding=/d' hplip.desktop |
---|
317 | desktop-file-install --vendor "" \ |
---|
318 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
319 | --add-category System \ |
---|
320 | --add-category Settings \ |
---|
321 | --add-category HardwareSettings \ |
---|
322 | hplip.desktop |
---|
323 | |
---|
324 | # Regenerate hpcups PPDs on upgrade if necessary (bug #579355). |
---|
325 | #install -p -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/hpcups-update-ppds |
---|
326 | |
---|
327 | %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/sane.d/dll.d |
---|
328 | echo hpaio > $RPM_BUILD_ROOT%{_sysconfdir}/sane.d/dll.d/hpaio |
---|
329 | |
---|
330 | # Images in docdir should not be executable (bug #440552). |
---|
331 | find doc/images -type f -exec chmod 644 {} \; |
---|
332 | |
---|
333 | # Create an empty plugins directory to make sure it gets the right |
---|
334 | # SELinux file context (bug #564551). |
---|
335 | %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/hplip/prnt/plugins |
---|
336 | |
---|
337 | # Remove files we don't want to package. |
---|
338 | rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/hpaio.desc |
---|
339 | rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/hplip-install |
---|
340 | rm -rf $RPM_BUILD_ROOT%{_datadir}/hplip/install.* |
---|
341 | rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/uninstall.* |
---|
342 | rm -f $RPM_BUILD_ROOT%{_bindir}/hp-uninstall |
---|
343 | rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/upgrade.* |
---|
344 | rm -f $RPM_BUILD_ROOT%{_bindir}/hp-upgrade |
---|
345 | rm -f $RPM_BUILD_ROOT%{_bindir}/hp-config_usb_printer |
---|
346 | rm -f $RPM_BUILD_ROOT%{_unitdir}/hplip-printer@.service |
---|
347 | rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/config_usb_printer.* |
---|
348 | rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/hpijs.drv.in.template |
---|
349 | rm -f $RPM_BUILD_ROOT%{_datadir}/cups/mime/pstotiff.types |
---|
350 | rm -f $RPM_BUILD_ROOT%{_datadir}/hplip/fax/pstotiff* |
---|
351 | rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/systemd |
---|
352 | |
---|
353 | # The systray applet doesn't work properly (displays icon as a |
---|
354 | # window), so don't ship the launcher yet. |
---|
355 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/hplip-systray.desktop |
---|
356 | |
---|
357 | |
---|
358 | %clean |
---|
359 | rm -rf $RPM_BUILD_ROOT |
---|
360 | |
---|
361 | |
---|
362 | %post libs -p /sbin/ldconfig |
---|
363 | |
---|
364 | %postun libs -p /sbin/ldconfig |
---|
365 | |
---|
366 | %files |
---|
367 | %defattr(-,root,root) |
---|
368 | %doc COPYING doc/* |
---|
369 | #%doc %{_datadir}/doc/%{name}-%{version} |
---|
370 | %{_bindir}/hp-align |
---|
371 | %{_bindir}/hp-clean |
---|
372 | %{_bindir}/hp-colorcal |
---|
373 | %{_bindir}/hp-devicesettings |
---|
374 | %{_bindir}/hp-diagnose_plugin |
---|
375 | %{_bindir}/hp-diagnose_queues |
---|
376 | %{_bindir}/hp-fab |
---|
377 | %{_bindir}/hp-faxsetup |
---|
378 | %{_bindir}/hp-firmware |
---|
379 | %{_bindir}/hp-info |
---|
380 | %{_bindir}/hp-levels |
---|
381 | %{_bindir}/hp-linefeedcal |
---|
382 | %{_bindir}/hp-makecopies |
---|
383 | %{_bindir}/hp-makeuri |
---|
384 | %{_bindir}/hp-plugin |
---|
385 | %{_bindir}/hp-pqdiag |
---|
386 | %{_bindir}/hp-printsettings |
---|
387 | %{_bindir}/hp-probe |
---|
388 | %{_bindir}/hp-query |
---|
389 | %{_bindir}/hp-scan |
---|
390 | %{_bindir}/hp-sendfax |
---|
391 | %{_bindir}/hp-setup |
---|
392 | %{_bindir}/hp-testpage |
---|
393 | %{_bindir}/hp-timedate |
---|
394 | %{_bindir}/hp-unload |
---|
395 | %{_bindir}/hp-wificonfig |
---|
396 | %{_libdir}/cups/backend/hp |
---|
397 | %{_libdir}/cups/backend/hpfax |
---|
398 | %{_libdir}/cups/filter/hpcups |
---|
399 | %{_libdir}/cups/filter/hpcupsfax |
---|
400 | %{_libdir}/cups/filter/hpps |
---|
401 | %{_libdir}/cups/filter/pstotiff |
---|
402 | %{_datadir}/cups/mime/pstotiff.convs |
---|
403 | |
---|
404 | # Files |
---|
405 | %{_datadir}/hplip/align.py* |
---|
406 | %{_datadir}/hplip/check-plugin.py* |
---|
407 | %{_datadir}/hplip/clean.py* |
---|
408 | %{_datadir}/hplip/colorcal.py* |
---|
409 | %{_datadir}/hplip/devicesettings.py* |
---|
410 | %{_datadir}/hplip/diagnose_plugin.py* |
---|
411 | %{_datadir}/hplip/diagnose_queues.py* |
---|
412 | %{_datadir}/hplip/fab.py* |
---|
413 | %{_datadir}/hplip/fax |
---|
414 | %{_datadir}/hplip/faxsetup.py* |
---|
415 | %{_datadir}/hplip/firmware.py* |
---|
416 | %{_datadir}/hplip/hpdio.py* |
---|
417 | %{_datadir}/hplip/hplip_clean.sh |
---|
418 | %{_datadir}/hplip/hpssd* |
---|
419 | %{_datadir}/hplip/info.py* |
---|
420 | %{_datadir}/hplip/__init__.py* |
---|
421 | %{_datadir}/hplip/levels.py* |
---|
422 | %{_datadir}/hplip/linefeedcal.py* |
---|
423 | %{_datadir}/hplip/makecopies.py* |
---|
424 | %{_datadir}/hplip/makeuri.py* |
---|
425 | %{_datadir}/hplip/plugin.py* |
---|
426 | %{_datadir}/hplip/pqdiag.py* |
---|
427 | %{_datadir}/hplip/printsettings.py* |
---|
428 | %{_datadir}/hplip/probe.py* |
---|
429 | %{_datadir}/hplip/query.py* |
---|
430 | %{_datadir}/hplip/scan.py* |
---|
431 | %{_datadir}/hplip/sendfax.py* |
---|
432 | %{_datadir}/hplip/setup.py* |
---|
433 | %{_datadir}/hplip/testpage.py* |
---|
434 | %{_datadir}/hplip/timedate.py* |
---|
435 | %{_datadir}/hplip/unload.py* |
---|
436 | %{_datadir}/hplip/wificonfig.py* |
---|
437 | # Directories |
---|
438 | %{_datadir}/hplip/base |
---|
439 | %{_datadir}/hplip/copier |
---|
440 | %{_datadir}/hplip/data/ldl |
---|
441 | %{_datadir}/hplip/data/localization |
---|
442 | %{_datadir}/hplip/data/pcl |
---|
443 | %{_datadir}/hplip/data/ps |
---|
444 | %{_datadir}/hplip/installer |
---|
445 | %{_datadir}/hplip/pcard |
---|
446 | %{_datadir}/hplip/prnt |
---|
447 | %{_datadir}/hplip/scan |
---|
448 | %{_localstatedir}/lib/hp |
---|
449 | %dir %attr(0775,root,lp) /run/hplip |
---|
450 | %{_prefix}/lib/tmpfiles.d/hplip.conf |
---|
451 | |
---|
452 | %dir %{_sysconfdir}/hp |
---|
453 | %config(noreplace) %{_sysconfdir}/hp/hplip.conf |
---|
454 | /lib/udev/rules.d/56-hpmud.rules |
---|
455 | %dir %{_datadir}/hplip |
---|
456 | %dir %{_datadir}/hplip/data |
---|
457 | %{_datadir}/hplip/data/models |
---|
458 | |
---|
459 | %{_bindir}/hpijs |
---|
460 | #{_bindir}/hpcups-update-ppds |
---|
461 | %{_datadir}/cups/drv/* |
---|
462 | %dir %{_datadir}/foomatic/db/source/PPD/HP |
---|
463 | %{_datadir}/foomatic/db/source/PPD/HP/* |
---|
464 | |
---|
465 | %files libs |
---|
466 | %defattr(-,root,root) |
---|
467 | %{_libdir}/libhpip.so.* |
---|
468 | # The so symlink is required here (see bug #489059). |
---|
469 | %{_libdir}/libhpmud.so* |
---|
470 | # Python extension |
---|
471 | %{python_sitearch}/* |
---|
472 | |
---|
473 | %files gui |
---|
474 | %defattr(-,root,root) |
---|
475 | %{_bindir}/hp-check |
---|
476 | %{_bindir}/hp-print |
---|
477 | %{_bindir}/hp-systray |
---|
478 | %{_bindir}/hp-toolbox |
---|
479 | %{_datadir}/applications/*.desktop |
---|
480 | # Files |
---|
481 | %{_datadir}/hplip/check.py* |
---|
482 | %{_datadir}/hplip/print.py* |
---|
483 | %{_datadir}/hplip/systray.py* |
---|
484 | %{_datadir}/hplip/toolbox.py* |
---|
485 | # Directories |
---|
486 | %{_datadir}/hplip/data/images |
---|
487 | %{_datadir}/hplip/ui4 |
---|
488 | |
---|
489 | %files -n libsane-hpaio |
---|
490 | %defattr(-,root,root) |
---|
491 | %{_libdir}/sane/libsane-hpaio* |
---|
492 | %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio |
---|
493 | |
---|
494 | %changelog |
---|
495 | * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.15.2-2 |
---|
496 | - rebuild with openssl-1.0.2 |
---|
497 | |
---|
498 | * Thu Mar 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.15.2-1 |
---|
499 | - updated to 3.15.2 |
---|
500 | - updated Source1 |
---|
501 | - renumbered former Patch 0 and 1 to Patch 70 and 6 |
---|
502 | - built with libusb1 |
---|
503 | - added BR: desktop-file-utils |
---|
504 | |
---|
505 | * Wed Mar 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.11.5-5 |
---|
506 | - rebuild with net-snmp-5.7.1 |
---|
507 | |
---|
508 | * Wed Mar 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.11.5-5 |
---|
509 | - rebuild with net-snmp-5.7.1 |
---|
510 | |
---|
511 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.11.5-4 |
---|
512 | - rebuild with python-2.7.2 |
---|
513 | |
---|
514 | * Mon Jun 13 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 3.11.5-3 |
---|
515 | - add Obsoletes: hpijs < 3.10 |
---|
516 | |
---|
517 | * Sun Jun 12 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 3.11.5-2 |
---|
518 | - change configure option to --enable-hpijs-install |
---|
519 | - add Provides: hpijs |
---|
520 | - change ppd installation path to %{_datadir}/foomatic/db/source/PPD/HP |
---|
521 | - update Source1 (hplip.desktop.vine) |
---|
522 | - update Patch0 (hplip-3.11.5-gksu.patch) |
---|
523 | - add Patch1 to fix udev old syntax (hplip-udev-rules.patch) |
---|
524 | |
---|
525 | * Tue Mar 15 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 3.11.5-1 |
---|
526 | - new upstream release |
---|
527 | - change configure option: disable qt3 and enable qt4 |
---|
528 | - add configure option: --enable-foomatic-drv-install |
---|
529 | - add BuildRequires: openssl-devel |
---|
530 | - add Requires: dbus-python |
---|
531 | - add Requires: notify-python (gui) |
---|
532 | - change Requires: PyQt to PyQt4 (gui) |
---|
533 | - add BuildConflicts: PyQt |
---|
534 | - add ppds below %{_datadir}/cups/model/foomatic/hp-* |
---|
535 | because foomatic (>= 4.0.3) drop PPDs for HP printers. |
---|
536 | |
---|
537 | * Fri Jul 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.4b-3 |
---|
538 | - add Patch0 to require root privilege (via gksu) when adding printer |
---|
539 | - add Requires: gksu |
---|
540 | |
---|
541 | * Mon Jun 08 2009 Shu KONNO <owa@bg.wakwak.com> 3.9.4b-2 |
---|
542 | - added --with-cupsfilterdir to configure option |
---|
543 | - use python_sitearch macro instead of python_platlib |
---|
544 | |
---|
545 | * Sun Jun 07 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.4b-1 |
---|
546 | - new upstream release |
---|
547 | - split libraries to -libs sub package |
---|
548 | - update configure option |
---|
549 | add --enable-dbus-build, --enable-qt3, --disable-qt4 |
---|
550 | |
---|
551 | * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.12-1vl5 |
---|
552 | - rebuilt with python-2.5.2 |
---|
553 | - added python_platlib macro |
---|
554 | - applied new versioning policy and spec in utf-8 |
---|
555 | |
---|
556 | * Sun Jan 6 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.12-0vl2 |
---|
557 | - added --with-cupsbackenddir=%%{_libdir}/cups/backend to configure |
---|
558 | |
---|
559 | * Thu Jan 3 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.7.12-0vl1 |
---|
560 | - new upstream release |
---|
561 | - build with net-snmp-5.4.1 |
---|
562 | |
---|
563 | * Thu Jun 28 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.7.6-0vl1 |
---|
564 | - initial build for Vine Linux |
---|