$Summary = "Ivyd, an Ivy relay for short-lived applications"; $Name = "ivyd"; $Copyright = "GPL"; $Vendor = "Centre d'Etudes de la Navigation Aerienne"; $Distribution = "Ivy"; $Group = "System Environment/Daemons"; $Url = "http://www.tls.cena.fr/products/ivy"; $BuildArchitectures = "i386"; $BuildRoot = "/var/tmp/ivyd-buildroot/"; $Requires = "ivy-c"; $Description = "Ivyd is a daemon that stays connected to an Ivy bus, allowing short-lived applications to emit messages on the bus without having to wait the time to establish full Ivy connectivity. This package commes with ivyecho, a sample client for ivyd. It should (but does not yet) come with a library for developping other clients."; $Install = "rm -rf \$RPM_BUILD_ROOT cd src make PREFIX=\$RPM_BUILD_ROOT install cd .. mkdir -p \$RPM_BUILD_ROOT/etc/rc.d/init.d install -m 755 redhat/ivyd.init \$RPM_BUILD_ROOT/etc/rc.d/init.d/ivyd find \$RPM_BUILD_ROOT -type f -print | sed \"s\@^\$RPM_BUILD_ROOT\@\@g\" > $Name-\%{version}-filelist find \$RPM_BUILD_ROOT -type l -print | sed \"s\@^\$RPM_BUILD_ROOT\@\@g\" >> $Name-\%{Version}-filelist"; $Post = "/sbin/chkconfig --add ivyd"; $Preun = "/sbin/chkconfig --del ivyd";