X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zebra.spec;h=baf4dc49f33ed328b2f4679b31c136d0407f4e47;hb=c76d814c4ebc9ec7fc962c900cb4b48ed58a4f30;hp=8b94c5abfaad299f6c4a19c9dcb56a75d274010d;hpb=11a52e9713421d9fecde42abda313dd869169f5f;p=idzebra-moved-to-github.git diff --git a/zebra.spec b/zebra.spec index 8b94c5a..baf4dc4 100644 --- a/zebra.spec +++ b/zebra.spec @@ -1,22 +1,22 @@ -Summary: Zebra - An Open Indexing Search Engine Name: zebra -Version: 1.0 +Version: 1.3.1 Release: 1 -Copyright: none -Group: Development/Libraries +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 -Requires: yaz -BuildRequires: yaz +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 many 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 @@ -24,17 +24,18 @@ 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.2 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