X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zebra.spec;h=8348615d9e07c9e66178ab9ad6e59e0ca76a9226;hb=d8ba36b7da24857c593393ef680c3983070e1124;hp=9d20cf335555d42469fe6dc6a424d6ff9a12f838;hpb=70bca9ad928352b5374817fa5360c803cbb477ae;p=idzebra-moved-to-github.git diff --git a/zebra.spec b/zebra.spec index 9d20cf3..8348615 100644 --- a/zebra.spec +++ b/zebra.spec @@ -1,20 +1,22 @@ -Summary: Zebra - An Open Indexing Search Engine -Name: zebra -Version: 1.0pl1 +Name: idzebra +Version: 1.3.3 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.0pl1.tar.gz +Source: idzebra-%{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,20 @@ 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 +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/lib/zebra/tab -/usr/bin/zebraidx -/usr/bin/zebrasrv -%dir /usr/lib/zebra +%doc README LICENSE.zebra CHANGELOG +%config /usr/share/idzebra/tab +/usr/bin/* +/usr/share/doc/idzebra +/usr/share/man/*/*