]>
Commit | Line | Data |
---|---|---|
15de5e66 JR |
1 | Summary: Isearch text search engine |
2 | Name: Isearch | |
3 | Version: 1.47b | |
4 | Release: 1 | |
5 | Copyright: distributable | |
971b6cf9 JB |
6 | Group: Applications/Text |
7 | Group(de): Applikationen/Text | |
15de5e66 | 8 | Group(fr): Utilitaires/Texte |
971b6cf9 | 9 | Group(pl): Aplikacje/Tekst |
15de5e66 JR |
10 | Source0: ftp://ftp.etymon.com/pub/Isearch/%{name}-%{version}.tar.gz |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | Isearch is software for indexing and searching text documents. It | |
15 | supports full text and field based search, relevance ranked results, | |
16 | Boolean queries, and heterogeneous databases. Isearch can parse many | |
17 | kinds of documents "out of the box," including HTML, mail folders, | |
18 | list digests, SGML-style tagged data, and USMARC. It can be extended | |
19 | to support other formats by creating descendant classes in C++ that | |
20 | define the document structure. It is pretty easy to customize in this | |
21 | way, provided that you know some C++ (and you will need to ftp the | |
22 | source code). A CGI interface is also included for web based | |
23 | searching. | |
24 | ||
25 | %prep | |
26 | %setup -q -n %{name} | |
27 | ||
28 | %build | |
29 | %configure | |
971b6cf9 | 30 | %{__make} "CFLAGS=-DUNIX -fwritable-strings %{rpmcflags}" |
15de5e66 JR |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT{/home/httpd/{cgi-bin,databases},%{_bindir}} | |
35 | ||
36 | ./Isearch-cgi/Configure /home/httpd/databases %{_bindir} | |
37 | ||
38 | %{__make} install \ | |
39 | INSTALL=$RPM_BUILD_ROOT%{_bindir} \ | |
40 | CGI_INSTALL=$RPM_BUILD_ROOT/home/httpd/cgi-bin | |
41 | ||
42 | install Isearch-cgi/isrch_srch $RPM_BUILD_ROOT%{_bindir} | |
43 | install Isearch-cgi/isrch_fetch $RPM_BUILD_ROOT%{_bindir} | |
44 | install Isearch-cgi/isrch_html $RPM_BUILD_ROOT%{_bindir} | |
45 | install Isearch-cgi/search_form $RPM_BUILD_ROOT%{_bindir} | |
46 | install isearch $RPM_BUILD_ROOT/home/httpd/cgi-bin | |
47 | install ifetch $RPM_BUILD_ROOT/home/httpd/cgi-bin | |
48 | install ihtml $RPM_BUILD_ROOT/home/httpd/cgi-bin | |
49 | ||
15de5e66 JR |
50 | gzip -9nf CHANGES COPYRIGHT README |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc CHANGES.gz COPYRIGHT.gz README.gz | |
58 | %attr(755,root,root) %{_bindir}/Iindex | |
59 | %attr(755,root,root) %{_bindir}/Isearch | |
60 | %attr(755,root,root) %{_bindir}/Iutil | |
61 | %attr(755,root,root) %{_bindir}/isrch_srch | |
62 | %attr(755,root,root) %{_bindir}/isrch_fetch | |
63 | %attr(755,root,root) %{_bindir}/isrch_html | |
64 | %attr(755,root,root) %{_bindir}/search_form | |
65 | %dir /home/httpd/databases | |
66 | /home/httpd/cgi-bin/isearch | |
67 | /home/httpd/cgi-bin/ifetch | |
68 | /home/httpd/cgi-bin/ihtml |