add .cvsignore files
[idzebra-moved-to-github.git] / zebra.spec
1 Name: zebra
2 Version: 1.3.1
3 Release: 1
4 Requires: yaz expat bzip2-libs tcl
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 BuildRequires: yaz expat-devel bzip2-devel tcl
13 Summary: High-performance, structured text indexing and retrival engine.
14
15 %description
16 Zebra is a high-performance, general-purpose structured text indexing
17 and retrieval engine. It reads structured records in a variety of input
18 formats (eg. email, XML, MARC) and allows access to them through exact
19 boolean search expressions and relevance-ranked free-text queries. 
20
21 %prep
22 %setup
23
24 %build
25
26 CFLAGS="$RPM_OPT_FLAGS" \
27  ./configure --prefix=/usr --with-yazconfig=/usr/bin
28 make CFLAGS="$RPM_OPT_FLAGS"
29
30 %install
31 rm -fr $RPM_BUILD_ROOT
32 make prefix=$RPM_BUILD_ROOT/usr install
33 cd doc; make prefix=$RPM_BUILD_ROOT/usr install
34
35 %files
36 %defattr(-,root,root)
37 %doc README LICENSE.zebra CHANGELOG 
38 %config /usr/share/zebra/tab
39 /usr/bin/zebrasrv
40 /usr/bin/zebraidx
41 /usr/share/doc/zebra