From 11a52e9713421d9fecde42abda313dd869169f5f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 30 Nov 1999 14:14:00 +0000 Subject: [PATCH] Added RPM spec. --- zebra.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 zebra.spec diff --git a/zebra.spec b/zebra.spec new file mode 100644 index 0000000..8b94c5a --- /dev/null +++ b/zebra.spec @@ -0,0 +1,40 @@ +Summary: Zebra - An Open Indexing Search Engine +Name: zebra +Version: 1.0 +Release: 1 +Copyright: none +Group: Development/Libraries +Vendor: Index Data ApS +Url: http://www.indexdata.dk/zebra/ +Source: zebra-1.0.tar.gz +Requires: yaz +BuildRequires: yaz +BuildRoot: /var/tmp/%{name}-%{version}-root +Packager: Adam Dickmeiss + +%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. + +%prep +%setup + +%build + +CFLAGS="$RPM_OPT_FLAGS" \ + ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr +make CFLAGS="$RPM_OPT_FLAGS" + +%install +rm -fr $RPM_BUILD_ROOT +make install + +%files +%defattr(-,root,root) +%doc README LICENSE.2 CHANGELOG +%config /usr/lib/zebra/tab +/usr/bin/zebraidx +/usr/bin/zebrasrv +%dir /usr/lib/zebra -- 1.7.10.4