diff-pdf/diff-pdf.spec
Martin Pluskal 85ba44421f Accepting request 859208 from home:munix9:branches:Publishing
- Update to version 0.4.1
  Fixes some bugs (#64, #65) that crept into 0.4.
  All users of 0.4 should update.
- Update to version 0.4
  Added new useful options contributed by @fatalmind:
  --skip-identical    only outputs pages with actual differences
  --channel-tolerance makes it easy to ignore tiny differences
  --mark-differences  adds visual markers to the margin to
                      highlight where small changes are
- Add fix-find-poppler.patch
- Add man page with help2man
- Clean up spec file

OBS-URL: https://build.opensuse.org/request/show/859208
OBS-URL: https://build.opensuse.org/package/show/Publishing/diff-pdf?expand=0&rev=9
2020-12-29 13:09:20 +00:00

64 lines
1.8 KiB
RPMSpec

#
# spec file for package diff-pdf
#
# Copyright (c) 2020 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: diff-pdf
Version: 0.4.1
Release: 0
Summary: Simple PDF comparison tool
License: GPL-2.0-only AND LGPL-2.0-only
Group: Productivity/Publishing/PDF
URL: https://vslavik.github.io/diff-pdf/
Source0: https://github.com/vslavik/diff-pdf/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: fix-find-poppler.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: help2man
BuildRequires: pkgconfig
BuildRequires: wxWidgets-devel
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-pdf)
BuildRequires: pkgconfig(poppler)
BuildRequires: pkgconfig(poppler-glib)
%description
diff-pdf is a simple tool for comparing two PDF files.
%prep
%autosetup -p1
%build
./bootstrap
%configure
%make_build
%install
%make_install
install -d -m 0755 %{buildroot}%{_mandir}/man1
help2man -N -n "%{summary}" --version-string="%{version}" --no-discard-stderr \
-o %{buildroot}%{_mandir}/man1/%{name}.1 %{buildroot}%{_bindir}/%{name}
%files
%license COPYING COPYING.icons
%doc AUTHORS README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog