Summary: Search in pdf files for strings matching a regular expression Name: pdfgrep Version: 1.4.1 Release: 2.1 License: GPL-2.0+ Group: Productivity/Text/Utilities #URL: http://pdfgrep.sourceforge.net/ URL: https://pdfgrep.org/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: libpoppler-cpp0 BuildRequires: libpoppler-devel %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: + filename output. + page number output. + optional case insensitivity. + count occurrences. %prep %setup -q %build %configure CXXFLAGS="%{optflags}" %{__make} %install %{__make} install DESTDIR="%{buildroot}" %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README.asciidoc %{_bindir}/%{name} %doc %{_mandir}/man1/%{name}.1.gz %{_datadir}/bash-completion %{_datadir}/zsh %changelog * Sat Aug 16 2014 dnh@opensuse.org - 1.3.1 - updated to 1.3.1 [2014-08-10] - INCOMPATIBLE CHANGE: -r doesn't follow symlinks - A zsh completion module - Support for password-protected PDFs - Allow to omit '.' with -r to search current directory - Add -p or --page-count to count matches per page (by Jascha Knack) - Add -m or --max-count to limit matches per file (by Thibault Marin) * Tue Mar 26 2013 David Haller - 1.3.0 - Update to 1.3.0 - Experimental support for libunac (removing accents and ligatures before search) - Recursive search [--recursive] (by Mahmut Gundes) - Don't use colors on dumb terminals - A few minor bug fixes - Use poppler-cpp instead of the poppler core library (by Pino Toscano) * Sat Apr 2 2011 David Haller - 1.2 - Update to version 1.2 - remove dependency on package "licenses" * Thu Sep 30 2010 David Haller - 1.1 - Initial package.