Upgrade to 2.1.1 (#1316244)

This commit is contained in:
Robert Scheck 2018-10-23 19:24:05 +02:00
parent 4f4a4aee41
commit 341e36d0f0
3 changed files with 33 additions and 44 deletions

4
.gitignore vendored
View File

@ -1,3 +1 @@
/pdfgrep-1.2.tar.gz
/pdfgrep-1.3.0.tar.gz
/pdfgrep-1.3.1.tar.gz
/pdfgrep-*.tar.gz

View File

@ -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 <robert@fedoraproject.org> - 2.1.1-1
- Upgrade to 2.1.1 (#1316244)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
33e620a2ae3c873ca12424f900f674a3 pdfgrep-1.3.1.tar.gz
SHA512 (pdfgrep-2.1.1.tar.gz) = 8c92967e3fe28587551a9226bb3b4066fd88a6cf440bff70a06bec94c6331f3954682e50d307c40a294baa4afdf6f0469f20c72f917c83e3db7f45a59c95c615