Minor updates for RPM.
authorAdam Dickmeiss <adam@indexdata.dk>
Sat, 11 Dec 1999 21:39:35 +0000 (21:39 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sat, 11 Dec 1999 21:39:35 +0000 (21:39 +0000)
Makefile.in
zebra.spec

index 0af549e..46b10eb 100644 (file)
@@ -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 >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]'`
index 494cd8f..a3b7b8c 100644 (file)
@@ -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 <info@indexdata.dk>
 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 <adam@indexdata.dk>
 
@@ -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