]>
Commit | Line | Data |
---|---|---|
1 | Summary: Isearch text search engine | |
2 | Summary(pl.UTF-8): Isearch - silnik przeszukujący tekst | |
3 | Name: Isearch | |
4 | Version: 1.47b | |
5 | Release: 2 | |
6 | License: distributable | |
7 | Group: Applications/Text | |
8 | #Source0Download: http://www.etymon.com/tr.html | |
9 | Source0: http://www.etymon.com/software/Isearch/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: 70dbe58eb5d0271cf0daf60a65bfc234 | |
11 | URL: http://www.etymon.com/tr.html | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Isearch is software for indexing and searching text documents. It | |
16 | supports full text and field based search, relevance ranked results, | |
17 | Boolean queries, and heterogeneous databases. Isearch can parse many | |
18 | kinds of documents "out of the box," including HTML, mail folders, | |
19 | list digests, SGML-style tagged data, and USMARC. It can be extended | |
20 | to support other formats by creating descendant classes in C++ that | |
21 | define the document structure. It is pretty easy to customize in this | |
22 | way, provided that you know some C++ (and you will need to ftp the | |
23 | source code). A CGI interface is also included for web based | |
24 | searching. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Isearch jest oprogramowaniem do indeksowania i przeszukiwania | |
28 | dokumentów tekstowych. Obsługuje przeszukiwanie całego tekstu, na | |
29 | podstawie pól i inne, a także bazy heterogeniczne. Isearch może | |
30 | przeszukiwać wiele rodzajów dokumentów, w tym HTML, foldery pocztowe, | |
31 | przeglądy list, tekst z tagami SGML oraz USMARC. Może być rozszerzony | |
32 | aby obsługiwał inne formaty przez tworzenie klas w C++ definiujących | |
33 | strukturę dokumentu. Jest łatwy do przystosowania pod warunkiem | |
34 | znajomości C++ (potrzebny jest do tego kod źródłowy). Załączony jest | |
35 | także interfejs CGI. | |
36 | ||
37 | %prep | |
38 | %setup -q -n %{name} | |
39 | ||
40 | %build | |
41 | %configure2_13 | |
42 | %{__make} \ | |
43 | CFLAGS="-DUNIX -fwritable-strings -fno-rtti -fno-exceptions %{rpmcflags}" | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT{/home/httpd/{cgi-bin,databases},%{_bindir}} | |
48 | ||
49 | ./Isearch-cgi/Configure /home/httpd/databases %{_bindir} | |
50 | ||
51 | %{__make} install \ | |
52 | INSTALL=$RPM_BUILD_ROOT%{_bindir} \ | |
53 | CGI_INSTALL=$RPM_BUILD_ROOT/home/httpd/cgi-bin | |
54 | ||
55 | install Isearch-cgi/isrch_srch $RPM_BUILD_ROOT%{_bindir} | |
56 | install Isearch-cgi/isrch_fetch $RPM_BUILD_ROOT%{_bindir} | |
57 | install Isearch-cgi/isrch_html $RPM_BUILD_ROOT%{_bindir} | |
58 | install Isearch-cgi/search_form $RPM_BUILD_ROOT%{_bindir} | |
59 | install isearch $RPM_BUILD_ROOT/home/httpd/cgi-bin | |
60 | install ifetch $RPM_BUILD_ROOT/home/httpd/cgi-bin | |
61 | install ihtml $RPM_BUILD_ROOT/home/httpd/cgi-bin | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc CHANGES COPYRIGHT README | |
69 | %attr(755,root,root) %{_bindir}/Iindex | |
70 | %attr(755,root,root) %{_bindir}/Isearch | |
71 | %attr(755,root,root) %{_bindir}/Iutil | |
72 | %attr(755,root,root) %{_bindir}/isrch_srch | |
73 | %attr(755,root,root) %{_bindir}/isrch_fetch | |
74 | %attr(755,root,root) %{_bindir}/isrch_html | |
75 | %attr(755,root,root) %{_bindir}/search_form | |
76 | %dir /home/httpd/databases | |
77 | /home/httpd/cgi-bin/isearch | |
78 | /home/httpd/cgi-bin/ifetch | |
79 | /home/httpd/cgi-bin/ihtml |