1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Applications/Printing
11 url = http://hplipopensource.com/hplip-web/index.html
13 summary = HP Printer/Scanner Library (full version).
16 HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed
17 olution for printing, scanning, and faxing with HP inkjet and laser based
18 printers in Linux. The HPLIP project provides printing support for 1,924
20 This is the full version including printer/scanner support.
23 source_dl = http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/
42 configure_options += \
43 --sysconfdir=%{sysconfdir} \
48 # Remove unwanted files.
49 rm -rvf %{BUILDROOT}%{bindir}/hp-systray
50 rm -rvf %{BUILDROOT}%{sysconfdir}/sane.d/
51 rm -rvf %{BUILDROOT}%{datadir}/installer
53 # Remove files for HAL.
54 rm -rvf %{BUILDROOT}%{datadir}/hal
56 # Remove X11 relevated files.
57 rm -rvf %{BUILDROOT}%{datadir}/applications/
60 rm -rvf %{BUILDROOT}%{sysconfdir}/xdg/
67 %{name}-common=%{thisver}
72 package %{name}-common
73 summary = Files needed by the HPLIP printer and scanner drivers.
74 description = %{summary}
93 summary = SANE driver for scanners in HP's multi-function devices.
94 description = %{summary}
103 # Add hplip scanner support to sane.
104 echo "hpaio" >> %{sysconfdir}/sane.d/dll.conf
108 # Remove hplip scanner support from sane.
109 sed -i "/^hpaio$/d" %{sysconfdir}/sane.d/dll.conf
113 package %{name}-debuginfo