Requires: PLCAPI
Requires: bootstrapfs-%{pldistro}-%{_arch}
Requires: myplc-docs
+Requires: myplc-release
# argh - ugly - we might wish to use something from build/config.%{pldistro} instead
%if "%{pldistro}" == "onelab"
Requires: dummynet_image
%endif
-Provides: myplc
+Provides: myplc = %version-%release
%define debug_package %{nil}
%setup -q
%build
+
+%install
pushd MyPLC
rm -rf $RPM_BUILD_ROOT
./build-native.sh %{pldistro} $RPM_BUILD_ROOT
popd
-%install
-
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
# Host startup script and configuration file
-/etc/myplc-release
/etc/init.d/plc
/etc/plc.d
/etc/planetlab