Files
unpaper/unpaper.spec
Michael Vetter d54357c627 Accepting request 975064 from home:polslinux:branches:graphics
- Update to version 7.0.0:
 * Tests now compare a golden file by counting the bytes that differ
   between it and the result. This allows non-byte-perfect
   calculations to be executed and still not fail the tests. This is
   required as fused multiply-add instructions can increase precision
   and thus deviate from the base C code, when using floating-point
   arithmetic.
 * Build is now provided by Meson, replacing the Autotools based
   build system introduced in 0.4, 10½ years ago.
 * Compatibility expanded to ffmpeg-5, which is the current widely
   available release.

OBS-URL: https://build.opensuse.org/request/show/975064
OBS-URL: https://build.opensuse.org/package/show/graphics/unpaper?expand=0&rev=7
2022-05-05 08:16:22 +00:00

57 lines
1.6 KiB
RPMSpec

#
# spec file for package unpaper
#
# Copyright (c) 2022 SUSE LLC
#
# 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: unpaper
Version: 7.0.0
Release: 0
Summary: Post-Processing Tool for Scanned Text Pages
License: GPL-2.0-or-later
Group: Productivity/Graphics/Other
URL: https://www.flameeyes.eu/projects/unpaper
Source: https://www.flameeyes.eu/files/%{name}-%{version}.tar.xz
BuildRequires: %{python_module Sphinx >= 3.4}
BuildRequires: %{python_module pytest}
BuildRequires: libavcodec-devel
BuildRequires: libavformat-devel
BuildRequires: libavutil-devel
BuildRequires: libxslt-tools
BuildRequires: meson
BuildRequires: pkgconfig
%description
The unpaper command line tool helps with post-processing scanned text
pages, especially with book pages scanned from photocopies. unpaper
tries to remove dark edges, corrects the rotation ("deskewing"), and
aligns the centering of pages.
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%files
%{_bindir}/unpaper
%{_mandir}/man1/unpaper.1%{?ext_man}
%changelog