Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
3484931cda |
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/pdfgrep-1.2.tar.gz
|
71
pdfgrep.spec
Normal file
71
pdfgrep.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user