]>
Commit | Line | Data |
---|---|---|
82c91e61 | 1 | # TODO: |
32ec01ce | 2 | # - add desktop file for toolbox |
ecc19b7b JK |
3 | # - GUI tools require python-qt, they should be separated to a subpackage |
4 | # (the rest of package works without Qt) | |
82c91e61 | 5 | # |
6 | # Conditional build: | |
385e8c54 | 7 | %bcond_without cups # without CUPS support |
82c91e61 | 8 | # |
52bf4fe0 | 9 | Summary: Hewlett-Packard Linux Imaging and Printing Project |
82c91e61 | 10 | Summary(pl): Serwer dla drukarek HP Inkjet |
11 | Name: hplip | |
cedbfcec | 12 | Version: 1.6.9 |
8c126803 | 13 | Release: 2 |
95b8dde5 | 14 | License: BSD, GPL v2 and MIT |
82c91e61 | 15 | Group: Applications/System |
32ec01ce | 16 | Source0: http://dl.sourceforge.net/hplip/%{name}-%{version}.tar.gz |
cedbfcec | 17 | # Source0-md5: 38d57f58b48b5b0729d1de507776e7d1 |
9846f1df | 18 | Source1: %{name}.init |
cedbfcec | 19 | Source2: %{name}-DJ670C.xml |
32ec01ce | 20 | URL: http://hplip.sourceforge.net/ |
82c91e61 | 21 | BuildRequires: autoconf |
9846f1df | 22 | BuildRequires: automake |
82c91e61 | 23 | %{?with_cups:BuildRequires: cups-devel} |
cedbfcec | 24 | BuildRequires: libjpeg-devel |
82c91e61 | 25 | BuildRequires: libstdc++-devel |
e5c70de6 | 26 | BuildRequires: libusb-devel |
52bf4fe0 AM |
27 | BuildRequires: net-snmp-devel |
28 | BuildRequires: openssl-devel | |
29 | BuildRequires: python-devel | |
2a260930 | 30 | BuildRequires: python-modules |
db551280 | 31 | BuildRequires: sane-backends-devel |
ecc19b7b | 32 | Requires: %{name}-libs = %{version}-%{release} |
32ec01ce | 33 | Obsoletes: hpijs |
ecc19b7b | 34 | Obsoletes: python-hplip |
9846f1df | 35 | Conflicts: ghostscript <= 7.00-3 |
82c91e61 | 36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
52bf4fe0 AM |
38 | %define _ulibdir %{_prefix}/lib |
39 | ||
82c91e61 | 40 | %if %{with cups} |
41 | %define _cupsdir %(cups-config --datadir) | |
42 | %define _cupsppddir %{_cupsdir}/model | |
43 | %endif | |
44 | ||
45 | %description | |
52bf4fe0 AM |
46 | The Hewlett-Packard Linux Imaging and Printing project (HPLIP) |
47 | provides a unified single and multi-function connectivity solution for | |
48 | Linux. The goal of this project is to provide "radically simple" | |
49 | printing, faxing, scanning, photo-card access, and device management | |
50 | to the consumer and small business desktop Linux users. | |
51 | ||
52 | %package libs | |
53 | Summary: HPLIP Libraries | |
54 | Summary(pl): Biblioteki HPLIP | |
55 | Group: Libraries | |
56 | ||
57 | %description libs | |
58 | HPLIP Libraries. | |
59 | ||
60 | %description libs -l pl | |
61 | Biblioteki HPLIP. | |
62 | ||
63 | %package sane | |
64 | Summary: HPLIP SANE Libraries | |
65 | Summary(pl): Biblioteki HPLIP SANE | |
66 | Group: Libraries | |
ecc19b7b | 67 | Requires(post): /bin/grep |
db551280 ER |
68 | Requires(postun): /bin/sed |
69 | Requires: %{name} = %{version}-%{release} | |
52bf4fe0 AM |
70 | |
71 | %description sane | |
72 | HPLIP SANE Libraries. | |
82c91e61 | 73 | |
52bf4fe0 AM |
74 | %description sane -l pl |
75 | Biblioteki HPLIP SANE. | |
82c91e61 | 76 | |
77 | %package ppd | |
78 | Summary: PPD database for Hewlett Packard printers | |
79 | Summary(pl): Baza danych PPD dla drukarek Hewlett Packard | |
80 | Group: Applications/System | |
81 | Requires: cups | |
82 | ||
83 | %description ppd | |
84 | PPD database for Hewlett Packard printers. | |
85 | ||
86 | %description ppd -l pl | |
87 | Baza danych PPD dla drukarek Hewlett Packard. | |
88 | ||
52bf4fe0 AM |
89 | %package -n cups-backend-hp |
90 | Summary: HP backend for CUPS | |
91 | Summary(pl): Backend HP dla CUPS-a | |
92 | Group: Applications/Printing | |
ecc19b7b | 93 | Requires: %{name} = %{version}-%{release} |
db551280 | 94 | Requires: cups |
52bf4fe0 AM |
95 | |
96 | %description -n cups-backend-hp | |
97 | This package allow CUPS printing on HP printers. | |
98 | ||
99 | %description -n cups-backend-hp -l pl | |
100 |