Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 509479d8cee355c29f8106c7d3fb73a4 > files > 3

webgrep-2.9-2mdk.src.rpm

%define name webgrep
%define version 2.9
%define release 2mdk


Summary: Web page search utilities
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: Development/Other
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-makefile.patch.bz2
URL: http://www.linuxfocus.org/~guido/
Buildroot: %{_tmppath}/%{name}-buildroot

%description
webgrep is a set of search utilities for web-masters. This package includes
7 utilities:

srcgrep is a utility to search for the IMG/SRC-tag or the BODY/BACKGROUND-tag 
in web-pages and display the path to the referenced images in a nice readable 
way.

hrefgrep is a search utility for the <... href=...> tag.

webfgrep is a poor man's web search engine. A script (e.g perl) must still
be written to do the cgi-bin. webfgrep is good for website up to 1 Mb of 
html. A small cgi-bin called websearch comes with this package. It is written
in perl and you can adapt it to your web-site.
webfgrep is basically just an exteremly fast fgrep program that leaves out
the html tags.

blnkcheck is a program to check for broken links on the server.
This is probably the most powerful program in this toolkit.

httpcheck is a post processor for blnkcheck and is written in perl. It can
be used to check also absolute http links in web-pages.

lshtmlref is a program to build tar archives from a given list of web-pages.
It helps you to include all GIFs, text files, etc.. in the archives.

taggrep is a program to grep for html tags. E.g search for meta tags or
list the title of a number of web pages.

%prep
rm -rf $RPM_BUILD_ROOT

%setup

%patch -p1

%build
%make  CFLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT/%{_prefix} mandir=$RPM_BUILD_ROOT/%{_mandir} install

%files
%defattr (-,root,root)
%doc README cgi-bin
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Fri Aug 31 2001 Etienne Faure <etienne@mandrakesoft.com> 2.9-2mdk
- rebuild

* Wed Dec 27 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.9-1mdk
- new and shiny source.
- use our own optimizations.

* Thu Oct 19 2000 Lenny Cartier <lenny@mandrakesoft.com> 2.7-1mdk
- new in contribs
- makefile patch