Added structure year and date.
[idzebra-moved-to-github.git] / zebra.spec
1 Summary: Zebra - An Open Indexing Search Engine
2 Name: zebra
3 Version: 1.0pl1
4 Release: 1
5 Copyright: distributable
6 Group: Applications/Internet
7 Vendor: Index Data ApS <info@indexdata.dk>
8 Url: http://www.indexdata.dk/zebra/
9 Source: zebra-1.0pl1.tar.gz
10 BuildRoot: /var/tmp/%{name}-%{version}-root
11 Packager: Adam Dickmeiss <adam@indexdata.dk>
12
13 %description
14 The Zebra indexing tool is a generic search engine suitable for dealing
15 with Metadata and other document types. Zebra consists of an indexing
16 tool - for building an index for fast retrieval - and a search engine
17 server that offers a Z39.50 interface.
18
19 %prep
20 %setup
21
22 %build
23
24 CFLAGS="$RPM_OPT_FLAGS" \
25  ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr 
26 make CFLAGS="$RPM_OPT_FLAGS"
27
28 %install
29 rm -fr $RPM_BUILD_ROOT
30 make install
31
32 %files
33 %defattr(-,root,root)
34 %doc README LICENSE.zebra CHANGELOG
35 %config /usr/lib/zebra/tab
36 /usr/bin/zebraidx
37 /usr/bin/zebrasrv
38 %dir /usr/lib/zebra