]>
Commit | Line | Data |
---|---|---|
ca86a9ba AM |
1 | Summary: estraier - a full-text search engine |
2 | Name: estraier | |
3 | Version: 1.2.13 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Applications/Text | |
7 | Source0: http://estraier.sourceforge.net/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 68c6c3b998270245492e166b0b31a6d8 | |
9 | URL: http://estraier.sourceforge.net/ | |
10 | BuildRequires: zlib-devel | |
11 | BuildRequires: kakasi-devel | |
12 | BuildRequires: chasen-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | estraier is a full-text search system for personal use. Full-text | |
17 | search means functions to search lots of documents for some documents | |
18 | including specified words. The principal purpose of Estraier is to | |
19 | realize a full-text search system of a web site. It functions | |
20 | similarly to Google, but for a personal web site or sites in an | |
21 | intranet. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %configure \ | |
28 | --libexecdir=%{_libdir}/%{name} \ | |
29 | --enable-regex \ | |
30 | --enable-chasen \ | |
31 | --enable-kakasi | |
32 | ||
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %post -p /sbin/ldconfig | |
45 | %postun -p /sbin/ldconfig | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc ChangeLog README | |
50 | %attr(755,root,root) %{_bindir}/* | |
51 | %{_datadir}/%{name} | |
52 | %dir %{_libdir}/%{name} | |
53 | %attr(755,root,root) %{_libdir}/%{name}/* |