File: cups-bjnp.spec

package info (click to toggle)
cups-bjnp 2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 628 kB
  • ctags: 329
  • sloc: ansic: 2,519; sh: 1,254; makefile: 27
file content (172 lines) | stat: -rw-r--r-- 7,233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
Summary		: CUPS backend for the Canon BJNP network printers 
Name		: cups-bjnp
Version		: 1.9.0
Release		: 1%{?dist}
License		: GPLv2
Source		: http://downloads.sourceforge.net/cups-bjnp/cups-bjnp-%{version}.tar.gz
Group		: System Environment/Daemons
URL		: https://sourceforge.net/projects/cups-bjnp/
BuildRoot	: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	cups-devel
Requires: cups

%define cups_backend_dir %{_exec_prefix}/lib/cups/backend
%description
This package contains a backend for CUPS for Canon printers using the 
proprietary BJNP network protocol.

%prep
%setup -q

%build
%configure --prefix=%{_exec_prefix} --with-cupsbackenddir=%{cups_backend_dir} --disable-Werror
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install

%clean
rm -Rf $RPM_BUILD_ROOT
 
%files
%defattr(-,root,root,-)
%{cups_backend_dir}/bjnp
%doc COPYING ChangeLog TODO NEWS README

%changelog
* Sat Mar 15 2014  Louis Lagendijk <llagendijk@users.sourceforge.net> - 1.9.0-1
- Added experimental ink level support
- Better out of paper support
- License changed to GPLv2

* Wed Jan 22 2014  Louis Lagendijk <llagendijk@users.sourceforge.net> - 1.2.2-1
- new upstream release 1.2.2
- Fix crash with newer printers that send an xml-document for printer status
- Fix possible buffer overflow on response buffer

* Wed Jan 22 2014  Louis Lagendijk <llagendijk@users.sourceforge.net> - 1.2.1-3
- temporary release for testing
- Fix crash with newer printers that send an xml-document for printer status
- Fix possible buffer overflow on response buffer

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Sat Feb 23 2013 Louis Lagendijk <llagendijk@users.sourceforge.net> - 1.2.1-1
  New upstream release. Fixes hang with MX270 and possibly other printers (bug
  introduced with version 1.1)

* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Tue Nov 27 2012 Louis Lagendijk <llagendijk@users.sourceforge.net> - 1.2-1
- new upstream release 1.2, fixes compilation error on EL6

* Sat Sep 29 2012 Louis Lagendijk <llagendijk@users.sourceforge.net> - 1.1-1
- New upstream release 1.1
- Fixes "Failed to read side channel" error message
- Supports printing over IPv6

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Jul 05 2011 Louis Lagendijk <llagendijk@users.sourceforge.net> - 1.0-1
- New upstream release
- Fix FTBS on Fedora BZ715649
- Fix hostname resolution on some buggy routers that return bogus hostnames on a
  reverse lookup

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sat Nov 27 2010 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.5-2
  added patch for compilation for cups-1.3

* Fri Nov 26 2010 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.5-1
  Released 0.5.5, no further changes

* Sat Oct 09 2010 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.5b1-7
  Corrected a number of bugs reported by Ron Murray (sourceforge patches tracker
  ID: 3083455). We got confused when the printer had an IPv6 address (MP990)

* Thu May 13 2010 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.4-6
- Rebuilt for EL-6

* Thu May 13 2010 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.4-5
- Rebuilt for EL-5

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon Jun 08 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.4-3
- corrected backendir again, forgot the backend suffix

* Sat May 30 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.4-2
- corrected backendir
- Removed -n option from setup

* Fri May 29 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.4-1
- More specfile cleanups suggested by Igor Jurišković <juriskovic.igor@gmail.com>
  and mtasaka@ioa.s.u-tokyo.ac.jp:
- removed INSTALL 
- use macros where appropriate),
- updated files macro so we only own bjnp, not the directory
- Removed generation of spec file from configure as it caused a lot of pain
- bumped version to 0.5.4

* Mon May 18 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.3-2
- Specfile cleanups

* Sat May 16 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.3-1
- Reverted changes to spec file generation
- Fixed some rpmlint comments that show up only on complete package but
  not when rpmlint is run on spec file

* Sat May 16 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5.2-2
- Corrected silly errors in configure script
- Added missing address family setting in bjnp-send-broadcast

* Thu Mar 12 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5-1
- Documentation improvements
- Debugging improvements
- Release 0.5

* Thu Feb 19 2009 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.5beta4-1
- Release 0.5beta4
- added autoconf/automake support
- added support for OS's that do not have getifaddr(). this support is limited as
  global broadcasts may not work when more than one active interface is found
- corrected an error when getifaddr finds a ptp interface

* Mon Nov 17 2008 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.4-1
- Release 0.4
- Added keep-alive to keep TCP connection open (printer will close it when
  connection is idle for ~30 sec). This will occur when filter is slow with
  sending more data for whatever reason.
- Added a delay of 15 seconds at end of printjob as some printers will otherwise not 
  accept new printjobs
- Cleanup of Makefile and specfile so it works for all RedHat style systems

* Tue Oct 7 2008 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.3-1
- added some sanity checks on call to gethostbyaddr so we do not bomb out
  when hostname field is not set (can this occur?) or when a buggy Avm fritz box
  returns noname rather then fail when no name is available on a reverse name lookup
- Added a version string printout when incorrect number of arguments is received on command line
- changed printbuffer to 4k. Recommended by Zedo, the Turboprint people
  changed throttle pause from 3 sec to 40 msec. Improves performance. Recommended by Zedo.
- fixed a bug in scanning our interfaces when ifa_addr could be 0
  (reported by Matt McHenry <jerith@speakeasy.org>)
- added new/ improved compiler flags that trap more mistakes
- sone cleanup with feedback from Sane-BJNP (revised protocol codes etc)
- minor bugfixes for off-line behaviour

* Sat Aug 9 2008 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.2-1
- release 0.2

* Sat Aug 2 2008 Louis Lagendijk <llagendijk@users.sourceforge.net> - 0.1-1
- Initial RPM release for release 0.1