]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - hplip/hplip.nm
hplip: Add support for ssl, add scriptlet to use it with sane.
[people/amarx/ipfire-3.x.git] / hplip / hplip.nm
CommitLineData
22285c94 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
22285c94
SS
4###############################################################################
5
802ea3af
MT
6name = hplip
7version = 3.10.9
9b599516 8release = 2
22285c94 9
802ea3af
MT
10groups = Applications/Printing
11url = http://hplipopensource.com/hplip-web/index.html
12license = GPLv2*
13summary = HP Printer/Scanner Library (full version).
22285c94 14
802ea3af 15description
9b599516
SS
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
19 printer models.
22285c94 20 This is the full version including printer/scanner support.
802ea3af
MT
21end
22
9b599516 23source_dl = http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/
802ea3af
MT
24
25build
26 requires
27 autoconf
28 automake
29 cups-devel
30 dbus-devel
31 gcc-c++
32 libjpeg-devel
33 libtool
34 libusb-compat-devel
35 net-snmp-devel
9b599516 36 openssl-devel
802ea3af
MT
37 pkg-config
38 python-devel
39 sane-devel
40 end
41
42 configure_options += \
22285c94 43 --sysconfdir=/etc
9b599516
SS
44
45 install_cmds
46 # Remove unwanted files.
47 rm -rvf %{BUILDROOT}%{sysconfdir}/sane.d/
48 end
802ea3af
MT
49end
50
51packages
52 package %{name}
9b599516
SS
53 prerequires += sane
54
55 script postin
56 # Add hplip scanner support to sane.
57 echo "hpaio" >> %{sysconfdir}/sane.d/dll.conf
58 end
59
60 script postun
61 # Remove hplip scanner support from sane.
62 sed -i "/^hpaio$/d" %{sysconfdir}/sane.d/dll.conf
63 end
802ea3af 64 end
1f9bc2f0
MT
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
802ea3af 69end