]>
Commit | Line | Data |
---|---|---|
001263a6 ER |
1 | # TODO: |
2 | # - --with-sysqdbm | |
3 | # | |
4 | # Conditional build: | |
5 | %bcond_without chasen # build without chasen, Japanese Morphological Analysis System. | |
6 | %bcond_without kakasi # build without kakasi, kanji kana simple inverter | |
7 | # | |
ca86a9ba | 8 | Summary: estraier - a full-text search engine |
a29c25d2 | 9 | Summary(pl.UTF-8): estraier - silnik przeszukiwania pełnotekstowego |
ca86a9ba | 10 | Name: estraier |
462341d8 | 11 | Version: 1.2.29 |
12 | Release: 0.2 | |
ca86a9ba AM |
13 | License: GPL |
14 | Group: Applications/Text | |
15 | Source0: http://estraier.sourceforge.net/%{name}-%{version}.tar.gz | |
462341d8 | 16 | # Source0-md5: 50577e59b949c25499d78ab0eb1c1d0e |
ca86a9ba | 17 | URL: http://estraier.sourceforge.net/ |
001263a6 ER |
18 | %{?with_chasen:BuildRequires: chasen-devel} |
19 | %{?with_kakasi:BuildRequires: kakasi-devel} | |
b74ce57f | 20 | BuildRequires: zlib-devel |
ca86a9ba AM |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | estraier is a full-text search system for personal use. Full-text | |
25 | search means functions to search lots of documents for some documents | |
26 | including specified words. The principal purpose of Estraier is to | |
27 | realize a full-text search system of a web site. It functions | |
28 | similarly to Google, but for a personal web site or sites in an | |
29 | intranet. | |
30 | ||
4d894d9f JR |
31 | %description -l pl.UTF-8 |
32 | estraier to system przeszukiwania pełnotekstowego do użytku | |
33 | własnego. Przeszukiwanie pełnotekstowe oznacza funkcje do szukania w | |
34 | dużej liczbie dokumentów pewnych dokumentów zawierających określone | |
35 | słowa. Zasadniczym celem Straiera jest realizacja systemu | |
36 | przeszukiwania pełnotekstowego dla serwisu WWW. Działa podobnie do | |
37 | Google, ale dla własnej strony lub w intranecie. | |
b74ce57f | 38 | |
ca86a9ba AM |
39 | %prep |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %configure \ | |
44 | --libexecdir=%{_libdir}/%{name} \ | |
45 | --enable-regex \ | |
001263a6 ER |
46 | %{?with_chasen:--enable-chasen} \ |
47 | %{?with_kakasi:--enable-kakasi} \ | |
48 | --enable-dlfilter \ | |
ca86a9ba AM |
49 | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
001263a6 ER |
58 | install estfind $RPM_BUILD_ROOT%{_bindir} |
59 | ||
ca86a9ba AM |
60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post -p /sbin/ldconfig | |
64 | %postun -p /sbin/ldconfig | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc ChangeLog README | |
69 | %attr(755,root,root) %{_bindir}/* | |
70 | %{_datadir}/%{name} | |
71 | %dir %{_libdir}/%{name} | |
72 | %attr(755,root,root) %{_libdir}/%{name}/* |