Switching to my new code, it seems to work on all my tests
[idzebra-moved-to-github.git] / idzebra.spec.in
1 Name: idzebra
2 Version: @VERSION@
3 Release: 1
4 Requires: libyaz expat bzip2-libs tcl
5 Copyright: GPL
6 Group: Applications/Databases
7 Vendor: Index Data ApS <info@indexdata.dk>
8 Source: idzebra-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root
10 Packager: Adam Dickmeiss <adam@indexdata.dk>
11 URL: http://www.indexdata.dk/zebra/
12 BuildRequires: libyaz-devel 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 mandir=${RPM_BUILD_ROOT}/usr/share/man install
33
34 %clean
35 rm -fr ${RPM_BUILD_ROOT}
36
37 %files
38 %defattr(-,root,root)
39 %doc README LICENSE.zebra NEWS
40 %config /usr/share/idzebra/tab
41 /usr/bin/*
42 /usr/include/*
43 /usr/share/doc/idzebra
44 /usr/share/man/*/*