Zebra with full functionality
[idzebra-moved-to-github.git] / zebra.spec
1 Name: zebra
2 Version: 1.2.0
3 Release: 1
4 Requires: yaz
5 Copyright: Distributable
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: Zebra: a fielded free-text engine with a Z39.50 frontend.
13
14 %description
15 Zebra is a fielded free-text indexing and retrieval engine with a Z39.50
16 frontend. You can use any compatible, commercial or freeware Z39.50 client to
17 access data stored in Zebra. Zebra may be used free-of-charge in non-profit
18 applications by non-commercial organisations. 
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/zebra/doc