X-Git-Url: http://git.onelab.eu/?p=plcrt.git;a=blobdiff_plain;f=plcrt.spec;h=0308dae32feffb1d2c3bac48f3adb2a5f9faa765;hp=65dbbf84bf6e92752826ac37b37d2883b87f5a48;hb=73e5df77584685b14bc698f1fa7593eb7d6cdd68;hpb=27c2ea9bbeb04156550fdf5138010d625306dc87 diff --git a/plcrt.spec b/plcrt.spec index 65dbbf8..0308dae 100644 --- a/plcrt.spec +++ b/plcrt.spec @@ -13,6 +13,7 @@ Name: %{name} Version: %{version} Release: %{release} +Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot @@ -24,21 +25,16 @@ URL: %(echo %{url} | cut -d ' ' -f 2) Summary: PLCRT account initialization for the root image. Group: Applications/System - -%description -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. - -%package -Summary: PLCRT Setup scripts for RT3 -Group: Applications/System - Requires: python Requires: perl Requires: rt3 +Requires: rt3-mailgate Requires: myplc +%description +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 @@ -55,14 +51,13 @@ echo " * Installing cron scripts" install -D -m 644 rt.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/rt.cron chmod 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}/adduserstort.pl -chmod 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}/rtcron.d/*.sh +chmod 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}/cron.d/*.sh %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%config /etc/rt3/RT_SiteConfig.pm #%config /etc/plcrt.conf %{_datadir}/%{name} %{_sysconfdir}/plc.d/plcrt @@ -77,9 +72,13 @@ 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 %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.