]> git.pld-linux.org Git - packages/Isearch.git/blob - Isearch.spec
- compile with -fno-rtti -fno-exceptions.
[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 Source0:        ftp://ftp.etymon.com/pub/Isearch/%{name}-%{version}.tar.gz
9 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10
11 %description
12 Isearch is software for indexing and searching text documents. It
13 supports full text and field based search, relevance ranked results,
14 Boolean queries, and heterogeneous databases. Isearch can parse many
15 kinds of documents "out of the box," including HTML, mail folders,
16 list digests, SGML-style tagged data, and USMARC. It can be extended
17 to support other formats by creating descendant classes in C++ that
18 define the document structure. It is pretty easy to customize in this
19 way, provided that you know some C++ (and you will need to ftp the
20 source code). A CGI interface is also included for web based
21 searching.
22
23 %description -l pl
24 Isearch jest oprogramowaniem do indeksowania i przeszukiwania
25 dokumentów tekstowych. Obs³uguje przeszukiwanie ca³ego tekstu, na
26 podstawie pól i inne, a tak¿e bazy heterogeniczne. Isearch mo¿e
27 przeszukiwaæ wiele rodzajów dokumentów, w tym HTML, foldery pocztowe,
28 przegl±dy list, tekst z tagami SGML oraz USMARC. Mo¿e byæ rozszerzony
29 aby obs³ugiwa³ inne formaty przez tworzenie klas w C++ definiuj±cych
30 strukturê dokumentu. Jest ³atwy do przystosowania pod warunkiem
31 znajomo¶ci C++ (potrzebny jest do tego kod ¼ród³owy). Za³±czony jest
32 tak¿e interfejs CGI.
33
34 %prep
35 %setup -q -n %{name}
36
37 %build
38 %configure2_13
39 %{__make} \
40         CFLAGS="-DUNIX -fwritable-strings -fno-rtti -fno-exceptions %{rpmcflags}"
41
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{/home/httpd/{cgi-bin,databases},%{_bindir}}
46
47 ./Isearch-cgi/Configure /home/httpd/databases %{_bindir}
48
49 %{__make} install \
50         INSTALL=$RPM_BUILD_ROOT%{_bindir} \
51         CGI_INSTALL=$RPM_BUILD_ROOT/home/httpd/cgi-bin
52
53 install Isearch-cgi/isrch_srch $RPM_BUILD_ROOT%{_bindir}
54 install Isearch-cgi/isrch_fetch $RPM_BUILD_ROOT%{_bindir}
55 install Isearch-cgi/isrch_html $RPM_BUILD_ROOT%{_bindir}
56 install Isearch-cgi/search_form $RPM_BUILD_ROOT%{_bindir}
57 install isearch $RPM_BUILD_ROOT/home/httpd/cgi-bin
58 install ifetch $RPM_BUILD_ROOT/home/httpd/cgi-bin
59 install ihtml $RPM_BUILD_ROOT/home/httpd/cgi-bin
60
61 gzip -9nf CHANGES COPYRIGHT README
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc CHANGES.gz COPYRIGHT.gz README.gz
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
This page took 0.088697 seconds and 4 git commands to generate.