]> git.pld-linux.org Git - packages/Isearch.git/blame - Isearch.spec
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
[packages/Isearch.git] / Isearch.spec
CommitLineData
15de5e66
JR
1Summary: Isearch text search engine
2Name: Isearch
3Version: 1.47b
4Release: 1
5Copyright: distributable
971b6cf9
JB
6Group: Applications/Text
7Group(de): Applikationen/Text
15de5e66 8Group(fr): Utilitaires/Texte
971b6cf9 9Group(pl): Aplikacje/Tekst
15de5e66
JR
10Source0: ftp://ftp.etymon.com/pub/Isearch/%{name}-%{version}.tar.gz
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14Isearch is software for indexing and searching text documents. It
15supports full text and field based search, relevance ranked results,
16Boolean queries, and heterogeneous databases. Isearch can parse many
17kinds of documents "out of the box," including HTML, mail folders,
18list digests, SGML-style tagged data, and USMARC. It can be extended
19to support other formats by creating descendant classes in C++ that
20define the document structure. It is pretty easy to customize in this
21way, provided that you know some C++ (and you will need to ftp the
22source code). A CGI interface is also included for web based
23searching.
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
33rm -rf $RPM_BUILD_ROOT
34install -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
42install Isearch-cgi/isrch_srch $RPM_BUILD_ROOT%{_bindir}
43install Isearch-cgi/isrch_fetch $RPM_BUILD_ROOT%{_bindir}
44install Isearch-cgi/isrch_html $RPM_BUILD_ROOT%{_bindir}
45install Isearch-cgi/search_form $RPM_BUILD_ROOT%{_bindir}
46install isearch $RPM_BUILD_ROOT/home/httpd/cgi-bin
47install ifetch $RPM_BUILD_ROOT/home/httpd/cgi-bin
48install ihtml $RPM_BUILD_ROOT/home/httpd/cgi-bin
49
15de5e66
JR
50gzip -9nf CHANGES COPYRIGHT README
51
52%clean
53rm -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
This page took 0.051109 seconds and 4 git commands to generate.