]> git.pld-linux.org Git - packages/Isearch.git/blob - Isearch.spec
- release 2
[packages/Isearch.git] / Isearch.spec
1 Summary:        Isearch text search engine
2 Summary(pl):    Isearch - silnik przeszukuj±cy tekst
3 Name:           Isearch
4 Version:        1.47b
5 Release:        2
6 License:        distributable
7 Group:          Applications/Text
8 Group(de):      Applikationen/Text
9 Group(fr):      Utilitaires/Texte
10 Group(pl):      Aplikacje/Tekst
11 Source0:        ftp://ftp.etymon.com/pub/Isearch/%{name}-%{version}.tar.gz
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
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} "CFLAGS=-DUNIX -fwritable-strings %{rpmcflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{/home/httpd/{cgi-bin,databases},%{_bindir}}
47
48 ./Isearch-cgi/Configure /home/httpd/databases %{_bindir}
49
50 %{__make} install \
51         INSTALL=$RPM_BUILD_ROOT%{_bindir} \
52         CGI_INSTALL=$RPM_BUILD_ROOT/home/httpd/cgi-bin
53
54 install Isearch-cgi/isrch_srch $RPM_BUILD_ROOT%{_bindir}
55 install Isearch-cgi/isrch_fetch $RPM_BUILD_ROOT%{_bindir}
56 install Isearch-cgi/isrch_html $RPM_BUILD_ROOT%{_bindir}
57 install Isearch-cgi/search_form $RPM_BUILD_ROOT%{_bindir}
58 install isearch $RPM_BUILD_ROOT/home/httpd/cgi-bin
59 install ifetch $RPM_BUILD_ROOT/home/httpd/cgi-bin
60 install ihtml $RPM_BUILD_ROOT/home/httpd/cgi-bin
61
62 gzip -9nf CHANGES COPYRIGHT README
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc CHANGES.gz COPYRIGHT.gz README.gz
70 %attr(755,root,root) %{_bindir}/Iindex
71 %attr(755,root,root) %{_bindir}/Isearch
72 %attr(755,root,root) %{_bindir}/Iutil
73 %attr(755,root,root) %{_bindir}/isrch_srch
74 %attr(755,root,root) %{_bindir}/isrch_fetch
75 %attr(755,root,root) %{_bindir}/isrch_html
76 %attr(755,root,root) %{_bindir}/search_form
77 %dir /home/httpd/databases
78 /home/httpd/cgi-bin/isearch
79 /home/httpd/cgi-bin/ifetch
80 /home/httpd/cgi-bin/ihtml
This page took 0.07075 seconds and 4 git commands to generate.