X-Git-Url: http://git.onelab.eu/?p=plcrt.git;a=blobdiff_plain;f=plcrt.spec;h=287f58197d7808a5d84d3d240fa262d0ececda96;hp=48ba325eda891d24944f9ffe300d89ed387af978;hb=9a6ad5734afe175b269778564ac6f9180b392473;hpb=8bc9a574108df49b32aeda43d427bec4c1de3ada diff --git a/plcrt.spec b/plcrt.spec index 48ba325..287f581 100644 --- a/plcrt.spec +++ b/plcrt.spec @@ -28,6 +28,7 @@ Group: Applications/System Requires: python Requires: perl Requires: rt3 +Requires: rt3-mailgate Requires: myplc %description @@ -35,8 +36,6 @@ PLCRT is a collection of configuration scripts for configuring RT. By default RT does not come with all the settings needed for a standard PLC, or PlanetLab in particular. - - %prep %setup -q @@ -73,9 +72,17 @@ if ! grep '' /etc/planetlab/default_config.xml ; then sed -i 's|| \n RT Configuration\n RT\n \n \n Enabled\n false\n Enable on this machine.\n \n \n Hostname\n localhost.localdomain\n The fully qualified hostname.\n \n \n IP Address\n \n The IP address of the RT server.\n \n \n \n |' /etc/planetlab/default_config.xml fi -plc-config --save /etc/planetlab/default_config.xml \ - --category plc_rt --variable enabled --value true +mkdir -p /etc/planetlab/configs +plc-config --save /etc/planetlab/configs/site.xml \ + --category plc_rt --variable enabled --value true + +mkdir -p /var/log/rt3 +touch /var/log/rt3/rt.log +chown apache.apache /var/log/rt3/rt.log %changelog +* Fri Jun 26 2009 Stephen Soltesz - PLCRT-1.0-1 +- trying to get the tag to work for new package. + * Thu Jun 26 2009 Stephen Soltesz - PLCRT-1.0-1 - initial addition.