X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zebra.spec;h=e083e3f518e32982802590c1fb7e235ea2539279;hb=33ca955198b19dbf989edfeda20922628d183943;hp=a3b7b8cff1ba85356a4b3ef38a7efa2a4e732e88;hpb=e5ac901438129e9164111e2eb8c21536d1cb34a9;p=idzebra-moved-to-github.git diff --git a/zebra.spec b/zebra.spec index a3b7b8c..e083e3f 100644 --- a/zebra.spec +++ b/zebra.spec @@ -1,20 +1,22 @@ -Summary: Zebra - An Open Indexing Search Engine Name: zebra -Version: 1.0 +Version: 1.3.0 Release: 1 -Copyright: distributable -Group: Applications/Internet +Requires: yaz expat bzip2-libs tcl +Copyright: GPL +Group: Applications/Databases Vendor: Index Data ApS -Url: http://www.indexdata.dk/zebra/ -Source: zebra-1.0.tar.gz +Source: zebra-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version}-root Packager: Adam Dickmeiss +URL: http://www.indexdata.dk/zebra/ +BuildRequires: yaz expat-devel bzip2-devel tcl +Summary: High-performance, structured text indexing and retrival engine. %description -The Zebra indexing tool is a generic search engine suitable for dealing -with Metadata and other document types. Zebra consists of an indexing -tool - for building an index for fast retrieval - and a search engine -server that offers a Z39.50 interface. +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 @@ -22,17 +24,18 @@ server that offers a Z39.50 interface. %build CFLAGS="$RPM_OPT_FLAGS" \ - ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr + ./configure --prefix=/usr --with-yazconfig=/usr/bin make CFLAGS="$RPM_OPT_FLAGS" %install rm -fr $RPM_BUILD_ROOT -make install +make prefix=$RPM_BUILD_ROOT/usr install +cd doc; make prefix=$RPM_BUILD_ROOT/usr install %files %defattr(-,root,root) -%doc README LICENSE.zebra CHANGELOG -%config /usr/lib/zebra/tab -/usr/bin/zebraidx +%doc README LICENSE.zebra CHANGELOG +%config /usr/share/zebra/tab /usr/bin/zebrasrv -%dir /usr/lib/zebra +/usr/bin/zebraidx +/usr/share/doc/zebra