Summary: Isearch text search engine Name: Isearch Version: 1.47b Release: 1 Copyright: distributable Group: Utilities/Text Group(fr): Utilitaires/Texte Group(pl): Narzędzia/Tekst Source0: ftp://ftp.etymon.com/pub/Isearch/%{name}-%{version}.tar.gz BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Isearch is software for indexing and searching text documents. It supports full text and field based search, relevance ranked results, Boolean queries, and heterogeneous databases. Isearch can parse many kinds of documents "out of the box," including HTML, mail folders, list digests, SGML-style tagged data, and USMARC. It can be extended to support other formats by creating descendant classes in C++ that define the document structure. It is pretty easy to customize in this way, provided that you know some C++ (and you will need to ftp the source code). A CGI interface is also included for web based searching. %prep %setup -q -n %{name} %build %configure %{__make} "CFLAGS=-DUNIX -fwritable-strings $RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/home/httpd/{cgi-bin,databases},%{_bindir}} ./Isearch-cgi/Configure /home/httpd/databases %{_bindir} %{__make} install \ INSTALL=$RPM_BUILD_ROOT%{_bindir} \ CGI_INSTALL=$RPM_BUILD_ROOT/home/httpd/cgi-bin install Isearch-cgi/isrch_srch $RPM_BUILD_ROOT%{_bindir} install Isearch-cgi/isrch_fetch $RPM_BUILD_ROOT%{_bindir} install Isearch-cgi/isrch_html $RPM_BUILD_ROOT%{_bindir} install Isearch-cgi/search_form $RPM_BUILD_ROOT%{_bindir} install isearch $RPM_BUILD_ROOT/home/httpd/cgi-bin install ifetch $RPM_BUILD_ROOT/home/httpd/cgi-bin install ihtml $RPM_BUILD_ROOT/home/httpd/cgi-bin strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/* || : gzip -9nf CHANGES COPYRIGHT README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc CHANGES.gz COPYRIGHT.gz README.gz %attr(755,root,root) %{_bindir}/Iindex %attr(755,root,root) %{_bindir}/Isearch %attr(755,root,root) %{_bindir}/Iutil %attr(755,root,root) %{_bindir}/isrch_srch %attr(755,root,root) %{_bindir}/isrch_fetch %attr(755,root,root) %{_bindir}/isrch_html %attr(755,root,root) %{_bindir}/search_form %dir /home/httpd/databases /home/httpd/cgi-bin/isearch /home/httpd/cgi-bin/ifetch /home/httpd/cgi-bin/ihtml