10 Provides : openslp libslp.so slpd
11 Summary : OpenSLP implementation of Service Location Protocol V2
12 Copyright : Caldera Systems (LGPL)
13 Packager : Matthew Peterson <mpeterson@calderasystems.com>
14 URL : http://www.openslp.org/
15 BuildRoot : /tmp/%{name}-%{ver}
16 Source0 : ftp://openslp.org/pub/openslp/%{name}-%{ver}/%{name}-%{ver}.tar.gz
20 Service Location Protocol is an IETF standards track protocol that
21 provides a framework to allow networking applications to discover the
22 existence, location, and configuration of networked services in
25 OpenSLP is an open source implementation of the SLPv2 protocol as defined
26 by RFC 2608 and RFC 2614. This package include the daemon, libraries, header
27 files and documentation
33 #./configure --with-RPM-prefix=$RPM_BUILD_ROOT
35 ./configure --prefix=$RPM_BUILD_ROOT
42 mkdir -p $DESTDIR/etc/rc.d/init.d
43 install -m 755 etc/slpd.all_init $DESTDIR/etc/rc.d/init.d/slpd
46 rm -rf $RPM_BUILD_ROOT
49 rm -f /usr/lib/libslp.so
50 ln -s /usr/lib/libslp.so.%{libver} /usr/lib/libslp.so
53 if [ -d '/usr/lib/OpenLinux' ]; then
54 cat <<EOD > /etc/sysconfig/daemons/slpd
56 DESCRIPTIVE="SLP Service Agent"
61 if [ -x /sbin/chkconfig ]; then
65 ln -sf /etc/rc.d/init.d/slpd /etc/rc.d/rc$i.d/S13slpd
68 ln -sf /etc/rc.d/init.d/slpd /etc/rc.d/rc$i.d/K87slpd
73 rm -f /etc/sysconfig/daemons/slpd
74 if [ "$1" = "0" ]; then
75 if [ -x /sbin/chkconfig ]; then
76 /sbin/chkconfig --del slpd
79 rm -f /etc/rc.d/rc$i.d/S13slpd
82 rm -f /etc/rc.d/rc$i.d/K87slpd
88 if [ "$1" = "0" ]; then
89 rm -f /usr/lib/libslp.so
96 %doc AUTHORS COPYING INSTALL NEWS README doc/*
106 * Wed Jul 17 2000 mpeterson@calderasystems.com
109 * Thu Jul 7 2000 david.mccormack@ottawa.com
110 Made it work with the new autoconf/automake scripts.
112 * Wed Apr 27 2000 mpeterson