From 341e36d0f0a22af9b55d6af0b24806fc33ed5f0c Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Tue, 23 Oct 2018 19:24:05 +0200 Subject: [PATCH] Upgrade to 2.1.1 (#1316244) --- .gitignore | 4 +-- pdfgrep.spec | 71 +++++++++++++++++++++++----------------------------- sources | 2 +- 3 files changed, 33 insertions(+), 44 deletions(-) diff --git a/.gitignore b/.gitignore index fe45e45..924981a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -/pdfgrep-1.2.tar.gz -/pdfgrep-1.3.0.tar.gz -/pdfgrep-1.3.1.tar.gz +/pdfgrep-*.tar.gz diff --git a/pdfgrep.spec b/pdfgrep.spec index 1c833bb..e0c3419 100644 --- a/pdfgrep.spec +++ b/pdfgrep.spec @@ -1,64 +1,55 @@ Name: pdfgrep -Version: 1.3.1 -Release: 10%{?dist} +Version: 2.1.1 +Release: 1%{?dist} Summary: Tool to search text in PDF files -Summary(de): Suchwerkzeug für Text in PDF-Dateien Group: Applications/Text License: GPLv2+ -URL: http://pdfgrep.sourceforge.net/ -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +URL: https://pdfgrep.org/ +Source0: https://pdfgrep.org/download/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ fontconfig-devel poppler-cpp-devel +BuildRequires: gcc-c++ +BuildRequires: poppler-cpp-devel +BuildRequires: libgcrypt-devel +BuildRequires: pcre-devel +BuildRequires: asciidoc %description -Pdfgrep is a tool to search text in PDF files. It works similar to grep. - -Features: -* search for regular expressions. -* support for some important grep options, including: - * file name output. - * page number output. - * optional case insensitivity. - *count occurrences. -* and the most important feature: color output! - -%description -l de -Pdfgrep ist ein Werkzeug für die Textsuche in PDF-Dateien. -Seine Funktionsweise ähnelt der von grep. - -Funktionsmerkmale: -* Suchen nach regulären Ausdrücken. -* Unterstützung für wichtige grep-Optionen, wie: - * Ausgabe des Dateinamens. - * Ausgabe der Seitennummer. - * optionale Berücksichtigung von Groß-/Kleinschreibung. - * Zählung der Suchergebnisse. -* und vielleicht am wichtigsten: farbige Ausgabe! - +Pdfgrep is a tool, that works similar to grep, to search text in PDF files. +It tries to be compatible with GNU grep, thus many of the favorite GNU grep +options are supported. Pdfgrep can search many PDFs at once, even recursively +in directories. It supports regular expressions (POSIX and PCRE), provides +colored output and finally also support for password protected PDF files. %prep %setup -q - %build %configure -make %{?_smp_mflags} - +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' - +%make_install +%check +make -C testsuite %files -%{_bindir}/pdfgrep -%{_mandir}/man1/pdfgrep.1* - -%doc AUTHORS COPYING NEWS README +%license COPYING +%doc AUTHORS NEWS.md README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* +%dir %{_datadir}/bash-completion/ +%dir %{_datadir}/bash-completion/completions/ +%{_datadir}/bash-completion/completions/%{name} +%dir %{_datadir}/zsh/ +%dir %{_datadir}/zsh/site-functions/ +%{_datadir}/zsh/site-functions/_%{name} %changelog +* Tue Oct 23 2018 Robert Scheck - 2.1.1-1 +- Upgrade to 2.1.1 (#1316244) + * Fri Jul 13 2018 Fedora Release Engineering - 1.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 41b76ea..31761f9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -33e620a2ae3c873ca12424f900f674a3 pdfgrep-1.3.1.tar.gz +SHA512 (pdfgrep-2.1.1.tar.gz) = 8c92967e3fe28587551a9226bb3b4066fd88a6cf440bff70a06bec94c6331f3954682e50d307c40a294baa4afdf6f0469f20c72f917c83e3db7f45a59c95c615