File img2djvu.spec of Package img2djvu
#
# spec file for package img2djvu
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: img2djvu
Version: 20191007
Release: 0
License: SUSE-Public-Domain
Summary: Single-pass DjVu Encoder Based on DjVu Libre and ImageMagick
Url: http://github.com/ashipunov/img2djvu
Group: Productivity/Graphics/Other
Source0: %{name}-%{version}.tar.xz
Requires: ImageMagick
Requires: djvulibre
Recommends: minidjvu
Suggests: cuneiform
Suggests: ocrodjvu
Suggests: tesseract
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This is a single-pass DjVu encoder based on DjVu Libre and ImageMagick,
optionally also minidjvu and ocrodjvu plus Cuneiform or Tesseract.
%prep
%setup -q
%build
%install
install -D -p -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%defattr(-,root,root,-)
%doc NEWS README TODO
%{_bindir}/%{name}
%changelog