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