1 Summary: Isearch text search engine
5 Copyright: distributable
7 Group(fr): Utilitaires/Texte
8 Group(pl): Narzêdzia/Tekst
9 Source0: ftp://ftp.etymon.com/pub/Isearch/%{name}-%{version}.tar.gz
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Isearch is software for indexing and searching text documents. It
14 supports full text and field based search, relevance ranked results,
15 Boolean queries, and heterogeneous databases. Isearch can parse many
16 kinds of documents "out of the box," including HTML, mail folders,
17 list digests, SGML-style tagged data, and USMARC. It can be extended
18 to support other formats by creating descendant classes in C++ that
19 define the document structure. It is pretty easy to customize in this
20 way, provided that you know some C++ (and you will need to ftp the
21 source code). A CGI interface is also included for web based
29 %{__make} "CFLAGS=-DUNIX -fwritable-strings $RPM_OPT_FLAGS"
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{/home/httpd/{cgi-bin,databases},%{_bindir}}
35 ./Isearch-cgi/Configure /home/httpd/databases %{_bindir}
38 INSTALL=$RPM_BUILD_ROOT%{_bindir} \
39 CGI_INSTALL=$RPM_BUILD_ROOT/home/httpd/cgi-bin
41 install Isearch-cgi/isrch_srch $RPM_BUILD_ROOT%{_bindir}
42 install Isearch-cgi/isrch_fetch $RPM_BUILD_ROOT%{_bindir}
43 install Isearch-cgi/isrch_html $RPM_BUILD_ROOT%{_bindir}
44 install Isearch-cgi/search_form $RPM_BUILD_ROOT%{_bindir}
45 install isearch $RPM_BUILD_ROOT/home/httpd/cgi-bin
46 install ifetch $RPM_BUILD_ROOT/home/httpd/cgi-bin
47 install ihtml $RPM_BUILD_ROOT/home/httpd/cgi-bin
49 strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/* || :
51 gzip -9nf CHANGES COPYRIGHT README
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc CHANGES.gz COPYRIGHT.gz README.gz
59 %attr(755,root,root) %{_bindir}/Iindex
60 %attr(755,root,root) %{_bindir}/Isearch
61 %attr(755,root,root) %{_bindir}/Iutil
62 %attr(755,root,root) %{_bindir}/isrch_srch
63 %attr(755,root,root) %{_bindir}/isrch_fetch
64 %attr(755,root,root) %{_bindir}/isrch_html
65 %attr(755,root,root) %{_bindir}/search_form
66 %dir /home/httpd/databases
67 /home/httpd/cgi-bin/isearch
68 /home/httpd/cgi-bin/ifetch
69 /home/httpd/cgi-bin/ihtml