2 # $Id: dlife.spec.in,v 1.3 2002/04/05 17:07:25 rich Exp $
4 Summary: Distributed Artificial Life (DLIFE)
9 Group: Applications/Internet
10 Source: @PACKAGE@-@VERSION@.tar.gz
11 BuildRoot: /var/tmp/%{name}-%{version}-root
12 Requires: perl-libwww-perl
13 Requires: perl >= 5.004
19 Distributed Artificial Life is a package for joining your
20 computer to a network of computers running a large artificial
25 Summary: Distributed Artificial Life (DLIFE) server
26 Group: Applications/Internet
30 This package contains the server code for DLIFE.
40 --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
46 rm -rf $RPM_BUILD_ROOT
47 mkdir -p $RPM_BUILD_ROOT
48 make NO_CHOWN=1 DESTDIR=$RPM_BUILD_ROOT install
52 rm -rf $RPM_BUILD_ROOT
56 grep '^dlife:' /etc/group >/dev/null || {
57 echo "There is no 'dlife' group in /etc/group"
60 grep '^dlife:' /etc/passwd >/dev/null || {
61 echo "There is no 'dlife' user in /etc/passwd"
67 grep '^dlife:' /etc/group >/dev/null || {
68 echo "There is no 'dlife' group in /etc/group"
71 grep '^dlife:' /etc/passwd >/dev/null || {
72 echo "There is no 'dlife' user in /etc/passwd"
79 %doc /usr/share/doc/@PACKAGE@-@VERSION@/
80 @prefix@/bin/dlife_soup
81 @prefix@/bin/dlife_client.pl
82 %attr(0775,dlife,dlife) @SPOOLDIR@/
84 %config @CRONDIR@/dlife_client.cron
90 @prefix@/bin/dlife_server.pl
91 %attr(0775,dlife,dlife) @SPOOLDIR@/store/