Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jloehel
diffpdf
diffpdf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File diffpdf.spec of Package diffpdf
# # spec file for package diffpdf # # copyright (c) 2023 munix9@googlemail.com # Name: diffpdf Version: 2.1.3.1 Release: 0 Summary: Compare two PDF files textually or visually License: GPL-2.0-or-later #URL: https://www.qtrac.eu/diffpdf-foss.html URL: https://gitlab.com/eang/diffpdf Source0: https://gitlab.com/eang/diffpdf/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 Source1: https://salsa.debian.org/debian/diffpdf/-/raw/debian/debian/diffpdf.svg # https://gitlab.com/eang/diffpdf/-/commit/2805545c63678cf21dbde5f4a1f0c15525311895 Patch0: us-Add-option-to-save-and-quit.patch # https://salsa.debian.org/debian/diffpdf/-/tree/debian/debian/patches Patch1: 0001-fix_manpage.patch Patch4: 0004-spelling.patch Patch5: 0005-parallel-comparison.patch Patch6: 0006-do-not-check-extension.patch Patch7: 0007-desktop.patch Patch8: 0008-cmake-OpenMP.patch BuildRequires: cmake >= 3.1 BuildRequires: extra-cmake-modules BuildRequires: hicolor-icon-theme BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5PrintSupport) BuildRequires: cmake(Qt5Widgets) BuildRequires: pkgconfig(poppler-qt5) %description DiffPDF is used to compare two PDF files. By default the comparison is of the text on each pair of pages, but comparing the appearance of pages is also supported (for example, if a diagram is changed or a paragraph reformatted). It is also possible to compare particular pages or page ranges. For example, if there are two versions of a PDF file, one with pages 1-12 and the other with pages 1-13 because of an extra page having been added as page 4, they can be compared by specifying two page ranges, 1-12 for the first and 1-3, 5-13 for the second. This will make DiffPDF compare pages in the pairs (1, 1), (2, 2), (3, 3), (4, 5), (5, 6), and so on, to (12, 13). %prep %autosetup -n %{name}-v%{version} -p1 %build %define __builder ninja %cmake -DCMAKE_INSTALL_DOCDIR="%{_docdir}/%{name}" %cmake_build %install %cmake_install install -D -m 0644 -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps %{SOURCE1} %suse_update_desktop_file eu.qtrac.%{name} %files %license gpl-2.0.txt %doc %{_docdir}/%{name} %{_bindir}/%{name} %{_datadir}/applications/eu.qtrac.%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_mandir}/man1/%{name}.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor