cups-bjnp/cups-bjnp.spec

65 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: cups-bjnp
Version: 2.0.3
Release: 2mamba
Summary: CUPS back-end for the canon printers using the proprietary USB over IP BJNP protocol
Group: System/Spooling
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/cups-bjnp/
Source: http://downloads.sourceforge.net/project/cups-bjnp/cups-bjnp/%{version}/cups-bjnp-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcups-devel
## AUTOBUILDREQ-END
%description
CUPS back-end for the canon printers using the proprietary USB over IP BJNP protocol. This back-end allows Cups to print over the network to a Canon printer. It currently supports Cups 1.2 and later. It is designed using reverse engineering.
%debug_package
%prep
%setup -q
# gcc 12: remove always-true comparison '(printer_id != NULL)'
sed -i '188d;191d' bjnp-commands.c
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_prefix}/lib/cups/backend/bjnp
%doc AUTHORS COPYING
# ChangeLog NEWS README TODO
%changelog
* Thu Dec 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-2mamba
- rebuilt with debug package and build fix against gcc 12
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
- automatic version update by autodist
* Sat Sep 06 2014 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
- automatic update by autodist
* Fri Jan 24 2014 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic update by autodist
* Thu Feb 28 2013 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Fri Jan 11 2013 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
- automatic version update by autodist
* Thu Oct 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- package created by autospec