2016-05-29 07:41:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package diff-pdf
|
|
|
|
#
|
2020-12-29 13:09:20 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-05-29 07:41:55 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-12-29 13:09:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-05-29 07:41:55 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: diff-pdf
|
2020-12-29 13:09:20 +00:00
|
|
|
Version: 0.4.1
|
2016-05-29 07:41:55 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Simple PDF comparison tool
|
2020-12-29 13:09:20 +00:00
|
|
|
License: GPL-2.0-only AND LGPL-2.0-only
|
2016-05-29 07:41:55 +00:00
|
|
|
Group: Productivity/Publishing/PDF
|
2020-12-29 13:09:20 +00:00
|
|
|
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
|
2016-05-29 07:41:55 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc-c++
|
2020-12-29 13:09:20 +00:00
|
|
|
BuildRequires: help2man
|
2016-05-29 07:41:55 +00:00
|
|
|
BuildRequires: pkgconfig
|
2020-12-29 13:09:20 +00:00
|
|
|
BuildRequires: wxWidgets-devel
|
2016-05-29 07:41:55 +00:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(cairo-pdf)
|
|
|
|
BuildRequires: pkgconfig(poppler)
|
|
|
|
BuildRequires: pkgconfig(poppler-glib)
|
2016-05-29 07:04:52 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
diff-pdf is a simple tool for comparing two PDF files.
|
|
|
|
|
|
|
|
%prep
|
2020-12-29 13:09:20 +00:00
|
|
|
%autosetup -p1
|
2016-05-29 07:04:52 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
./bootstrap
|
2016-05-29 07:41:55 +00:00
|
|
|
%configure
|
2020-12-29 13:09:20 +00:00
|
|
|
%make_build
|
2016-05-29 07:04:52 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2020-12-29 13:09:20 +00:00
|
|
|
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}
|
|
|
|
|
2016-05-29 07:04:52 +00:00
|
|
|
%files
|
2020-12-29 13:09:20 +00:00
|
|
|
%license COPYING COPYING.icons
|
|
|
|
%doc AUTHORS README.md
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2016-05-29 07:04:52 +00:00
|
|
|
|
|
|
|
%changelog
|