60ea29a6d6815589ff8b4c9cf39203e2935d89c9
[idzebra-moved-to-github.git] / zebra.spec
1 Name: zebra
2 Version: 1.3.0
3 Release: 1
4 Requires: yaz
5 Copyright: GPL
6 Group: Applications/Databases
7 Vendor: Index Data ApS <info@indexdata.dk>
8 Source: zebra-%{version}.tar.gz
9 BuildRoot: /var/tmp/%{name}-%{version}-root
10 Packager: Adam Dickmeiss <adam@indexdata.dk>
11 URL: http://www.indexdata.dk/zebra/
12 Summary: High-performance, structured text indexing and retrival engine.
13
14 %description
15 Zebra is a high-performance, general-purpose structured text indexing
16 and retrieval engine. It reads structured records in a variety of input
17 formats (eg. email, XML, MARC) and allows access to them through exact
18 boolean search expressions and relevance-ranked free-text queries. 
19
20 %prep
21 %setup
22
23 %build
24
25 CFLAGS="$RPM_OPT_FLAGS" \
26  ./configure --prefix=/usr --with-yazconfig=/usr/bin
27 make CFLAGS="$RPM_OPT_FLAGS"
28
29 %install
30 rm -fr $RPM_BUILD_ROOT
31 make prefix=$RPM_BUILD_ROOT/usr install
32 cd doc; make prefix=$RPM_BUILD_ROOT/usr install
33
34 %files
35 %defattr(-,root,root)
36 %doc README LICENSE.zebra CHANGELOG 
37 %config /usr/share/zebra/tab
38 /usr/bin/zebrasrv
39 /usr/bin/zebraidx
40 /usr/share/doc/zebra