1 |
%define origname cups-bjnp |
2 |
|
3 |
Name: cups-drivers-bjnp |
4 |
Version: 2.0.1 |
5 |
Release: %mkrel 1 |
6 |
Summary: CUPS backend for the Canon BJNP network printers |
7 |
License: GPLv2 |
8 |
Group: System/Printing |
9 |
URL: https://sourceforge.net/projects/cups-bjnp |
10 |
Source: http://sourceforge.net/projects/cups-bjnp/files/cups-bjnp/%{version}/%{origname}-%{version}.tar.gz |
11 |
# cups is required so we can check that the backend directory is really correct |
12 |
BuildRequires: cups |
13 |
BuildRequires: cups-devel |
14 |
Requires: cups |
15 |
|
16 |
%description |
17 |
This package contains a backend for CUPS for Canon printers using the |
18 |
proprietary BJNP network protocol. |
19 |
|
20 |
%prep |
21 |
%setup -q -n %{origname}-%{version} |
22 |
|
23 |
%build |
24 |
%configure2_5x \ |
25 |
--with-cupsbackenddir=%{_prefix}/lib/cups/backend \ |
26 |
--disable-Werror |
27 |
%make_build |
28 |
|
29 |
%install |
30 |
%make_install |
31 |
|
32 |
%files |
33 |
%doc COPYING ChangeLog TODO NEWS README |
34 |
%{_prefix}/lib/cups/backend/bjnp |