$Summary = "Irbox, an Ivy driver for Irman infra-red remote controls"; $Name = "irbox"; $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/irbox-buildroot/"; $Requires = "ivy-c"; $Description = "Irbox is an Ivy driver for Irman infra-red remote controls (see http://www.evation.com/irman/ for details about the Irman product). Irbox comes with a database of the codes emitted by a number of TV, VCR and cable TV infra-red remote controls, and emits explicit textual messages on an Ivy bus every time a button is depressed. Remote controls of different types can be used concurrently, and are distinguished by Irbox."; $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/irbox.init \$RPM_BUILD_ROOT/etc/rc.d/init.d/irbox install -m 644 redhat/irbox.conf \$RPM_BUILD_ROOT/etc 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 irbox"; $Preun = "/sbin/chkconfig --del irbox";