Simple utility to retrieve ink level of a printer connected via USB or Canon BJNP protocol. Works for my old Epson SX235W (whereas escputil doesn't). Requires libinklevel from devel:libraries:c_c++, see https://build.opensuse.org/request/show/914898. OBS-URL: https://build.opensuse.org/request/show/914901 OBS-URL: https://build.opensuse.org/package/show/Printing/ink?expand=0&rev=1
50 lines
1.3 KiB
RPMSpec
50 lines
1.3 KiB
RPMSpec
#
|
|
# spec file for package ink
|
|
#
|
|
# Copyright (c) 2021 Antoine Belvire
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: ink
|
|
Version: 0.5.3
|
|
Release: 0
|
|
Summary: Check the ink level of your printer with linux
|
|
License: GPL-2.0-only
|
|
Group: Hardware/Printing
|
|
URL: http://ink.sourceforge.net
|
|
Source: http://downloads.sourceforge.net/ink/%{name}-%{version}.tar.gz
|
|
BuildRequires: libinklevel-devel
|
|
|
|
%description
|
|
Ink is a command line tool for checking the ink level of your printer on a
|
|
system which runs Linux. It makes use of libinklevel.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc AUTHORS README
|
|
%license COPYING
|
|
%{_bindir}/ink
|
|
%{_mandir}/man1/ink.1%{?ext_man}
|
|
|
|
%changelog
|