Add Zthes example
[idzebra-moved-to-github.git] / zebra.spec
index a225fe0..8348615 100644 (file)
@@ -1,21 +1,22 @@
-Name: zebra
-Version: 1.2.0
+Name: idzebra
+Version: 1.3.3
 Release: 1
-Requires: yaz
-Copyright: Distributable
+Requires: yaz expat bzip2-libs tcl
+Copyright: GPL
 Group: Applications/Databases
 Vendor: Index Data ApS <info@indexdata.dk>
-Source: zebra-%{version}.tar.gz
+Source: idzebra-%{version}.tar.gz
 BuildRoot: /var/tmp/%{name}-%{version}-root
 Packager: Adam Dickmeiss <adam@indexdata.dk>
 URL: http://www.indexdata.dk/zebra/
-Summary: Zebra: a fielded free-text engine with a Z39.50 frontend.
+BuildRequires: yaz expat-devel bzip2-devel tcl
+Summary: High-performance, structured text indexing and retrival engine.
 
 %description
-Zebra is a fielded free-text indexing and retrieval engine with a Z39.50
-front-end. You can use any compatible, commercial or freeware Z39.50 client to
-access data stored in Zebra. Zebra may be used free-of-charge in non-profit
-applications by non-commercial organisations. 
+Zebra is a high-performance, general-purpose structured text indexing
+and retrieval engine. It reads structured records in a variety of input
+formats (eg. email, XML, MARC) and allows access to them through exact
+boolean search expressions and relevance-ranked free-text queries. 
 
 %prep
 %setup
@@ -27,14 +28,16 @@ CFLAGS="$RPM_OPT_FLAGS" \
 make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
-rm -fr $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr install
-cd doc; make prefix=$RPM_BUILD_ROOT/usr install
+rm -fr ${RPM_BUILD_ROOT}
+make prefix=${RPM_BUILD_ROOT}/usr mandir=${RPM_BUILD_ROOT}/usr/share/man install
+
+%clean
+rm -fr ${RPM_BUILD_ROOT}
 
 %files
 %defattr(-,root,root)
 %doc README LICENSE.zebra CHANGELOG 
-%config /usr/share/zebra/tab
-/usr/bin/zebrasrv
-/usr/bin/zebraidx
-/usr/share/doc/zebra
+%config /usr/share/idzebra/tab
+/usr/bin/*
+/usr/share/doc/idzebra
+/usr/share/man/*/*