Initial import (#690305).

This commit is contained in:
Joachim de Groot 2011-03-30 19:31:45 +02:00
parent b05fbbf727
commit 9a32a86cb6
3 changed files with 73 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/pdfgrep-1.2.tar.gz

71
pdfgrep.spec Normal file
View File

@ -0,0 +1,71 @@
Name: pdfgrep
Version: 1.2
Release: 2%{?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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fontconfig-devel poppler-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:
* 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!
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/pdfgrep
%{_mandir}/man1/pdfgrep.1*
%doc AUTHORS COPYING NEWS README
%changelog
* Sat Mar 26 2011 Joachim de Groot <jdegroot@web.de> - 1.2-2
- Added german summary and description provided by Mario Blättermann
* Wed Mar 23 2011 Joachim de Groot <jdegroot@web.de> - 1.2-1
- Initial version of the package

View File

@ -0,0 +1 @@
80dc5159e9776c99af377550da4c907d pdfgrep-1.2.tar.gz