simple revision
[plcrt.git] / plcrt.spec
index 65dbbf8..84498e2 100644 (file)
@@ -6,13 +6,14 @@
 
 %define name plcrt
 %define version 1.0
-%define taglevel 1
+%define taglevel 0
 
 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
 
 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,15 @@ 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: 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 +50,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