Group: Applications/Systems
# planetlab stuff
+Requires: myplc-docs
+Requires: myplc-release
+Requires: myplc-core
+Requires: createrepo
Requires: bootmanager
Requires: bootcd-%{nodefamily}
Requires: bootcd-initscripts
-Requires: www-register-wizard
+Requires: nodeimage-%{nodefamily}
Requires: nodeconfig
Requires: nodeyum
-Requires: nodeimage-%{nodefamily}
-Requires: myplc-docs
-Requires: myplc-release
-Requires: myplc-core
-Requires: createrepo
+Requires: www-register-wizard
# starting with f16 we depend on this new rpm
%endif
-%define debug_package %{nil}
-
%description
MyPLC is a complete PlanetLab Central (PLC) portable installation.
The default installation consists of a web server, an XML-RPC API
####################### myplc-core
+# Warning: it appears that Requires should come here
+# BEFORE the %description thingy
%package core
-Summary: this package is designed for deployments that only need
-the API + db + www UI. Installing this will not require any node-oriented
-package, like bootcd, nodeiamge, or bootmanager.
-
-% description core
-The core of myplc is about its API + database + web interface
+Summary: core contents of myplc with API + db + www UI
-# as much as possible, requires should go in the subpackages specfile
+# as much as possible, requires should have gone
+# with the individual packages, but well
Requires: myplc-config
Requires: plcapi
Requires: plewww
Requires: cronie
+%description core
+The core of myplc is about its API + database + web interface.
+Installing this will not require any node-oriented
+package, like bootcd, nodeimage, or bootmanager.
+
####################### myplc-config
%package config
This package provides the Python module to configure MyPLC.
+
%prep
%setup -q
%files core
%defattr(-,root,root,-)
+/usr/lib/systemd/system/plc.service
+/usr/bin/plc-ctl
+/etc/plc.d
/etc/planetlab
/etc/plc_sliceinitscripts
/etc/support-scripts