]> git.pld-linux.org Git - packages/estraier.git/blob - estraier.spec
- up to 1.2.29
[packages/estraier.git] / estraier.spec
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 #
8 Summary:        estraier - a full-text search engine
9 Summary(pl.UTF-8):      estraier - silnik przeszukiwania pełnotekstowego
10 Name:           estraier
11 Version:        1.2.29
12 Release:        0.2
13 License:        GPL
14 Group:          Applications/Text
15 Source0:        http://estraier.sourceforge.net/%{name}-%{version}.tar.gz
16 # Source0-md5:  50577e59b949c25499d78ab0eb1c1d0e
17 URL:            http://estraier.sourceforge.net/
18 %{?with_chasen:BuildRequires:   chasen-devel}
19 %{?with_kakasi:BuildRequires:   kakasi-devel}
20 BuildRequires:  zlib-devel
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
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.
38
39 %prep
40 %setup -q
41
42 %build
43 %configure \
44         --libexecdir=%{_libdir}/%{name} \
45         --enable-regex \
46         %{?with_chasen:--enable-chasen} \
47         %{?with_kakasi:--enable-kakasi} \
48         --enable-dlfilter \
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 install estfind $RPM_BUILD_ROOT%{_bindir}
59
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}/*
This page took 0.055251 seconds and 3 git commands to generate.