From e5ac901438129e9164111e2eb8c21536d1cb34a9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sat, 11 Dec 1999 21:39:35 +0000 Subject: [PATCH] Minor updates for RPM. --- Makefile.in | 12 +++++++++--- zebra.spec | 8 +++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Makefile.in b/Makefile.in index 0af549e..46b10eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,6 @@ # Copyright (C) 1994-1999, Index Data # All rights reserved. -# Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile.in,v 1.9 1999-12-01 19:11:42 adam Exp $ +# $Id: Makefile.in,v 1.10 1999-12-11 21:39:35 adam Exp $ SHELL=/bin/sh MAKE=make @@ -39,6 +38,7 @@ INCDIR=$(prefix)/include # Misc tables, etc. ZEBRADIR=$(prefix)/lib/@PROGPREFIX@ ZEBRATAB=$(prefix)/lib/@PROGPREFIX@/tab +ZEBRADOC=$(prefix)/lib/@PROGPREFIX@/doc SUBDIR=@SUBDIR@ @@ -63,7 +63,7 @@ cleandepend: if sed '/^#Depend/q' Makefile.tmp; then \ mv -f Makefile.tmp Makefile; fi; rm -f .depend); done -install: +install: all $(INSTALL) -d $(BUILD)$(BINDIR) $(INSTALL_PROGRAM) bin/@PROGPREFIX@idx $(BUILD)$(BINDIR) $(INSTALL_PROGRAM) bin/@PROGPREFIX@srv $(BUILD)$(BINDIR) @@ -73,6 +73,12 @@ install: $(INSTALL_DATA) $$f $(BUILD)$(ZEBRATAB); \ fi; \ done + $(INSTALL) -d $(BUILD)$(ZEBRADOC) + @cd doc; for f in *; do \ + if [ -f $$f ]; then \ + $(INSTALL_DATA) $$f $(BUILD)$(ZEBRADOC); \ + fi; \ + done wc: wc `find . -name '*.[ch]'` diff --git a/zebra.spec b/zebra.spec index 494cd8f..a3b7b8c 100644 --- a/zebra.spec +++ b/zebra.spec @@ -2,13 +2,11 @@ Summary: Zebra - An Open Indexing Search Engine Name: zebra Version: 1.0 Release: 1 -Copyright: commercial -Group: Development/Libraries +Copyright: distributable +Group: Applications/Internet 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 @@ -33,7 +31,7 @@ make install %files %defattr(-,root,root) -%doc README LICENSE.2 CHANGELOG +%doc README LICENSE.zebra CHANGELOG %config /usr/lib/zebra/tab /usr/bin/zebraidx /usr/bin/zebrasrv -- 1.7.10.4