File unpaper.spec of Package unpaper

# spec file for package unpaper
# Copyright (c) 2015 SUSE LINUX Products 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

Name:           unpaper
Summary:        Post-Processing Tool for Scanned Text Pages
License:        GPL-2.0+
Group:          Productivity/Graphics/Other
Version:        6.1
Release:        0
BuildRequires:  libavcodec-devel
BuildRequires:  libavformat-devel
BuildRequires:  libavutil-devel
BuildRequires:  libxslt-tools
BuildRequires:  pkg-config

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.

%setup -q

%configure --docdir=%{_docdir}/%{name}
make %{?_smp_mflags}

make DESTDIR=%{buildroot} install

%defattr(-, root, root)

openSUSE Build Service is sponsored by