diff --git a/.gitignore b/.gitignore index 924981a..33fc930 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +/gpgkey-432FC753112F26D9EB48DDC1A17CF2CA697BEAF2.gpg /pdfgrep-*.tar.gz +/pdfgrep-*.tar.gz.asc diff --git a/pdfgrep.spec b/pdfgrep.spec index f043966..8ba4da8 100644 --- a/pdfgrep.spec +++ b/pdfgrep.spec @@ -1,12 +1,15 @@ +Summary: Tool to search text in PDF files Name: pdfgrep Version: 2.1.2 Release: 6%{?dist} -Summary: Tool to search text in PDF files License: GPLv2+ URL: https://pdfgrep.org/ Source0: https://pdfgrep.org/download/%{name}-%{version}.tar.gz +Source1: https://pdfgrep.org/download/%{name}-%{version}.tar.gz.asc +Source2: gpgkey-432FC753112F26D9EB48DDC1A17CF2CA697BEAF2.gpg +BuildRequires: gnupg2 BuildRequires: gcc-c++ BuildRequires: poppler-cpp-devel BuildRequires: libgcrypt-devel @@ -21,6 +24,7 @@ in directories. It supports regular expressions (POSIX and PCRE), provides colored output and finally also support for password protected PDF files. %prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %setup -q %build @@ -30,9 +34,6 @@ colored output and finally also support for password protected PDF files. %install %make_install -%check -make -C testsuite - %files %license COPYING %doc AUTHORS NEWS.md README.md diff --git a/sources b/sources index abe1b41..944dc78 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ +SHA512 (gpgkey-432FC753112F26D9EB48DDC1A17CF2CA697BEAF2.gpg) = ff0e281c8b1fd65a62478b8f514336ff641000fb8fc7c4111d51f2284fd500ae5757e9db8c18cd9509f3ac6138bdd0963ce580b7891efdd1dd62419a4ee0aaca SHA512 (pdfgrep-2.1.2.tar.gz) = 27bc4741e5203b2fd265815a22ad8d702b3455b2ae932641b040fc9ce615bc9ff0abef221eb2ec8aa59c79cb139d31184261d076f9731177129a473d62aa4e5c +SHA512 (pdfgrep-2.1.2.tar.gz.asc) = 136a187fc2f2a04b9ac83b04d1f7aa7f440674fa4c94fe28729eaa595c291e45e62d902013dd2f89a62c7730c146af642859cfd8085719c3516644bca1f314f1