diff --git a/_service b/_service new file mode 100644 index 0000000..6dc4166 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + @PARENT_TAG@ + https://github.com/vslavik/diff-pdf.git + git + enable + .* + v(.*) + + + + gz + *.tar + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..cae8a0b --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/vslavik/diff-pdf.git + 201dab3d230c0d9513d9330bd10030d590894056 \ No newline at end of file diff --git a/diff-pdf-0.4.1.tar.gz b/diff-pdf-0.4.1.tar.gz deleted file mode 100644 index f700545..0000000 --- a/diff-pdf-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d4a7f07edc767943edc7f5ea85d1dbaeb75a7760f9f585aba43e4e59aa29bd5 -size 34662 diff --git a/diff-pdf-0.5.obscpio b/diff-pdf-0.5.obscpio new file mode 100644 index 0000000..725ac80 --- /dev/null +++ b/diff-pdf-0.5.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e03a4630101221a7de27261a0f008a47072d3988f80e97926b43a57eacec3d2 +size 125451 diff --git a/diff-pdf.1 b/diff-pdf.1 deleted file mode 100644 index d1e7e77..0000000 --- a/diff-pdf.1 +++ /dev/null @@ -1,29 +0,0 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. -.TH DIFF-PDF "1" "December 2020" "diff-pdf 0.4.1" "User Commands" -.SH NAME -diff-pdf \- Simple PDF comparison tool -.SH SYNOPSIS -.B diff-pdf -[\fI\,-h\/\fR] [\fI\,-v\/\fR] [\fI\,-s\/\fR] [\fI\,-m\/\fR] [\fI\,--output-diff \/\fR] [\fI\,--channel-tolerance \/\fR] [\fI\,--view\/\fR] \fI\,file1.pdf file2.pdf\/\fR -.SH DESCRIPTION -.TP -\fB\-h\fR, \fB\-\-help\fR -show this help message -.TP -\fB\-v\fR, \fB\-\-verbose\fR -be verbose -.TP -\fB\-s\fR, \fB\-\-skip\-identical\fR -only output pages with differences -.TP -\fB\-m\fR, \fB\-\-mark\-differences\fR -additionally mark differences on left side -.TP -\fB\-\-output\-diff=\fR -output differences to given PDF file -.TP -\fB\-\-channel\-tolerance=\fR -consider channel values to be equal if within specified tolerance -.TP -\fB\-\-view\fR -view the differences in a window diff --git a/diff-pdf.changes b/diff-pdf.changes index 2fd1994..38ab708 100644 --- a/diff-pdf.changes +++ b/diff-pdf.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Apr 28 07:54:00 UTC 2021 - Martin Pluskal + +- Update to version 0.5: + * Reflect renaming of package from Ubuntu 20.10 on + * Increase version to v0.5 + * Add --grayscale option + * Show default DPI value used in --help output + * Remove code for old versions of glib and wxWidgets + * Tiny code formatting fixes + * Add rasterization DPI option (#71) + * AppVeyor: fix MSYS2 build + * Remove legacy poppler-cairo dependency (#69) + * Add instructions for installing on Fedora and CentOS 8 (#66) +- Drop no longer needed fix-find-poppler.patch +- Switch to obs scm _service + ------------------------------------------------------------------- Thu Dec 31 07:21:17 UTC 2020 - munix9@googlemail.com diff --git a/diff-pdf.obsinfo b/diff-pdf.obsinfo new file mode 100644 index 0000000..64a1f08 --- /dev/null +++ b/diff-pdf.obsinfo @@ -0,0 +1,5 @@ +name: diff-pdf +version: 0.5 +mtime: 1614361918 +commit: 201dab3d230c0d9513d9330bd10030d590894056 + diff --git a/diff-pdf.spec b/diff-pdf.spec index 377f4d9..5d29743 100644 --- a/diff-pdf.spec +++ b/diff-pdf.spec @@ -1,7 +1,7 @@ # # spec file for package diff-pdf # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,17 @@ Name: diff-pdf -Version: 0.4.1 +Version: 0.5 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 -Source1: %{name}.1 -Patch0: fix-find-poppler.patch +Source0: %{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ +BuildRequires: help2man BuildRequires: pkgconfig BuildRequires: wxWidgets-devel BuildRequires: pkgconfig(cairo) @@ -40,7 +39,7 @@ BuildRequires: pkgconfig(poppler-glib) diff-pdf is a simple tool for comparing two PDF files. %prep -%autosetup -p1 +%autosetup %build ./bootstrap @@ -50,9 +49,9 @@ diff-pdf is a simple tool for comparing two PDF files. %install %make_install -#help2man -N -n "%%{summary}" --version-string="%%{version}" --no-discard-stderr \ -# -o %%{buildroot}%%{_mandir}/man1/%%{name}.1 %%{buildroot}%%{_bindir}/%%{name} -install -D -m 0644 -t %{buildroot}%{_mandir}/man1/ %{SOURCE1} +install -d %{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 diff --git a/fix-find-poppler.patch b/fix-find-poppler.patch deleted file mode 100644 index a302103..0000000 --- a/fix-find-poppler.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -41,7 +41,7 @@ - dnl === Library checks === - - PKG_CHECK_MODULES(POPPLER, -- [poppler-cairo >= 0.10 poppler-glib >= 0.10 cairo-pdf]) -+ [poppler >= 0.10 poppler-glib >= 0.10 cairo-pdf]) - - AM_OPTIONS_WXCONFIG - AM_PATH_WXCONFIG([3.0.0], [wxfound=1], [wxfound=0], [core,base])