%define name bootcd
-%define version 3.3
+%define version 3.4
%define release 2%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
-Distribution: PlanetLab 3.3
+Distribution: PlanetLab 4.0
URL: http://cvs.planet-lab.org/cvs/bootcd
Summary: Boot CD
%setup -q
%build
-pushd bootcd
+pushd BootCD
# Build the reference image
-./prep.sh
+./prep.sh %{pldistro}
# Build the default configuration (PlanetLab)
./build.sh
%install
rm -rf $RPM_BUILD_ROOT
-pushd bootcd
+pushd BootCD
# Install the reference image and build scripts
install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
build/isofs/kernel \
build/passwd \
build/version.txt \
+ bootcustom.sh \
configurations \
syslinux/unix/syslinux | \
tar -C $RPM_BUILD_ROOT/%{_datadir}/%{name}/ -xpf -